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

NebulaGraph Console SSL Connection #5877

Open
vealfan opened this issue May 10, 2024 · 0 comments
Open

NebulaGraph Console SSL Connection #5877

vealfan opened this issue May 10, 2024 · 0 comments

Comments

@vealfan
Copy link

vealfan commented May 10, 2024

我们是容器化部署环境!!!

在nebula的三个服务开启了SSL加密通信,并且nebula的端口都是正常监听状态,但是在使用NebulaGraph Console客户端连接的时候,客户端连接超时。
报错日志:
2024/05/10 22:03:58 Fail to initialize the connection pool, host: 127.0.0.1, port: 26740, failed to open connection, error: failed to open transport, error: dial tcp 127.0.0.1:26740: connect: connection timed out
panic: Fail to initialize the connection pool, host: 127.0.0.1, port: 26740, failed to open connection, error: failed to open transport, error: dial tcp 127.0.0.1:26740: connect: connection timed out

goroutine 1 [running]:
log.Panicf({0xc00019a000?, 0x3e?}, {0x0?, 0x3?, 0x3?})
/opt/hostedtoolcache/go/1.18.10/x64/src/log/log.go:392 +0x67
main.main()
/home/runner/work/nebula-console/nebula-console/main.go:534 +0x698

real 2m8.728s
user 0m0.002s
sys 0m0.004s

我测试使用的证书生成方式是:https://github.com/vesoft-inc/nebula-go/tree/master/nebula-docker-compose/secrets

我们nebula的SSL配置如下:
image

客户端连接命令如下:
./nebula-console -addr 127.0.0.1 -port 26740 -u root -p nebula -enable_ssl -ssl_root_ca_path /home/root.crt -ssl_cert_path /home/client.crt -ssl_private_key_path /home/client.key

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