ScriptaGames / zorbio

A 3D multiplayer WebGL game
MIT License
8 stars 1 forks source link

Found a server crash #466

Closed Jared-Sprague closed 7 years ago

Jared-Sprague commented 7 years ago

when the frankfurt server was full. saw this in the logs and then it crashed: 0|zorbio-0 | [11/09/2016 16:34:56.679] [LOG]
0|zorbio-0 | [0] kicking player: 100 You were kicked because last heartbeat was over 30 seconds ago. 0|zorbio-0 | [11/09/2016 16:34:56.685] [ERROR] 0|zorbio-0 | Error: not opened 0|zorbio-0 | at WebSocket.send (/usr/share/games/zorbio/node_modules/ws/lib/WebSocket.js:219:16) 0|zorbio-0 | at appKickPlayer [as kickPlayer] (/usr/share/games/zorbio/server/AppServer.js:717:58) 0|zorbio-0 | at checkPlayerHeartbeats (/usr/share/games/zorbio/server/AppServer.js:750:26) 0|zorbio-0 | at Array.forEach (native) 0|zorbio-0 | at appCheckHeartbeats [as checkHeartbeats] (/usr/share/games/zorbio/server/AppServer.js:746:28) 0|zorbio-0 | at appServerTickSlow (/usr/share/games/zorbio/server/AppServer.js:874:14) 0|zorbio-0 | at Immediate.gameLoop [as _onImmediate] (/usr/share/games/zorbio/node_modules/node-gameloop/lib/gameloop.js:38:4) 0|zorbio-0 | at processImmediate [as _immediateCallback] (timers.js:383:17) 0|zorbio-0 | [11/09/2016 16:34:56.688] [LOG]
0|zorbio-0 | Node server stopped. PM2 | App [zorbio-0] with id [0] and pid [4886], exited with code [1] via signal [SIGINT] PM2 | Starting execution sequence in -fork mode- for app name:zorbio-0 id:0 PM2 | App name:zorbio-0 id:0 online