Skip to content

[Bug] gremlin python client got server 499  #1956

@jiamo

Description

@jiamo

Bug Type (问题类型)

other exception / error (其他异常报错)

Before submit

  • 我已经确认现有的 IssuesFAQ 中没有相同 / 重复问题

Environment (环境信息)

{"versions":{"version":"v1","core":"0.12.0.0","gremlin":"3.4.3","api":"0.67.0.0"}}

Expected & Actual behavior (期望与实际表现)

using

from gremlin_python.process.anonymous_traversal import traversal
from gremlin_python.driver.driver_remote_connection import DriverRemoteConnection
g = traversal().withRemote(DriverRemoteConnection('ws://localhost:8182/gremlin','g'))
g.V().toList()

go such message:

Received error message '{'requestId': 'd54700b9-dab1-4009-bde1-cab119ad1ef4', 'status': {'code': 499, 'message': 'The traversal source [g] for alias [g] is not configured on the server.', 'attributes': {}}, 'result': {'meta': {}, 'data': None}}'

change to g = traversal().withRemote(DriverRemoteConnection('ws://localhost:8182/gremlin','hugegraph')) is not ok too.

the normal tool

./bin/hugegraph --url http://127.0.0.1:8080 --graph hugegraph gremlin-execute --script "g.V().toList()"

is ok

Vertex/Edge example (问题点 / 边数据举例)

No response

Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    inactivequestionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions