error username system admin is invalid for basic auth - verify you have provided the correct host and port and that the server is currently running

0 votes

Hi Guys,

I am trying to login to the Minishift cluster. But it is showing me the below error.

$ oc login -u system:admin
error: username system:admin is invalid for basic auth - verify you have provided the correct host and port and that the server is currently running. error: username system:admin is invalid for basic auth

How can I solve this error?

Aug 18, 2020 in DevOps Tools by akhtar
• 38,230 points
2,309 views

1 answer to this question.

0 votes

Hi@akhtar,

Instead of login with the system: admin, you can use the admin account. For that, you have to run the below steps.

$ minishift addon apply admin-user
$ oc login -u admin
Authentication required for https://192.168.99.114:8443 (openshift)
Username: admin
Password:
Login successful.
answered Aug 18, 2020 by MD
• 95,440 points
1 flag

Related Questions In DevOps Tools

0 votes
1 answer

Error saying "client and server don't have same version (client : 1.19, server: 1.18)"

As of docker-compose 1.4 you can now ...READ MORE

answered Jul 19, 2018 in DevOps Tools by Kalgi
• 2,680 points
1,633 views
0 votes
1 answer
0 votes
1 answer

How do I run “ant update” in Hybris with only “Update Running System”?

Here is what you can try. You can ...READ MORE

answered Jul 10, 2018 in DevOps Tools by Atul
• 10,240 points
6,850 views
+1 vote
1 answer
0 votes
3 answers

Error while joining cluster with node

Hi Kalgi after following above steps it ...READ MORE

answered Jan 17, 2019 in Others by anonymous
14,616 views
+4 votes
1 answer

Installing Web UI (Dashboard):kubernetes-dashboard on main Ubuntu 16.04.6 LTS (Xenial Xerus) server

Follow these steps: $ kubeadm reset $ kubeadm init ...READ MORE

answered Apr 12, 2019 in Kubernetes by Kalgi
• 52,360 points

reshown Apr 12, 2019 by Kalgi 6,107 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP