Build fails with error "Tunnel or SSL Forbidden" on Openshift Container Platform 3

Solution Verified - Updated -

Issue

When executing the command

oc start-build <name>

It throws the following error:

Pushing image docker-registry.default.svc:5000/eap-s2i/eap-s2i:latest ...
Registry server Address:
Registry server User Name: serviceaccount
Registry server Email: serviceaccount@example.org
Registry server Password: <<non-empty>>
error: build error: Failed to push image: Get https://docker-registry.default.svc:5000/v1/_ping: Tunnel or SSL Forbidden
error: the build eap-s2i/eap-s2i-4 status is "Failed"

Environment

  • Red Hat Openshift Container Platform
    • 3.X

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content