Firefox 26 does not reconnect after server bounce
This could be browser bug - I'm not sure. I ran a test using Internet Explorer, Firefox 26, and Chrome. I had all 3 clients working as expected with text messages. I then bounced the server (Glassfish 4). Internet Explorer and Chrome reconnected. Firefox did not. I ran the test twice - same results.
Firefox Log: The connection to ws://127.0.0.1:8080/ReconnectingWebSocket/websocket was interrupted while the page was loading. reconnecting-websocket.js:84 18:36:40.705 Firefox can't establish a connection to the server at ws://127.0.0.1:8080/ReconnectingWebSocket/websocket. reconnecting-websocket.js:84 18:36:40.705 The connection to ws://127.0.0.1:8080/ReconnectingWebSocket/websocket was interrupted while the page was loading. reconnecting-websocket.js:84 18:36:44.362 Firefox can't establish a connection to the server at ws://127.0.0.1:8080/ReconnectingWebSocket/websocket.
I'm getting a lot of reports about this as well from website visitors, now that I'm using ws node module. Can't really reproduce it myself.