Build fails with error "unable to upgrade connection: Unauthorized"
Issue
oc start-build
fails with below error :
Error from server (InternalError): Internal error occurred: unable to upgrade connection: Unauthorized
- Attempt to get logs from pods gives below error:
error: You must be logged in to the server (the server has asked for the client to provide credentials ( pods/log machine-config-daemon-xxxx))
Environment
- Red Hat OpenShift Container Platform
- 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.