Build fails with error "Tunnel or SSL Forbidden" on Openshift Container Platform 3
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.