oc login command fails with " Error EOF " in RHOCP 3.11

Solution Verified - Updated -

Issue

  • oc login command fails with below error:

    $ oc login --loglevel=10
    I1006 17:00:30.081685   70794 loader.go:359] Config loaded from file /home/.kube/config
    I1006 17:00:30.082965   70794 loader.go:359] Config loaded from file /home/.kube/config
    I1006 17:00:30.083247   70794 round_trippers.go:418] curl -k -v -XHEAD  'https://x.x.x.x:8443/'
    I1006 17:00:30.085292   70794 round_trippers.go:438] HEAD https://x.x.x.x:8443/  in 2 milliseconds
    I1006 17:00:30.085348   70794 round_trippers.go:444] Response Headers:
    F1006 17:00:30.085468   70794 helpers.go:119] error: EOF
    

Environment

  • RedHat OpenShift Container Platform 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