I'm using a node client library for LogEntries, and it uses a simple socket connection to interact with its service.
var socket = net.createConnection(options.port, options.host);
After a certain period of time of the instance of the connection living in memory, the client lib starts to emit these errors:
Error: read ECONNRESET at errnoException (net.js:904:11) at TCP.onread (net.js:558:19)
What does this mean? Does it mean that LogEntries is closing the connection after a certain amount of time?
Also, does the connection automatically reestablish the connection once it is lost?
Perhaps I shouldn't be retrying to use the client and just init a new one each time I want to use it? This would ensure the timeout is never reached.