kube-ops-view icon indicating copy to clipboard operation
kube-ops-view copied to clipboard

401 Unauthorized with Docker for Mac

Open afkham opened this issue 5 years ago • 1 comments

Running the following command

docker run -it -p 8080:8080 -e CLUSTERS=http://docker.for.mac.localhost:8001 hjacobs/kube-ops-view

will give this error:

ERROR:kube_ops_view.update:Failed to query cluster docker-for-mac-localhost:8001 (http://docker.for.mac.localhost:8001): 401 Unauthorized (try 1, wait 5 seconds)
ERROR:kube_ops_view.update:Failed to query cluster docker-for-mac-localhost:8001 (http://docker.for.mac.localhost:8001): 401 Unauthorized (try 2, wait 10 seconds)
ERROR:kube_ops_view.update:Failed to query cluster docker-for-mac-localhost:8001 (http://docker.for.mac.localhost:8001): 401 Unauthorized (try 3, wait 17 seconds)
ERROR:kube_ops_view.update:Failed to query cluster docker-for-mac-localhost:8001 (http://docker.for.mac.localhost:8001): 401 Unauthorized (try 4, wait 33 seconds)

afkham avatar Mar 07 '19 09:03 afkham

There is info how to deal with it in readme.

tomislater avatar May 31 '19 14:05 tomislater