# Node-RED stability

**URL:** <https://discourse.nodered.org/t/node-red-stability/52495>\
**Category:** General\
**Created:** [21 October 2021 06:59 UTC](https://discourse.nodered.org/t/node-red-stability/52495 "2021-10-21T06:59:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![noignavi](https://avatars.discourse-cdn.com/v4/letter/n/90db22/32.png) [@noignavi](https://discourse.nodered.org/u/noignavi)\
**Post date:** [21 October 2021 06:59 UTC](https://discourse.nodered.org/t/node-red-stability/52495/1 "2021-10-21T06:59:35Z")

</div>

Hi all.  
new to Node-RED, I found the way to send messages with Telegram when a S7 tag is true.

It works fine, but after a while node-RED looks to crash and I got the following messages into the console:

```auto
21 Oct 04:52:45 - [red] Uncaught Exception:
21 Oct 04:52:45 - Error: read ECONNRESET
    at TCP.onStreamRead (internal/stream_base_commons.js:209:20)

```

I am using Windows2016 ServerDatacenter updated.  
node and npm are the following:  
v14.18.1  
6.14.15

Any hints where to look for?  
Thank you.

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [21 October 2021 07:22 UTC](https://discourse.nodered.org/t/node-red-stability/52495/2 "2021-10-21T07:22:38Z")

</div>

I'd try disabling the node your using to send messages to Telegram and see if the errors go away

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [21 October 2021 08:16 UTC](https://discourse.nodered.org/t/node-red-stability/52495/3 "2021-10-21T08:16:30Z")

</div>

Which telegram node are you using? Do you have other nodes deployed? How long before it happens - is that based on number of messages sent or time?

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [21 October 2021 08:37 UTC](https://discourse.nodered.org/t/node-red-stability/52495/4 "2021-10-21T08:37:22Z")

</div>

My guess is the S7 node is the issue not telegram. What S7 nodes are you using? node-red-contrib-???????

Go to its repository and read the open and closed issues - I believe this is not an uncommon issue with S7 nodes.

The truth is a contrib node should **never** crash node-red. Node-red is incredibly stable but if the node creators don't correctly handle errors they can bring node-red down

---

<div class="post-metadata">

**Author:** ![noignavi](https://avatars.discourse-cdn.com/v4/letter/n/90db22/32.png) [@noignavi](https://discourse.nodered.org/u/noignavi)\
**Post date:** [21 October 2021 11:56 UTC](https://discourse.nodered.org/t/node-red-stability/52495/5 "2021-10-21T11:56:59Z")

</div>

I am using node-red-contrib-s7, and probably it is the issue. I took a look to issues in git and found a similar problem. I am going to try to use the older node-red-contrib-s7comm and see if it will work stable.

I will keep you updated for sure!

Thank you.

---

<div class="post-metadata">

**Author:** ![noignavi](https://avatars.discourse-cdn.com/v4/letter/n/90db22/32.png) [@noignavi](https://discourse.nodered.org/u/noignavi)\
**Post date:** [24 October 2021 15:57 UTC](https://discourse.nodered.org/t/node-red-stability/52495/6 "2021-10-24T15:57:11Z")

</div>

It looks node-red-contrib-s7 has issue when connection is not always good as well in my case, where the connection is done to a PLC behind an 3G router.

node-red-contrib-s7comm looks to be more stable and looks working after a couple of days.

Thank you for the hints.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [7 November 2021 15:57 UTC](https://discourse.nodered.org/t/node-red-stability/52495/7 "2021-11-07T15:57:36Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
