Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minikube install kubesphere error bad gateway 502 #6069

Open
Shuimo03 opened this issue Mar 22, 2024 · 0 comments
Open

minikube install kubesphere error bad gateway 502 #6069

Shuimo03 opened this issue Mar 22, 2024 · 0 comments

Comments

@Shuimo03
Copy link

OS

WSL and ubuntu 22.04

k8s version

Client Version: v1.29.2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.28.3

Error

all pod running:

k get pod -n kubesphere-system
NAME READY STATUS RESTARTS AGE
ks-apiserver-8649bb95cb-qwnfl 1/1 Running 0 2m19s
ks-console-fc779cfb8-jw4mk 1/1 Running 0 2m19s
ks-controller-manager-84b984768c-s9972 1/1 Running 0 2m19s
ks-installer-776b8cd4b9-6t7xh 1/1 Running 0 2m19s

I can access the console, but I get a back-end service error.
image

logs:

Dashboard app running at port 8000
  <-- GET / 2024/03/22T02:31:06.766
UnauthorizedError: Not Login
    at Object.throw (/opt/kubesphere/console/server/server.js:19643:11)
    at getCurrentUser (/opt/kubesphere/console/server/server.js:5445:14)
    at renderView (/opt/kubesphere/console/server/server.js:69322:7)
    at dispatch (/opt/kubesphere/console/server/server.js:3121:32)
    at next (/opt/kubesphere/console/server/server.js:3122:18)
    at /opt/kubesphere/console/server/server.js:37200:16
    at dispatch (/opt/kubesphere/console/server/server.js:3121:32)
    at next (/opt/kubesphere/console/server/server.js:3122:18)
    at /opt/kubesphere/console/server/server.js:45215:37
    at dispatch (/opt/kubesphere/console/server/server.js:3121:32)
  --> GET / 302 25ms 43b 2024/03/22T02:31:06.790
  <-- GET /login 2024/03/22T02:31:06.796
{ code: 502, statusText: 'Bad Gateway', message: '' }
{ code: 502, statusText: 'Bad Gateway', message: '' }
  --> GET /login 200 987ms 15.68kb 2024/03/22T02:31:07.783
  <-- POST /login 2024/03/22T02:31:11.888
{ code: 502, statusText: 'Bad Gateway', message: '' }
  --> POST /login 200 955ms 97b 2024/03/22T02:31:12.843
  <-- POST /login 2024/03/22T02:31:39.128
{ code: 502, statusText: 'Bad Gateway', message: '' }
  --> POST /login 200 952ms 97b 2024/03/22T02:31:40.080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant