gremlin-bin
gremlin-bin copied to clipboard
Broken ?
Hi,
I really excited when I saw www.GremlinBin.com... only to get: "Error: Your initializing script produced an error: Error: WebSocket closed"
Hello! Don't be distraught let's fix that issue. Can you tell me what you did or link me to the bin that is giving you this error?
Also can you tell me what OS and browser you're using on the off chance that has significance?
These errors are generally linked to sandboxing but who know. Cheers
Hi,
Here are the steps:
- Using Safari Version 49.0.2623.87m on Windows 7
- I went to: http://www.gremlinbin.com
- I click the +(New) on the left
- Select Empty
- Click Submit
I just tried using IE (yuck) and it gave me an error: ERR: Object doesnt support property or method 'assign' URL: http://www.gremlinbin.com/assets/82e36ba/js/gremlin-bin.min.js L: 84
.... just digged a bit deeper and looked at the console, could be our corporate proxy screwing it up.
The console reads: WebSocket connection to 'ws://www.gremlinbin.com:8182/' failed: Establishing a tunnel via proxy server failed.
Ah yes. That sounds about right. I was worried this may be an issue for quite a few people as port 8182
tends to be closed on most companies' firewalls.
The console has an http connection plugin that should fix this. I would just rather not make it default. I'm going to see if I can test ws and if ws fails, then fall back to http.
FYI I had a look at what would be needed here and I will have to modify the public api of the gremlin-console-js
Client and gc-ajax-plugin
a bit. I'm on a flight tomorrow so this might have to wait until I arrive
Just wanted to say that I worked on this over the weekend and I keep hitting a wall when it comes to registering events on open
as both the http
client and the ws
client trigger this when firewalls block the ports and this has unwanted side effects.
I'm pretty close to resolution, just going to take a little longer.