Error while proxying request: context canceled #1004
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
What happened:
Deployed Kubernetes on bare-metal Ubuntu server 20.04 using microk8s and after deploying a test app, and installing and configuring dashboard add-on it seemed that all pods was deploying fine. Then I tried to connect to dashboard from outside. I can see the normal dashboard in some rare cases (second picture), but it then quickly switch to erroneous state (first picture) and returns 500 Internal Server Error.
What you expected to happen:
I expected to see dashboard alive and doesn't return 500 error.
How to reproduce it (as minimally and precisely as possible):
I use the following command to run the proxy on the master node:
kubectl proxy --address='0.0.0.0' --accept-hosts='^*$'
then login to dashboard using this address:
http://<master-node-ip>:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/#/login
More Details:
Some part of the
kubectl proxy
log:Environment:
The text was updated successfully, but these errors were encountered: