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

请问docker方式部署如下报错可能原因是什么:| error | 认证模块初始化失败 #512

Open
zouchengfang opened this issue Mar 27, 2024 · 2 comments

Comments

@zouchengfang
Copy link

[LOG] 2024/03/27 - 14:24:23.257 | /login.AddLoginRoutes 28 | error | 认证模块初始化失败:Get "http://127.0.0.1:5556/sso/.well-known/openid-configuration": dial tcp 127.0.0.1:5556: connect: connection refused
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x48 pc=0xd74bd7]
goroutine 1 [running]:
github.com/coreos/go-oidc.(*Provider).Verifier(...)
/usr/src/kuboard/third-party/go-oidc/verify.go:111
github.com/shaohq/kuboard/server/login.AddLoginRoutes(0xc000583a00)
/usr/src/kuboard/server/login/login.go:30 +0xf7
main.getRoutes()
/usr/src/kuboard/server/kuboard-server.go:193 +0x345
main.main()
/usr/src/kuboard/server/kuboard-server.go:65 +0x185
启动 kuboard-server 失败,此问题通常是因为 Etcd 未能及时启动或者连接不上,系统将在 15 秒后重新尝试:

  1. 如果您使用 docker run 的方式运行 Kuboard,请耐心等候一会儿或者执行 docker restart kuboard;
  2. 如果您将 Kuboard 安装在 Kubernetes 中,请检查 kuboard/kuboard-etcd 是否正常启动
@DJL1109
Copy link

DJL1109 commented Apr 27, 2024

我也遇到了,不知道怎么处理

@DJL1109
Copy link

DJL1109 commented Apr 27, 2024

进入kuboard 容器里面手动执行etcd & 命令启动etcd服务就可以,然后kuboard才能正常访问

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

2 participants