Error: Uncaught, unspecified "error" event. (ECONNRESET)

I’m attempting to setup Blynk for the first time using on old windows PC. (Used for logging my solar panels and I’m extended this setup with Blynk to visualize the output of the solar panels. I have plans to transfer the all thing to raspberry PI in the future). I’m a complete novice at this stuff.

So my nodejs works fine but crashes from time to time. I don’t have a clue what is provoking the crash. Any suggestions?

Here’s the error. I’ve hidden most of my auth token.

events.js:159
throw err;
^

Error: Uncaught, unspecified “error” event. (ECONNRESET)
at emit (events.js:157:17)
at Blynk.error (C:\Documents and Settings\Administrator\Application Data\npm\node_modules\blynk-library\blynk.js:589:8)
at null. (C:\Documents and Settings\Administrator\Application Data\npm\node_modules\blynk-library\blynk.js:552:48)
at emitOne (events.js:90:13)
at emit (events.js:182:7)
at TLSSocket. (C:\Documents and Settings\Administrator\Application Data\npm\node_modules\blynk-library\blynk-node.js:200:16)
at emitOne (events.js:90:13)
at TLSSocket.emit (events.js:182:7)
at emitErrorNT (net.js:1265:8)
at _combinedTickCallback (internal/process/next_tick.js:74:11)

I suggest you to go over troubleshooting guide in the docs.

Ok, thanks for suggestion. These are my findings:

Connection: Should be ok. Application has already run for more than 24 hour before it crashed. Disconnecting from internet doesn’t provoke the error.
WIFI: Hardwired internet connection
Delay: not used but setInterval(function(){read strings from file; do some checks if file and strings exits; some conversion stuff; v0.write(arr[4][0]); v1.write(Number(arr4[1])); and some more writes;}, 5000);
Flood error: I send around 20 values and a 2 strings every 5 seconds

I’m not an expert but I think above is ok.

I’m running now with the plain TCP connection instead of SSL/TLS. Keep fingers crossed how this will perform.

Any suggestion how to troubleshoot this?

Thanks?