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

nebula-console can't connect to nebula cluster #5334

Closed
tgy3300 opened this issue Feb 12, 2023 · 7 comments
Closed

nebula-console can't connect to nebula cluster #5334

tgy3300 opened this issue Feb 12, 2023 · 7 comments
Labels
type/question Type: question about the product

Comments

@tgy3300
Copy link

tgy3300 commented Feb 12, 2023

集群信息
机器名 ip
a 192.168.1.204
b 192.168.1.205
c 192.168.1.206
三个节点,都安装了graphd,storaged,metad
三个节点的配置文件都修改了
--meta_server_addrs=机器1ip:9559,机器2ip:9559,机器3ip:9559
--local_ip=本机ip
三台服务器的 graphd,storaged,metad 三个进程,也能正常启动

进行,./nebula-console -addr 192.168.1.204 -port 9669 -u root -p root,就报如下错误,报错后,三个节点的graphd进程就会挂掉,

三节个节点之间都能相互ping通,相关的 9559,9669,9779防火墙也放行了,还是不行,错误信息如下:

2023/02/12 10:20:22 Fail to initialize the connection pool, host: 192.168.1.204, port: 9669, failed to open connection, error: failed to open transport, error: dial tcp 192.168.1.204:9669: connect: connection refused
panic: Fail to initialize the connection pool, host: 192.168.1.204, port: 9669, failed to open connection, error: failed to open transport, error: dial tcp 192.168.1.204:9669: connect: connection refused

goroutine 1 [running]:
log.Panicf(0xc0000da000, 0xc5, 0x0, 0x0, 0x0)
/opt/hostedtoolcache/go/1.16.4/x64/src/log/log.go:361 +0xc5
main.main()
/home/runner/work/nebula-console/nebula-console/main.go:532 +0xb10

@tgy3300 tgy3300 added the type/bug Type: something is unexpected label Feb 12, 2023
@github-actions github-actions bot added affects/none PR/issue: this bug affects none version. severity/none Severity of bug labels Feb 12, 2023
@Sophie-Xie Sophie-Xie changed the title 集群后,nebula-console启动不了,这该如何排查问题, nebula-console can't connect to nebula cluster Feb 13, 2023
@QingZ11
Copy link
Contributor

QingZ11 commented Feb 13, 2023

部署方式是啥?Docker?

@tgy3300
Copy link
Author

tgy3300 commented Feb 13, 2023

linux
直接部署

@tgy3300
Copy link
Author

tgy3300 commented Feb 15, 2023

没人遇到吗,官方的来个人指导下

@wey-gu
Copy link
Contributor

wey-gu commented Feb 15, 2023

refused 就是 graphd 没在 listen 或者防火墙没在放行,你提到的三个服务正常启动,用 scripts 里的 nebula.service 看 status 状态是好的么?如果不好重新启动一下,如果还不好看下日志是什么错误

@tgy3300
Copy link
Author

tgy3300 commented Feb 15, 2023

9559,9669,9779是放行这三个端口吗,

@wey-gu
Copy link
Contributor

wey-gu commented Feb 15, 2023

https://docs.nebula-graph.com.cn/3.4.0/20.appendix/0.FAQ/#_14

文档里有提及哈:

关于连接¶

防火墙中需要开放哪些端口?¶

如果没有修改过配置文件 中预设的端口,请在防火墙中开放如下端口:

服务类型 端口
Meta 9559, 9560, 19559
Graph 9669, 19669
Storage 9777 ~ 9780, 19779
如果修改过配置文件中预设的端口,请找出实际使用的端口并在防火墙中开放它们。

@Sophie-Xie Sophie-Xie added type/question Type: question about the product and removed type/bug Type: something is unexpected severity/none Severity of bug affects/none PR/issue: this bug affects none version. labels Feb 23, 2023
@QingZ11
Copy link
Contributor

QingZ11 commented Mar 30, 2023

这个 issue 超过一个月没有更新内容了,这边先行关闭了。如果你有任何更新的内容,可以再打开这个 issue 哈。

谢谢你的反馈 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/question Type: question about the product
Projects
None yet
Development

No branches or pull requests

4 participants