netmaker 启动后无法访问

2023-03-21 18:09:21 +08:00
 sirz
使用 netmaker 的 v0.6.1 版本,按照官方文档配置启动后,无法访问 dashboard.xxx ,traefik 中日志内容为:

`
level=error msg="the router netmaker-api@docker uses a non-existent resolver: http"
level=error msg="the router netmaker-ui@docker uses a non-existent resolver: http"
`
有大佬知道这是什么问题吗,git 的 issue 中也有人提到了这个问题,但是没有回复


开启 debug 日志后,有如下日志
`
http: TLS handshake error from 172.25.0.1:41418: local error: tls: bad record MAC
`
994 次点击
所在节点    程序员
4 条回复
sirz
2023-03-21 18:22:59 +08:00
netmaker 连接 broker 超时

__ __ ______ ______ __ __ ______ __ __ ______ ______
/\ "-.\ \ /\ ___\ /\__ _\ /\ "-./ \ /\ __ \ /\ \/ / /\ ___\ /\ == \
\ \ \-. \ \ \ __\ \/_/\ \/ \ \ \-./\ \ \ \ __ \ \ \ _"-. \ \ __\ \ \ __<
\ \_\\"\_\ \ \_____\ \ \_\ \ \_\ \ \_\ \ \_\ \_\ \ \_\ \_\ \ \_____\ \ \_\ \_\
\/_/ \/_/ \/_____/ \/_/ \/_/ \/_/ \/_/\/_/ \/_/\/_/ \/_____/ \/_/ /_/


[netmaker] 2023-03-21 10:21:10 connecting to postgres
[netmaker] 2023-03-21 10:21:10 database successfully connected
[netmaker] 2023-03-21 10:21:10 no OAuth provider found or not configured, continuing without OAuth
[netmaker] 2023-03-21 10:21:10 MQ Is Already Configured, Skipping...
[netmaker] 2023-03-21 10:21:11 REST Server successfully started on port 8081 (REST)
[netmaker] 2023-03-21 10:21:11 connecting to mq broker at mq:1883 with TLS? false
[netmaker] Fatal: Admin: could not connect to broker, token timeout, exiting ...
1423
2023-03-21 18:25:54 +08:00
我也搞过,他的文档不太及时,好多地方自己要改
我记得 Dockerfile 那一套是最新的,自己安装部署可以抄 Dockerfile 那一套配置
举例来说,连接有用到 wss ,但文档写的可能是 ws
sirz
2023-03-21 18:30:41 +08:00
@1423 用的就是 dockerfile 那一套
sirz
2023-05-12 14:49:52 +08:00
补充下:是 80 端口没有备案导致的自动证书失败,备案即正常

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/925930

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX