jeromeetienne/EasyWebsocket — Issue #6: The connection was interrupted while the page was loading.
Author: Twodordan
Created: 2012-02-01 22:17:26+00:00
State: open

I've been using your fantastic library for a few months. Recently though, my connection started to fail after a few seconds (~23s). It started around this christmas, but I haven't had time to look into it until now.

Firefox, (firebug) reports:
"
The connection to ws://88.191.76.230:8950/socket.io/1/websocket/18883451342134888172 was interrupted while the page was loading.

...this,e;e||(e=window.MozWebSocket||window.WebSocket);this.websocket=new e(this.pr... at: easyWe....min.js (line 43)
"
Chrome fails silently after the same amount of time.

This is the code I am using: this._connection = new EasyWebSocket("ws://students.info.uaic.ro/~tudor.berechet/index.xhtml");
So it is not "wss", as it was mentioned in this issue: https://github.com/jeromeetienne/EasyWebsocket/issues/5
Sometimes one or two broadcasts make it through, but usually it keeps failing with that error every time I try to send something.

Haven't had time to look at your un-minified code yet.