Closed
Bug 713793
Opened 13 years ago
Closed 12 years ago
IRCCloud disconnecting a lot, maybe web sockets changes
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
INCOMPLETE
mozilla13
People
(Reporter: asa, Unassigned)
References
()
Details
IRCCloud has been regularly disconnecting for me, every minute or so. Could this be because of our recent changes to align with spec and drop the prefixing as noted in bug 666349#c25 and bug 695635? This is what the error console is telling me: Error: The connection to wss://irccloud.com/ was interrupted while the page was loading. Source File: https://irccloud.com/static/js/app/handler.js?v=cbcf61140bc3084c15a11e892b549dbe Line: 259 The Web Console has this: [18:51:50.814] stream error [18:51:50.817] WebSocket onerror [object XrayWrapper [object WebSocket]] 445 (readystate: 1) [object Event] undefined @ https://irccloud.com/static/js/lib/debug.js?v=65c0b5cbb8094d3d95885a27dd7ae664:183 [18:51:50.818] Handler onError (failCount: 1) @ https://irccloud.com/static/js/lib/debug.js?v=65c0b5cbb8094d3d95885a27dd7ae664:183 [18:51:50.820] Controller onDisconnect (failCount: 1) (restart: true) @ https://irccloud.com/static/js/lib/debug.js?v=65c0b5cbb8094d3d95885a27dd7ae664:183 [18:51:50.821] connect [18:51:50.822] Controller Starting stream in 1 seconds @ https://irccloud.com/static/js/lib/debug.js?v=65c0b5cbb8094d3d95885a27dd7ae664:183 [18:51:50.823] Handler start (delay: 1) @ https://irccloud.com/static/js/lib/debug.js?v=65c0b5cbb8094d3d95885a27dd7ae664:183 [18:51:50.891] The connection to wss://irccloud.com/ was interrupted while the page was loading. @ https://irccloud.com/static/js/app/handler.js?v=cbcf61140bc3084c15a11e892b549dbe:259 [18:51:50.912] stream close [18:51:50.914] WebSocket onclose [object XrayWrapper [object WebSocket]] 445 (readystate: 1) (aborted: false) [object CloseEvent] false @ https://irccloud.com/static/js/lib/debug.js?v=65c0b5cbb8094d3d95885a27dd7ae664:183 [18:51:50.915] Handler onError (failCount: 2) @ https://irccloud.com/static/js/lib/debug.js?v=65c0b5cbb8094d3d95885a27dd7ae664:183 [18:51:50.917] Controller onDisconnect (failCount: 2) (restart: true) @ https://irccloud.com/static/js/lib/debug.js?v=65c0b5cbb8094d3d95885a27dd7ae664:183 [18:51:50.918] connect [18:51:50.920] Controller Starting stream in 2 seconds @ https://irccloud.com/static/js/lib/debug.js?v=65c0b5cbb8094d3d95885a27dd7ae664:183 [18:51:50.921] Handler start (delay: 2) @ https://irccloud.com/static/js/lib/debug.js?v=65c0b5cbb8094d3d95885a27dd7ae664:183 [18:51:51.825] open stream [18:51:51.826] Handler _connect @ https://irccloud.com/static/js/lib/debug.js?v=65c0b5cbb8094d3d95885a27dd7ae664:183 [18:51:51.828] Handler already open [object XrayWrapper [object WebSocket]] @ https://irccloud.com/static/js/lib/debug.js?v=65c0b5cbb8094d3d95885a27dd7ae664:183 [18:51:51.831] Websocket close [object XrayWrapper [object WebSocket]] 445 (readystate: 1) @ https://irccloud.com/static/js/lib/debug.js?v=65c0b5cbb8094d3d95885a27dd7ae664:183 [18:51:52.924] open stream [18:51:52.925] Handler _connect @ https://irccloud.com/static/js/lib/debug.js?v=65c0b5cbb8094d3d95885a27dd7ae664:183 [18:51:52.927] Websocket connect wss://irccloud.com @ https://irccloud.com/static/js/lib/debug.js?v=65c0b5cbb8094d3d95885a27dd7ae664:183 [18:51:52.928] Websocket create [object XrayWrapper [object WebSocket]] 446 (readystate: 0) @ https://irccloud.com/static/js/lib/debug.js?v=65c0b5cbb8094d3d95885a27dd7ae664:183 [18:51:52.952] GET https://irccloud.com/ [HTTP/1.1 101 Switching Protocols 659ms] [18:51:54.213] load: timer started [18:51:54.577] Error in parsing value for 'max-height'. Declaration dropped. @ https://irccloud.com/#!/ircs://irc.mozilla.org:6697/%23fx-team [18:51:54.627] GET https://irccloud.com/chat/oob-loader?key=5f1601a4-a5f7-4dfa-8779-1b6dd41e26ec [HTTP/1.1 200 OK 1657ms] [18:51:56.272] load: 2059ms [18:51:56.274] process: timer started [18:51:56.585] process: 311ms -- [18:52:11.833] stream error [18:52:11.835] WebSocket onerror [object XrayWrapper [object WebSocket]] 446 (readystate: 1) [object Event] undefined @ https://irccloud.com/static/js/lib/debug.js?v=65c0b5cbb8094d3d95885a27dd7ae664:183 [18:52:11.837] Handler onError (failCount: 1) @ https://irccloud.com/static/js/lib/debug.js?v=65c0b5cbb8094d3d95885a27dd7ae664:183 [18:52:11.838] Controller onDisconnect (failCount: 1) (restart: true) @ https://irccloud.com/static/js/lib/debug.js?v=65c0b5cbb8094d3d95885a27dd7ae664:183 [18:52:11.839] connect [18:52:11.840] Controller Starting stream in 1 seconds @ https://irccloud.com/static/js/lib/debug.js?v=65c0b5cbb8094d3d95885a27dd7ae664:183 [18:52:11.842] Handler start (delay: 1) @ https://irccloud.com/static/js/lib/debug.js?v=65c0b5cbb8094d3d95885a27dd7ae664:183 [18:52:11.909] The connection to wss://irccloud.com/ was interrupted while the page was loading. @ https://irccloud.com/static/js/app/handler.js?v=cbcf61140bc3084c15a11e892b549dbe:259 [18:52:11.920] stream close [18:52:11.922] WebSocket onclose [object XrayWrapper [object WebSocket]] 446 (readystate: 1) (aborted: false) [object CloseEvent] false @ https://irccloud.com/static/js/lib/debug.js?v=65c0b5cbb8094d3d95885a27dd7ae664:183 [18:52:11.923] Handler onError (failCount: 2) @ https://irccloud.com/static/js/lib/debug.js?v=65c0b5cbb8094d3d95885a27dd7ae664:183 [18:52:11.926] Controller onDisconnect (failCount: 2) (restart: true) @ https://irccloud.com/static/js/lib/debug.js?v=65c0b5cbb8094d3d95885a27dd7ae664:183 [18:52:11.927] connect [18:52:11.928] Controller Starting stream in 2 seconds @ https://irccloud.com/static/js/lib/debug.js?v=65c0b5cbb8094d3d95885a27dd7ae664:183 [18:52:11.930] Handler start (delay: 2) @ https://irccloud.com/static/js/lib/debug.js?v=65c0b5cbb8094d3d95885a27dd7ae664:183 [18:52:12.843] open stream [18:52:12.845] Handler _connect @ https://irccloud.com/static/js/lib/debug.js?v=65c0b5cbb8094d3d95885a27dd7ae664:183 [18:52:12.846] Handler already open [object XrayWrapper [object WebSocket]] @ https://irccloud.com/static/js/lib/debug.js?v=65c0b5cbb8094d3d95885a27dd7ae664:183 [18:52:12.847] Websocket close [object XrayWrapper [object WebSocket]] 446 (readystate: 1) @ https://irccloud.com/static/js/lib/debug.js?v=65c0b5cbb8094d3d95885a27dd7ae664:183 [18:52:13.934] open stream [18:52:13.935] Handler _connect @ https://irccloud.com/static/js/lib/debug.js?v=65c0b5cbb8094d3d95885a27dd7ae664:183 [18:52:13.937] Websocket connect wss://irccloud.com @ https://irccloud.com/static/js/lib/debug.js?v=65c0b5cbb8094d3d95885a27dd7ae664:183 [18:52:13.938] Websocket create [object XrayWrapper [object WebSocket]] 447 (readystate: 0) @ https://irccloud.com/static/js/lib/debug.js?v=65c0b5cbb8094d3d95885a27dd7ae664:183 [18:52:13.951] GET https://irccloud.com/ [HTTP/1.1 101 Switching Protocols 659ms] [18:52:14.679] load: timer started [18:52:14.696] GET https://irccloud.com/chat/oob-loader?key=2e9591fd-0077-4aab-8cff-1b03bef9fb1f [HTTP/1.1 200 OK 1634ms] [18:52:16.340] load: 1661ms [18:52:16.342] process: timer started [18:52:16.707] topRow.data is not a function @ https://irccloud.com/static/js/app/view.js?v=1ad81c355609ecb69038e5d6a05f8eca:1181
Comment 1•13 years ago
|
||
I doubt this has anything to do with the prefixing. That log shows successful WebSockets being created "Websocket create [object XrayWrapper [object WebSocket]] 446 (readystate: 0)" and the rest looks mostly consistent with the IRCCloud logic for restarting an interrupted socket. Not sure why you'd be getting these interruptions so frequently. Are you on a consistent/reliable internet connection? We sometimes see this behaviour on slow/flaky connections, e.g. 3G tethering.
Comment 2•13 years ago
|
||
Wasn't IRCCloud using the Flash fallback instead of MozWebsocket before?
Comment 3•13 years ago
|
||
Yes we were before, but now that Websocket is unprefixed we'll use that automatically.
Comment 4•12 years ago
|
||
Today IRCCloud was having network issues and it caused some weird behavior on Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:13.0a1) Gecko/20120210 Firefox/13.0a1 ID:20120210031150 Error console was spammed with this: Error: Firefox can't establish a connection to the server at wss://irccloud.com/. Source File: https://irccloud.com/static/js/app.combined.js?v=55575eff5edbf3b78eb7f286572f081c Line: 107 While this occurred, if I tried to open any URL on a different tab it would stay forever "Connecting..." with the gray spinner going on forever. I troubleshooted network and proxy and found everything to be OK. Closing IRCCloud's tab restored connectivity. Seems like Nightly would halt all network activity when there's a broken web socket. Is this a different bug?
Comment 5•12 years ago
|
||
Comment 4 does sound like a different bug--one of many nebulous "firefox won't connect after some network issue" things we've been seeing :(
Comment 6•12 years ago
|
||
Spun off my earlier comment as bug 726585 FWIW.
Comment 7•12 years ago
|
||
Asa, Are you still seeing this IRCCloud disconnect?
Component: Image Blocking → HTML: Form Submission
QA Contact: image-blocking → form-submission
Target Milestone: --- → mozilla13
Version: Trunk → 15 Branch
Reporter | ||
Comment 8•12 years ago
|
||
(In reply to Jason Duell (:jduell) from comment #7) > Asa, > > Are you still seeing this IRCCloud disconnect? It's been ages since I've used IRCCloud. I gave up on it about 6 months ago. Sorry. If we want to close this out as incomplete until someone else has a reproduction, that's totally OK with me.
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INCOMPLETE
Assignee | ||
Updated•5 years ago
|
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•