gremlin console connect to gremlin server #3667
Replies: 1 comment 1 reply
-
i am using lattest version of janusgraph 0.6.3 when i start my gremlin server (janusgraph-server.sh start) it shows ? why ? sabari@sabari-Inspiron-5570:~/Desktop/Final_project/janusgraph-0.6.3/bin$ ./janusgraph-server.sh start in older version not happenbut server is running :remote console i configured backend cassandra , lucene then i checked the connection is done or not ? graph |
Beta Was this translation helpful? Give feedback.
-
gremlin> :remote connect tinkerpop.server conf/remote.yaml
13:38:49 ERROR org.apache.tinkerpop.gremlin.driver.Client - Could not initialize client for Host{address=localhost/127.0.0.1:8182, hostUri=ws://localhost:8182/gremlin}
13:38:49 ERROR org.apache.tinkerpop.gremlin.driver.Client - Initialization failed
java.util.concurrent.CompletionException: Could not initialize 2 (minPoolSize) connections in pool. Successful connections=0. Closing the connection pool.
at org.apache.tinkerpop.gremlin.driver.ConnectionPool.(ConnectionPool.java:164)
at org.apache.tinkerpop.gremlin.driver.ConnectionPool.(ConnectionPool.java:103)
at org.apache.tinkerpop.gremlin.driver.ConnectionPool.(ConnectionPool.java:98)
at org.apache.tinkerpop.gremlin.driver.Client$ClusteredClient.lambda$new$5(Client.java:584)
at org.apache.tinkerpop.gremlin.driver.Client$ClusteredClient.lambda$initializeImplementation$0(Client.java:534)
at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1640)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
Caused by: org.apache.tinkerpop.gremlin.driver.exception.ConnectionException: Could not open Connection{channel=null host=Host{address=localhost/127.0.0.1:8182, hostUri=ws://localhost:8182/gremlin} isDead=false borrowed=0 pending=0 markedReplaced=false closing=false created=2023-03-18T08:08:49.357Z thread=gremlin-driver-conn-scheduler-1}
at org.apache.tinkerpop.gremlin.driver.Connection.(Connection.java:142)
at org.apache.tinkerpop.gremlin.driver.ConnectionFactory.create(ConnectionFactory.java:34)
at org.apache.tinkerpop.gremlin.driver.ConnectionPool.lambda$new$0(ConnectionPool.java:130)
... 8 common frames omitted
Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/127.0.0.1:8182
Caused by: java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:716)
at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:337)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:334)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at java.lang.Thread.run(Thread.java:750)
==>Configured localhost/127.0.0.1:8182, but host not presently available. The Gremlin Console will attempt to reconnect on each query submission, however, you may wish to close this remote and investigate the problem directly.
Beta Was this translation helpful? Give feedback.
All reactions