1

我正在尝试使用 Gremlin API 在 Cosmos DB 中创建一个图形。

我更新了 remote-secure.yaml 文件,但由于某种原因,gremlin 控制台一直给我同样的错误消息:

gremlin> :remote connect tinkerpop.server conf/remote-secure.yaml log4j:WARN No appenders could be found for logger (io.netty.util.internal.logging.InternalLoggerFactory). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. ==>Configured graphtestcosmos.gremlin.cosmos.azure.com/104.45.16.183:443 gremlin>

当我尝试与图表交互时,我得到以下信息:

gremlin> g.V() org.apache.tinkerpop.gremlin.jsr223.console.RemoteException Type ':help' or ':h' for help. Display stack trace? [yN] 在尝试添加顶点时:

gremlin> g.addV('person').property('firstName', 'Thomas').property('lastName', 'Andersen').property('age', 44).property('userid', 1) Host did not respond in a timely fashion - check the server status and submit again. Type ':help' or ':h' for help. Display stack trace? [yN] gremlin>

这是什么意思,我该如何解决?

4

0 回答 0