Kyle
ATApache TinkerPop
•Created by Kyle on 1/8/2025 in #questions
Gremlin-JavaScript Global Websocket
Here is my attempt at solving this:
https://github.com/apache/tinkerpop/pull/2968
6 replies
ATApache TinkerPop
•Created by Kyle on 1/8/2025 in #questions
Gremlin-JavaScript Global Websocket
I do see the MDN docs about WebSocket in the browser not having those options, whereas NodeJS does. For my use case connecting to Neptune, we NEED the headers set. I wonder if that ternary statement could be tweaked to only use globalThis.WebSocket if we are running in the browser and NO additional options, like headers, ca, etc, are present. At least some kind of check for support of the options in the WebSocket.
6 replies
ATApache TinkerPop
•Created by Kyle on 1/8/2025 in #questions
Gremlin-JavaScript Global Websocket
I believe my team has hit an issue with Node 22 (which includes a globalThis.Websocket) and our implementation of the connection to AWS Neptune due to the fact that the headers are not passed/included with the globalThis.WebSocket.
6 replies