The 'oc logs' command return 'net/http: TLS handshake timeout' on Red Hat Openshift Container Platform 4

Solution In Progress - Updated -


The oc logs command is not working and returns the below error:

Error from server: Get "https://<node-IP>:10250/containerLogs/<namespace>/<pod-name>/<container>": net/http: TLS handshake timeout

Where the node-IP is the node hosting the container requested the logs from, the namespace is the namespace the pod is present, the pod-name is the name of the pod the container is present and the container is the actual container.


Red Hat Openshift Container Platform (RHOCP) 4

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