sjdodge123 / spaceroyale.io

Multiplayer Javacsript IO game
Apache License 2.0
2 stars 0 forks source link

Database error #144

Closed sjdodge123 closed 6 years ago

sjdodge123 commented 6 years ago

Detected DEV environment listening on 0.0.0.0:3000 Guest87532 joined Room 8 Guest55912 joined Room 8 Guest55912 left Room 8 Room8's game has ended. Guest87532 left Room 8 events.js:160 throw er; // Unhandled 'error' event ^

Error: Connection lost: The server closed the connection. at Protocol.end (/home/ubuntu/spaceroyale.io/node_modules/mysql/lib/protocol/Protocol.js:109:13) at Socket. (/home/ubuntu/spaceroyale.io/node_modules/mysql/lib/Connection.js:109:28) at emitNone (events.js:91:20) at Socket.emit (events.js:185:7) at endReadableNT (_stream_readable.js:974:12) at _combinedTickCallback (internal/process/next_tick.js:80:11) at process._tickCallback (internal/process/next_tick.js:104:9) [nodemon] app crashed - waiting for file changes before starting...

sjdodge123 commented 6 years ago

Might be useful to implement

https://stackoverflow.com/questions/20210522/nodejs-mysql-error-connection-lost-the-server-closed-the-connection

sjdodge123 commented 6 years ago

closed in 5f98660