-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Confirming this library runs in the browser ? #103
Comments
I am very curious about this as well. |
Having a similar problem - had a look at the requests and got the following:
This led to a response of 'not a WebSocket handshake request: missing upgrade'. I tested another websocket connection, which made a successful connection to the same gremlin server, and the request looked like this:
It looks like this is the same problem - I have been unable to get this library to send a ws connection over the browser. |
It used to work in the browser in earlier version, about 3 years ago, but I couldn't confirm today (the README is misleading, I confess). I think it shouldn't be too hard to tweak the code to make it work in browsers. The size of the bundle could be an issue though since I never really tried to do optimization there. |
I've tried to run the client in chrome to connect to Azure cosmos without luck.
Upon inspection via fiddler, the connection does not seem to be promoting to a websocket.
I see all tests are node and all examples I can find online are node based.
Is browser possible as per the opening remarks of readme ?
The text was updated successfully, but these errors were encountered: