gremlin-javascript icon indicating copy to clipboard operation
gremlin-javascript copied to clipboard

Unable to send a new query over wss before the last one is returned

Open baptisteArno opened this issue 6 years ago • 4 comments

I am currently using an instance of JanusGraph (0.1.1) on IBM Cloud for a project. I succesfully connected to this instance using the library. Everything works greate but I can't send multiple queries at the same time. Until a first query response is returned, every other query in the same Websocket fails with error : Failed to authenticate (Error 401).

This problem surely comes from our JanusGraph server configuration but I was wondering if you ever ran into the same kind of problem.

baptisteArno avatar Apr 20 '18 13:04 baptisteArno

I have the same issue here, you got any solutions ?

ahmed-serag avatar May 03 '18 11:05 ahmed-serag

Thanks for reporting this. I'm unsure about what could be going wrong. What version of gremlin-javascript do you use? CC @pluradj

jbmusso avatar May 03 '18 12:05 jbmusso

I'm using version 2.7.0

ahmed-serag avatar May 03 '18 13:05 ahmed-serag

@jbmusso The Error: Failed to authenticate (Error 401) is reproducible with the OSS Gremlin Server. I used apache-tinkerpop-gremlin-server-3.2.3 and npm install [email protected] --save

Check out my gist.

pluradj avatar May 03 '18 19:05 pluradj