[ 
https://issues.apache.org/jira/browse/TINKERPOP-3061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17826074#comment-17826074
 ] 

Florian Hockmann commented on TINKERPOP-3061:
---------------------------------------------

TINKERPOP-2132 was only about the Java driver and the PR you are mentioning 
therefore also only tried to fix it for that driver. This issue however is 
about the JS driver and we don't have a PR ready for that.
I just created TINKERPOP-3063 for the same issue in the .NET driver. Since I am 
mostly experienced in that driver, I'll submit a PR to fix it there. If that 
fix however gets accepted and merged then we can probably afterwards also see 
whether a similar fix also makes sense for the other drivers, like the JS one.

> Concurrent queries will break authentication on javascript driver
> -----------------------------------------------------------------
>
>                 Key: TINKERPOP-3061
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-3061
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: javascript
>    Affects Versions: 3.6.6, 3.7.1
>            Reporter: Yang Xia
>            Priority: Major
>
> Reported by tien on Discord:
> {code:java}
> import gremlin from "gremlin";
> const g = gremlin.process.AnonymousTraversalSource.traversal().withRemote(
>   new gremlin.driver.DriverRemoteConnection("ws://localhost:8182/gremlin", {
>     authenticator: new gremlin.driver.auth.PlainTextSaslAuthenticator(
>       "admin",
>       "administrator"
>     ),
>   })
> );
> // This will throws: Failed to authenticate (401)
> await Promise.all([g.V().toList(), g.V().toList()]);
> // This works as expected
> await g.V().toList();
> await g.V().toList(); {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to