amazon web services - Gremlin remote command fails with timeout error: Host did not respond in a timely fashion -


i connected remote gremlin server via gremlin groovy shell. connection succeeded. remote command try execute gives timeout error. command :> 1+1

gremlin> :remote connect tinkerpop.server conf/senthil.yaml ==>connected - 10.40.40.65/10.40.40.65:50080  gremlin> :> 1+1 host did not respond in timely fashion - check server status , submit again. display stack trace? [yn] org.apache.tinkerpop.gremlin.groovy.plugin.remoteexception: host did not respond in timely fashion - check server status , submit again. @ org.apache.tinkerpop.gremlin.console.groovy.plugin.driverremoteacceptor.submit(driverremoteacceptor.java:120) @ org.codehaus.groovy.vmplugin.v7.indyinterface.selectmethod(indyinterface.java:215) @ org.apache.tinkerpop.gremlin.console.commands.submitcommand.execute(submitcommand.groovy:41) @ org.codehaus.groovy.vmplugin.v7.indyinterface.selectmethod(indyinterface.java:215) @ org.codehaus.groovy.tools.shell.shell.execute(shell.groovy:101) @ org.codehaus.groovy.tools.shell.groovysh.super$2$execute(groovysh.groovy) @ sun.reflect.generatedmethodaccessor14.invoke(unknown source) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:497) 

this conf file: remote.yaml

hosts: [10.40.40.65] port: 50080 serializer: { classname: org.apache.tinkerpop.gremlin.driver.ser.gryomessageserializerv1d0, config: { serializeresulttostring: true }} 

i'm using dynamodb + titan.

you might not have successful connection. console (and underlying driver) optimistic in doesn't fail connection until request sent expects server may come online "later". go investigating if server running, if have right ip, if host property not set "localhost" if connecting remotely, if port open, using compatible version of tinkerpop, etc.


Comments

Popular posts from this blog

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -