ID:1780890
 
BYOND Version:507.1274
Operating System:Windows 7 Pro 64-bit
Web Browser:Firefox 35.0
Applies to:Webclient
Status: Open

Issue hasn't been assigned a status value.
Descriptive Problem Summary:
After rebooting the server, about ten minutes later the web client will be disconnected with the message "Connection died."

Firefox's console just shows:
"Quit: code 1" webclient.dart.js:13291
"Socket: close" webclient.dart.js:13291

Chrome additionally outputs this a few seconds after the connection dies (and then keeps outputting it every couple of seconds):
webclient.dart.js:12010 WebSocket is already in CLOSING or CLOSED state.
webclient.dart.js:12010 Ud.Kr
webclient.dart.js:17319 J.eg
webclient.dart.js:3606 lc.wR
webclient.dart.js:910 LB.Gi
VM972:2 (anonymous function)
webclient.dart.js:7507 DH.$0
webclient.dart.js:8222 dr.$0
webclient.dart.js:7132 aX.kQ
webclient.dart.js:6924 zd
webclient.dart.js:7724 ft
webclient.dart.js:7734 (anonymous function)

Tested with both Firefox 35.0.1 and Chrome 40.0.2214.111.

If I join with both Chrome and Firefox at once, both web clients are disconnected at the same time.

It happens regardless of whether I'm joining via localhost or my external IP.

It happens regardless of if you are idle or actively moving around.

It only happens if the client is connected when the reboot happens.

It happens even in an empty project (literally New Environment > Compile > host).

Numbered Steps to Reproduce Problem:
1) Host a game in Dream Daemon
2) Connect to the game with the web client
3) Reboot the server from Dream Daemon
4) Wait 8-10 minutes
5) The web client is disconnected and the message "Connection died" is output.

Expected Results:
Web client does not unexpectedly disconnect after a reboot

Does the problem occur:
Every time? Or how often? Every time
In other games? Happens even in an empty project
In other user accounts? On only account, admin
On other computers? Untested

When does the problem NOT occur?
When the web client was not connected during the reboot.

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
Unknown. Can test if requested.

Workarounds:
None found