Saturday 17 March 2018

My Discord bot that connects to a mySQL server randomly crashes over a 24 hour period with Error: read ECONNRESET. Anyone know a fix?

From what I've read I need a handler to reconnect when the error is thrown. Unfortunately I'm really new to Node and I need some help with making a handler.The full error is:events.js:183 throw er; // Unhandled 'error' event ^ Error: read ECONNRESET at _errnoException (util.js:1024:11) at TCP.onread (net.js:615:25)

Submitted March 17, 2018 at 06:11PM by Brinstakilla

No comments:

Post a Comment