Hi, I have a game running in nodejs socket.io and i noticed that the server restarts 15 times everyday
I also noticed this error in the console which might be the cause, but im not sure how to fix this error
Error connection reset by peer at Shard._onWSClose
oh that’s from Eris, right? I think it handles reconnection automatically, so all it should take is for you to add an .on('error', ...)
handler. then nodejs will let the program continue running
2 Likes
I didnt know it was from Eris, thanks for the reply!