node-oscar icon indicating copy to clipboard operation
node-oscar copied to clipboard

Connection reset after some time

Open j6s opened this issue 11 years ago • 1 comments

Hello,

as i mentioned in an other ticket, i am building a constantly running bot. However i get a Connection reset after some time (ECONNRESET). I have not yet analyzed the length, but it is somewhere around 10-20minutes of inactivity.

Is there some sort of "ping" function, to signalize, that the client is still active, so the connection is not being reset?

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: read ECONNRESET
    at errnoException (net.js:904:11)
    at TCP.onread (net.js:558:19)

j6s avatar Sep 10 '14 16:09 j6s

Seems to be a duplicate of #3

j6s avatar Sep 12 '14 13:09 j6s