evilADevil / mas-local

A few files to quickly bring up a MAS Manage instance on OCP Local
Eclipse Public License 2.0
20 stars 8 forks source link

when running masinst.bat, got "error: You must be logged in to the server (Unauthorized)" #1

Closed toroto260 closed 1 year ago

toroto260 commented 1 year ago

Problem: Sometime, when testing in a new CRC env in windows OS. When running masinst.bat, I got "error: You must be logged in to the server (Unauthorized)" as below:

image

Solution: Before running masinst.bat, please make sure you have login the cluster as below: oc.exe login -u kubeadmin -p (your password) https://api.crc.testing:6443