when browser refresh, server room onLeave not catching and crashes with error msg "error read ECONNRESET" (SOLVED)

how to handle this error?

Hey @Burjee-Bataa, are you using the latest version of the server? (0.8.9)

This error started to occur after upgrading the WebSocket module (ws@3.3.3), more info: https://github.com/websockets/ws/issues/1256

There are already couple of "error" events registered to avoid this problem on the server.

@endel Thanks!