Frequent server restart, and Connection Reset By Peer error

Hi, I have a game running in nodejs 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


I didnt know it was from Eris, thanks for the reply!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.