Hello to all,
I have a problem with Node-RED:
continuously communicates with PLCs using node-red-contrib-s7, it works well but sometimes i get the following error:
Error: read ECONNRESET at TCP.onStreamRead (node: internal / stream_base_commons: 211: 20)
I noticed that the problem occurs when the connection with a PLC is missing for more than a few minutes.
This error stops Node-RED.
Here is last part of the logs:
7 Apr 11:30:39 - [error] [s7 endpoint:PLC - Pozzi Vasca Vecchia] Error: Timeout connecting to the transport
7 Apr 11:30:40 - [error] [s7 endpoint:PLC - Pozzi Vasca Nuova] Error: Timeout connecting to the transport
7 Apr 11:30:54 - [error] [s7 endpoint:PLC - Pozzi Vasca Vecchia] Error: Timeout connecting to the transport
7 Apr 11:30:55 - [error] [s7 endpoint:PLC - Pozzi Vasca Nuova] Error: Timeout connecting to the transport
7 Apr 11:31:10 - [error] [s7 endpoint:PLC - Pozzi Vasca Nuova] Error: Timeout connecting to the transport
7 Apr 11:31:13 - [red] Uncaught Exception:
7 Apr 11:31:13 - Error: read ECONNRESET
at TCP.onStreamRead (internal/stream_base_commons.js:209:20)
I already asked on the github's node package but i can't get an answer.