Skip to content

Connection reset after some time #16

@j6s

Description

@j6s

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions