docker-compose up的时候报错Fail to initialize the connection pool, host: graphd, port: 9669

尝试使用docker-compose的方式进行启动,遇到报错 ‘Fail to initialize the connection pool, host: graphd, port: 9669, failed to open connection, error: failed to open transport, error: dial tcp 172.19.0.8:9669: connect: connection refused’ 然后就卡在这里了

  • nebula 版本:3.6.0
  • 部署方式:单机
  • 安装方式:Docker
  • 是否上生产环境:N

[+] Building 0.0s (0/0)                                                                                                                                                                    docker:default
[+] Running 10/0
 ✔ Container nebula-docker-compose-metad2-1     Created                                                                                                                                              0.0s
 ✔ Container nebula-docker-compose-metad1-1     Created                                                                                                                                              0.0s
 ✔ Container nebula-docker-compose-metad0-1     Created                                                                                                                                              0.0s
 ✔ Container nebula-docker-compose-storaged2-1  Created                                                                                                                                              0.0s
 ✔ Container nebula-docker-compose-storaged0-1  Created                                                                                                                                              0.0s
 ✔ Container nebula-docker-compose-storaged1-1  Created                                                                                                                                              0.0s
 ✔ Container nebula-docker-compose-graphd1-1    Created                                                                                                                                              0.0s
 ✔ Container nebula-docker-compose-graphd-1     Created                                                                                                                                              0.0s
 ✔ Container nebula-docker-compose-console-1    Created                                                                                                                                              0.0s
 ✔ Container nebula-docker-compose-graphd2-1    Created                                                                                                                                              0.0s
Attaching to nebula-docker-compose-console-1, nebula-docker-compose-graphd-1, nebula-docker-compose-graphd1-1, nebula-docker-compose-graphd2-1, nebula-docker-compose-metad0-1, nebula-docker-compose-metad1-1, nebula-docker-compose-metad2-1, nebula-docker-compose-storaged0-1, nebula-docker-compose-storaged1-1, nebula-docker-compose-storaged2-1
nebula-docker-compose-console-1    | 2024/04/03 01:38:11 Fail to initialize the connection pool, host: graphd, port: 9669, failed to open connection, error: failed to open transport, error: dial tcp 172.19.0.8:9669: connect: connection refused
nebula-docker-compose-console-1    | panic: Fail to initialize the connection pool, host: graphd, port: 9669, failed to open connection, error: failed to open transport, error: dial tcp 172.19.0.8:9669: connect: connection refused
nebula-docker-compose-console-1    |
nebula-docker-compose-console-1    | goroutine 1 [running]:
nebula-docker-compose-console-1    | log.Panicf(0xc0001840c0, 0xbb, 0x0, 0x0, 0x0)
nebula-docker-compose-console-1    |    /usr/local/go/src/log/log.go:345 +0xc0
nebula-docker-compose-console-1    | main.main()
nebula-docker-compose-console-1    |    /usr/src/main.go:532 +0xb0b
nebula-docker-compose-console-1    | retry to add hosts.

docker 部署的流程是按照文档来的么?

我也遇到同样的问题,不清楚是怎么回事。
ErrBadRequest::failed to open connection, error: failed to open transport, error: dial tcp 192.168.20.25:9669: i/o timeout

是做什么操作报这个错误的。

我也是,docker启动镜像就报这个错

看看 9669 端口号是不是被占了。

此话题已在最后回复的 30 天后被自动关闭。不再允许新回复。