How to work with HTTP proxies in Openshift Container Platform

Solution Unverified - Updated -

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

Environment

  • Openshift Container Platform

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.