learnk8s/k8bit

Unauthorized Error When Accessing k8bit dashboard

Closed this issue · 1 comments

Environment :
AWS EKS
kubectl Installed on Windows Linux Subsystem(Ubuntu).

Steps :
1.) Clone the repository.
2.) Ran kubectl proxy --www=. inside k8sbit directory

Response.
Black Screen showed up on 127.0.0.1:8001/static and by inspecting response is like below

{kind: "Status", apiVersion: "v1", metadata: {}, status: "Failure", message: "Unauthorized",…}
apiVersion: "v1"
code: 401
kind: "Status"
message: "Unauthorized"
metadata: {}
reason: "Unauthorized"
status: "Failure"

It works when i pass --address.
kubectl proxy --address="0.0.0.0" --www=.