shangrilaxie commented on issue #1911: URL: https://github.com/apache/incubator-hugegraph/issues/1911#issuecomment-1173688357
环境:windows11 WSL2-ubutun 版本:hugegraph 0.11.2 多图配置 根据Tinkerpop文档来配置gremlin console访问 启用用户验证与授权的server。不知hugegraph是否有相关文档说明(console访问hugegraph server,原有文档说不能同时通过console和http方式访问:事实上配置WsAndHttpChannel协议时可以的。) 问题:Authenticator is not ready to handle requests 操作过程: ~/hg11.2/hugegraph-0.11.2$ bin/start-hugegraph.sh Starting HugeGraphServer... Connecting to HugeGraphServer (http://0.0.0.0:8080/graphs)........OK Started [pid 2359] ~/hg11.2/hugegraph-0.11.2$ bin/gremlin-console.sh \,,,/ (o o) -----oOOo-(3)-oOOo----- plugin activated: HugeGraph plugin activated: tinkerpop.server plugin activated: tinkerpop.utilities plugin activated: tinkerpop.tinkergraph gremlin> gremlin> :remote connect tinkerpop.server conf/remote-secure.yaml ==>Configured localhost/127.0.0.1:8182 gremlin> gremlin> :remote console ==>All scripts will now be sent to Gremlin Server - [localhost/127.0.0.1:8182] - type ':remote console' to return to local mode gremlin> hugegraph **Authenticator is not ready to handle requests** Type ':help' or ':h' for help. Display stack trace? [yN] gremlin> hugegraph.traversal().V() Authenticator is not ready to handle requests Type ':help' or ':h' for help. Display stack trace? [yN] gremlin> 查看后台server消息: 2022-07-04 17:46:15 283707 [gremlin-server-worker-1] [ERROR] org.apache.tinkerpop.gremlin.server.handler.SaslAuthenticationHandler [] - StandardAuthenticator is not ready to handle requests - check it's configuration or related services 是不是后台有啥特别的配置吗? 另外:curl访问时可以的。 C:\>curl -u admin:cirroadmin http://localhost:8080/graphs/hugegraph/schema/propertykeys {"propertykeys": [{"id":6,"name":"weight","data_type":"FLOAT","cardinality":"SINGLE","aggregate_type":"NONE","properties":[],"status":"CREATED","user_data":{"~create_time":"2022-06-28 11:59:45.228"}},{"id":3,"name":"addr","data_type":"TEXT","cardinality":"SINGLE","aggregate_type":"NONE","properties":[],"status":"CREATED","user_data":{"~create_time":"2022-06-28 11:59:45.224"}},{"id":2,"name":"age","data_type":"INT","cardinality":"SINGLE","aggregate_type":"NONE","properties":[],"status":"CREATED","user_data":{"~create_time":"2022-06-28 11:59:45.223"}},{"id":5,"name":"tag","data_type":"TEXT","cardinality":"SINGLE","aggregate_type":"NONE","properties":[],"status":"CREATED","user_data":{"~create_time":"2022-06-28 11:59:45.226"}},{"id":4,"name":"lang","data_type":"TEXT","cardinality":"SINGLE","aggregate_type":"NONE","properties":[],"status":"CREATED","user_data":{"~create_time":"2022-06-28 11:59:45.225"}},{"id":1,"name":"name","data_type":"TEXT","cardinality":"SINGLE","aggregate_type":" NONE","properties":[],"status":"CREATED","user_data":{"~create_time":"2022-06-28 11:59:45.218"}}]} C:\> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
