Cannot access pod logs when using proxy setting

Solution Verified - Updated -

Issue

  • Oc logs results in below error when using proxy settings :
 oc logs <pod-name>
Error from server: Get https://node.example.com:10250/containerLogs/<name-space>/<pod-name>/demo: Service Unavailable
  • Unable to login to with oc.exe via an authenticated proxy
  • Oc exec or oc logs not working when using proxy

Environment

  • Openshift Enterprise
    • 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