alibaba / GraphScope

🔨 🍇 💻 🚀 GraphScope: A One-Stop Large-Scale Graph Computing System from Alibaba | 一站式图计算系统
https://graphscope.io
Apache License 2.0
3.32k stars 448 forks source link

[BUG] 尝试gremlin时,连接失败 #3684

Closed KONEONE closed 8 months ago

KONEONE commented 8 months ago

Describe the bug 我在尝试gitub上的案例对论文分类。但是进行如下操作:

interactive = graphscope.gremlin(graph)   

就发生错误:


_InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
        status = StatusCode.ABORTED
        details = "Create interactive instance failed: $Gremlin check query failed: Cannot connect to host 
127.0.0.1:8239 ssl:default [Connect call failed ('127.0.0.1', 8239)]. The traceback is: Traceback (most recent call
last):
  File 
"/*********/graph_env/lib/python3.9/site-packages/gscoordinator/servicer/graphsco
pe_one/service.py", line 414, in CreateInteractiveInstance
    if check_server_ready(gremlin_endpoint, server="gremlin"):
  File "/********/graph_env/lib/python3.9/site-packages/gscoordinator/utils.py",
line 2113, in check_server_ready
    raise TimeoutError(
TimeoutError: Gremlin check query failed: Cannot connect to host 127.0.0.1:8239 ssl:default [Connect call failed 
('127.0.0.1', 8239)]
"
        debug_error_string = "UNKNOWN:Error received from peer ipv4:127.0.0.1:44688 
{created_time:"2024-03-29T16:53:18.21686+08:00", grpc_status:10, grpc_message:"Create interactive instance failed: 
$Gremlin check query failed: Cannot connect to host 127.0.0.1:8239 ssl:default [Connect call failed (\'127.0.0.1\',
8239)]. The traceback is: Traceback (most recent call last):\n  File 
\"/********/graph_env/lib/python3.9/site-packages/gscoordinator/servicer/graphsc
ope_one/service.py\", line 414, in CreateInteractiveInstance\n    if check_server_ready(gremlin_endpoint, 
server=\"gremlin\"):\n  File 
\"/*******/graph_env/lib/python3.9/site-packages/gscoordinator/utils.py\", line
2113, in check_server_ready\n    raise TimeoutError(\nTimeoutError: Gremlin check query failed: Cannot connect to 
host 127.0.0.1:8239 ssl:default [Connect call failed (\'127.0.0.1\', 8239)]\n"}"

=

Environment (please complete the following information):

我曾经在0.21.0版本运行过该代码,没有报错。但是在0.26.0报错

welcome[bot] commented 8 months ago

Thanks for opening your first issue here! Be sure to follow the issue template! And a maintainer will get back to you shortly! Please feel free to contact us on DingTalk, WeChat account(graphscope) or Slack. We are happy to answer your questions responsively.

KONEONE commented 8 months ago

这个问题已经解决: 原因:安装了JDK8版本,环境不兼容 解决办法:切换JDK11版本