pdaddyo / soundbounce

Social listening for Spotify - music sounds better together.
MIT License
251 stars 28 forks source link

Crash on Android: "Uncaught INVALID_STATE_ERR : Pausing to reconnect websocket" #223

Open beveradb opened 9 years ago

beveradb commented 9 years ago

Just posting this here as a ticket to remind me it needs to be looked into. Here are the last few lines of the crash report if it helps anyone, I've got a full crash report with far more information but there are potentially sensitive details in there so I won't post it publicly.

597 03-27 14:14:31.048 I/SpotifySDK(25082): Got notification: Track ended
598 03-27 14:14:31.048 I/SpotifySDK(25082): Got notification: Track started
599 03-27 14:14:31.049 V/SB.MainActivity(25082): In method: onPlaybackEvent, called by: run
600 03-27 14:14:31.049 D/SB.MainActivity(25082): Playback event received: TRACK_END
601 03-27 14:14:31.049 V/SB.MainActivity(25082): In method: onPlaybackEvent, called by: run
602 03-27 14:14:31.049 D/SB.MainActivity(25082): Playback event received: TRACK_START
603 03-27 14:14:31.458 I/SB.CustomUIClient(25082): Caught Chromium Console Message: [object Object]
604 03-27 14:14:31.458 I/SB.CustomUIClient(25082): of type: LOG
605 03-27 14:14:31.458 I/SB.CustomUIClient(25082): from lineNumber: 489
606 03-27 14:14:31.458 I/SB.CustomUIClient(25082): and sourceId:
607 03-27 14:14:31.458 I/chromium(25082): [INFO:CONSOLE(489)] \"[object Object]\", source: (489)
608 03-27 14:14:37.922 W/SB.CustomUIClient(25082): Caught Chromium Console Message: WebSocket connection to 'ws://app.soundbounce.org/mypz3t3X' failed: WebSocket is closed before the connection is established.
609 03-27 14:14:37.922 W/SB.CustomUIClient(25082): of type: WARNING
610 03-27 14:14:37.922 W/SB.CustomUIClient(25082): from lineNumber: 0
611 03-27 14:14:37.922 W/SB.CustomUIClient(25082): and sourceId: http://app.soundbounce.org/app.html#room/mypz3t3X/e040fb
612 03-27 14:14:37.922 I/chromium(25082): [INFO:CONSOLE(0)] \"WebSocket connection to 'ws://app.soundbounce.org/mypz3t3X' failed: WebSocket is closed before the connection is established.\", source: http://app.soundbounce.org/app.html#room/mypz3t3X/e040fb (0)
613 03-27 14:14:41.694 E/SB.CustomUIClient(25082): Caught Chromium Console Message: Uncaught INVALID_STATE_ERR : Pausing to reconnect websocket
614 03-27 14:14:41.694 E/SB.CustomUIClient(25082): of type: ERROR
615 03-27 14:14:41.694 E/SB.CustomUIClient(25082): from lineNumber: 203
616 03-27 14:14:41.694 E/SB.CustomUIClient(25082): and sourceId: http://app.soundbounce.org/js/reconnecting-websocket.js

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/10284164-crash-on-android-uncaught-invalid_state_err-pausing-to-reconnect-websocket?utm_campaign=plugin&utm_content=tracker%2F9578624&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F9578624&utm_medium=issues&utm_source=github).