Node Red lost connection after running properly for more than an hour

Hello all
I have deployed the node red and was successfully able to get the desired outcome from the flows.
Node red runs properly for few hours and then it get crashed, as I get the msg of lost connection.
This happens frequently, Node red runs properly for more than 3-4 hours and than it get crashed.
Can someone please help me solve this issue.

Not without much more information.

Are there any error logs?

What is Node-Red running on?

What versions, etc?

What are you running (flows) that might be a contributing factor?

Hello
I am using node red on chrome.
I have S7 and mindconnect nodes in my flows.

Are you showing charts on the dashboard? If so then what sample rate are you sendng points to the chart at, and what time frame do the charts cover? Work out how many points there are on each line across the chart, if that is a large number then probably you are overloading the browser moving all the points along the chart every time you add a new one.

Hello
I am not using node red dashboard.
I am using node red for communication between s7 PLC and Mindsphere data reading and writing.
This data is send to Mindsphere on the interval of 1 minute.
Am I losing the connection due to too much data transferring?

You haven't stated which contrib node you are using but at a guess, this is related: ECONNRESET when PLC connection drops · Issue #91 · st-one-io/node-red-contrib-s7 · GitHub

Node-Red doesn't RUN on Chrome, that is just how you connect to it's editor :stuck_out_tongue:

What is running Node-Red? What version? What error messages (besides Lost Connection)? And so on.

Node red version v0.20.7

That is an extremely old version of node red, and you don't appear to have answered the other questions.

Hello
Please find the log file below for when I faced the lost connection issue

1 Sep 11:58:16 - [info] [mindconnect:11e59b80.be70a5] Posted last message at Wed Sep 01 2021 11:58:11 GMT+0530 (IST)
1 Sep 11:58:16 - [error] [s7 out:8bb38d7c.56964] Failure (Bad values)
1 Sep 11:58:16 - [info] [mindconnect:11e59b80.be70a5] Posted last message at Wed Sep 01 2021 11:58:13 GMT+0530 (IST)
1 Sep 11:58:16 - [error] [s7 out:8bb38d7c.56964] Failure (Bad values)
1 Sep 11:58:16 - [error] [s7 endpoint:46b9478a.e24598] Failure (Bad values)
1 Sep 11:58:27 - [info] [mindconnect:ad63aab3.0c1568] 0 requests, 0 successful w ith 0 errors and 0 still pending
1 Sep 11:58:27 - [info] [mindconnect:ac4a441f.879738] 0 requests, 0 successful w ith 0 errors and 0 still pending
1 Sep 11:58:27 - [info] [mindconnect:247a342.79ab6cc] 0 requests, 0 successful w ith 0 errors and 0 still pending
1 Sep 11:58:27 - [info] [mindconnect:11e59b80.be70a5] 2 requests, 2 successful w ith 0 errors and 0 still pending
1 Sep 11:58:27 - [info] [mindconnect:7e246adb.8e91f4] 0 requests, 0 successful w ith 0 errors and 0 still pending
1 Sep 11:58:27 - [info] [mindconnect:19c91f52.ddb021] 0 requests, 0 successful w ith 0 errors and 0 still pending
1 Sep 11:58:27 - [info] [mindconnect:ef703a64.56a848] 0 requests, 0 successful w ith 0 errors and 0 still pending
1 Sep 11:58:27 - [error] [s7 endpoint:98f8fac5.37e3b8] Failure (Bad values)
1 Sep 11:58:28 - [error] [s7 endpoint:98f8fac5.37e3b8] Failure (Bad values)
1 Sep 11:58:28 - [error] [s7 endpoint:98f8fac5.37e3b8] Failure (Bad values)
1 Sep 11:58:37 - [info] [mindconnect:ad63aab3.0c1568] 0 requests, 0 successful w ith 0 errors and 0 still pending
1 Sep 11:58:37 - [info] [mindconnect:ac4a441f.879738] 0 requests, 0 successful w ith 0 errors and 0 still pending
1 Sep 11:58:37 - [info] [mindconnect:247a342.79ab6cc] 0 requests, 0 successful w ith 0 errors and 0 still pending
1 Sep 11:58:37 - [info] [mindconnect:11e59b80.be70a5] 0 requests, 0 successful w ith 0 errors and 0 still pending
1 Sep 11:58:37 - [info] [mindconnect:7e246adb.8e91f4] 0 requests, 0 successful w ith 0 errors and 0 still pending
1 Sep 11:58:37 - [info] [mindconnect:19c91f52.ddb021] 0 requests, 0 successful w ith 0 errors and 0 still pending
1 Sep 11:58:37 - [info] [mindconnect:ef703a64.56a848] 0 requests, 0 successful w ith 0 errors and 0 still pending
1 Sep 11:58:41 - [info] [mindconnect:11e59b80.be70a5] 1 requests, 0 successful w ith 0 errors and 1 still pending
1 Sep 11:58:44 - [info] [mindconnect:7e246adb.8e91f4] 1 requests, 0 successful w ith 0 errors and 1 still pending
1 Sep 11:58:46 - [error] [s7 endpoint:98f8fac5.37e3b8] Failure (Bad values)
1 Sep 11:58:46 - [error] [s7 endpoint:3f51f305.f1054c] Failure (Bad values)
1 Sep 11:58:47 - [error] [s7 endpoint:98f8fac5.37e3b8] Failure (Bad values)
1 Sep 11:58:47 - [error] [s7 endpoint:98f8fac5.37e3b8] Failure (Bad values)
1 Sep 11:58:47 - [info] [mindconnect:7e246adb.8e91f4] Posted last message at Wed Sep 01 2021 11:58:44 GMT+0530 (IST)
1 Sep 11:58:47 - [info] [mindconnect:11e59b80.be70a5] Posted last message at Wed Sep 01 2021 11:58:41 GMT+0530 (IST)
1 Sep 11:58:47 - [info] [mindconnect:ad63aab3.0c1568] 0 requests, 0 successful w ith 0 errors and 0 still pending
1 Sep 11:58:47 - [info] [mindconnect:ac4a441f.879738] 0 requests, 0 successful w ith 0 errors and 0 still pending
1 Sep 11:58:47 - [info] [mindconnect:247a342.79ab6cc] 0 requests, 0 successful w ith 0 errors and 0 still pending
1 Sep 11:58:47 - [info] [mindconnect:11e59b80.be70a5] 1 requests, 1 successful w ith 0 errors and 0 still pending
1 Sep 11:58:47 - [info] [mindconnect:7e246adb.8e91f4] 1 requests, 1 successful w ith 0 errors and 0 still pending
1 Sep 11:58:47 - [info] [mindconnect:19c91f52.ddb021] 0 requests, 0 successful w ith 0 errors and 0 still pending
1 Sep 11:58:47 - [info] [mindconnect:ef703a64.56a848] 0 requests, 0 successful w ith 0 errors and 0 still pending
1 Sep 11:58:50 - [red] Uncaught Exception:
1 Sep 11:58:50 - Error: read ECONNRESET
at TCP.onread (net.js:622:25)

It seems that you have a problem with mindconnect, whatever that is. I would start by addressing that issue.