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

graphd exit when insert in the console #4335

Closed
AI-Friend opened this issue Jun 21, 2022 · 7 comments
Closed

graphd exit when insert in the console #4335

AI-Friend opened this issue Jun 21, 2022 · 7 comments
Labels
invalid Solution: this issue is invalid and will be closed

Comments

@AI-Friend
Copy link

nebula graph 版本3.1.0
console 版本3.0.0

insert 一条官方例子的数据,console马上 not connected, 仔细看,每次都是因为graphd exit了
是因为连了studio吗,关键studio 也没有配置用户名密码,也登录不上

感谢回复!

@wey-gu
Copy link
Contributor

wey-gu commented Jun 22, 2022

可能是 graphd crash 了,能去看看 graphd 的 log 么?是不是硬盘满了啥的?

@AI-Friend
Copy link
Author

AI-Friend commented Jun 22, 2022

好像是配置studio的问题,请问studio的host:port 怎么配置才能登录呀,
没有设置过用户名和密码,所以就写了ip:9669, root, 123 登录,结果就是 Request Error: 504 Gateway Timeout
请问studio 服务的端口是不是要和 graphd的端口保持一致呢?
image

@Sophie-Xie Sophie-Xie changed the title 单节点,console里每次执行insert 后graphd就停止了 graphd exit when insert in the console Jun 22, 2022
@Sophie-Xie
Copy link
Contributor

好像是配置studio的问题,请问studio的host:port 怎么配置才能登录呀, 没有设置过用户名和密码,所以就写了ip:9669, root, 123 登录,结果就是 Request Error: 504 Gateway Timeout 请问studio 服务的端口是不是要和 graphd的端口保持一致呢? image

https://docs.nebula-graph.com.cn/3.1.0/nebula-studio/deploy-connect/st-ug-connect/

If insert by console, it shouldn't be problem of studio.

@wey-gu
Copy link
Contributor

wey-gu commented Jun 22, 2022

所以就写了ip:9669, root, 123 登录

需要这个 ip 是 GraphD 的 IP,而且,studio 的后端服务进程可以访问这个 ip

@wey-gu
Copy link
Contributor

wey-gu commented Jun 22, 2022

而且如 @Sophie-Xie 回答,这个问题本身和 studio 没有关系哈。

@AI-Friend
Copy link
Author

@wey-gu
是的,感谢,console问题解决了,是因为console的端口问题,
现在studio问题是使用真实graphd ip:9669 登录studio,结果是 Request Error: 504 Gateway Timeout,这个需要,额外配置studio配置文件吗,比如改端口之类的,我使用的虚拟机,虚拟机和我本机都可以ping 通

感谢!

@wey-gu
Copy link
Contributor

wey-gu commented Jun 22, 2022

这个其实是网络问题哈,你的 studio 的后端程序充当了前端访问 graphd 的一个 gateway,所以,你暴露、配置的 graphd 的网络 ip 也需要让 studio 后端可以访问,比如在一个机器上,肯定可以,如果不在,你就需要 graphd 配置一个外部可以访达的地址。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid Solution: this issue is invalid and will be closed
Projects
None yet
Development

No branches or pull requests

4 participants