How to work with HTTP proxies in Openshift Container Platform 3.x
Issue
-
Unable to see logs with
oc logs
, I get 500 error; -
When deploying docker registry below error is seen in the logs:
[server.go:569] Event(api.ObjectReference{Kind:"Pod", Namespace:"default", Name:"docker-registry-1-deploy", UID:"a9abfaf6-2077-11e5-854a-005056af7d43", APIVersion:"v1", ResourceVersion:"363", FieldPath:""}): reason: 'failedSync' Error syncing pod, skipping: Get https://index.docker.io/v1/repositories/openshift3/ose-pod/images: http: error connecting to proxy https://10.10.10.10:3128: dial tcp 10.10.10.10:3128: connection timed out [builder.go:204] Error: build error: Failed to push image: Error: Status 504 trying to push repository metadata/sandbox
-
How do I configure OpenShift 3 to work behind a proxy;
-
Proxy issue when deploying docker registry on OpenShift;
-
While accessing the logs below error is seen:
Tunnel or SSL Forbidden
-
While building, the builder pod logs shows errors like
GatewayTimeout: 504 Proxy Timeout (The connection timed out.)
Environment
- Red Hat OpenShift Container Platform (OCP) 3.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.