# Node-Red restarts at some random points

**URL:** <https://discourse.nodered.org/t/node-red-restarts-at-some-random-points/28011>\
**Category:** General\
**Created:** [8 June 2020 20:39 UTC](https://discourse.nodered.org/t/node-red-restarts-at-some-random-points/28011 "2020-06-08T20:39:39Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![MeisterQ](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@MeisterQ](https://discourse.nodered.org/u/MeisterQ)\
**Post date:** [8 June 2020 20:39 UTC](https://discourse.nodered.org/t/node-red-restarts-at-some-random-points/28011/1 "2020-06-08T20:39:39Z")

</div>

Hello,

since i updated my Node-Red to v1.0.6 with the installer script from the page, its restarting at some random points.

The log shown in "node-red-log" shows me following:

8 Jun 22:34:43 - [red] Uncaught Exception:  
8 Jun 22:34:43 - Error: connect ETIMEDOUT 192.168.2.169:49000  
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)  
nodered.service: Main process exited, code=exited, status=1/FAILURE  
nodered.service: Failed with result 'exit-code'.  
nodered.service: Service RestartSec=100ms expired, scheduling restart.  
nodered.service: Scheduled restart job, restart counter is at 4.  
Stopped Node-RED graphical event wiring tool.  
Started Node-RED graphical event wiring tool.  
8 Jun 22:34:44 - [info]  
Welcome to Node-RED

Any idea?

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [8 June 2020 21:08 UTC](https://discourse.nodered.org/t/node-red-restarts-at-some-random-points/28011/2 "2020-06-08T21:08:19Z")

</div>

it seems to be timing out trying to connect to 192.168.2.169 port 49000  
Do you know what that is ?

---

<div class="post-metadata">

**Author:** ![MeisterQ](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@MeisterQ](https://discourse.nodered.org/u/MeisterQ)\
**Post date:** [9 June 2020 11:40 UTC](https://discourse.nodered.org/t/node-red-restarts-at-some-random-points/28011/3 "2020-06-09T11:40:09Z")

</div>

192.168.2.169 is my Fritzbox, and port 49000 is used for IOBrokers TR-064 Adapter, which is monitoring the calls on my Fritzbox.

See more here. The problem got fixed.

> <https://github.com/node-red/node-red/issues/2602#event-3421971325>
>
> Please tell us about your environment:
> \[1.0.6\] Node-RED version:
> \[10.20.1\] Node.js version:
> \[6.14.4\] npm version:
> \[Raspbian\] Platform/OS:
> \[Firefox 76.0.1\] Browser:
> Hello,
> my Node-Red restarts randomly after i updated...

---

<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:** [9 June 2020 16:02 UTC](https://discourse.nodered.org/t/node-red-restarts-at-some-random-points/28011/4 "2020-06-09T16:02:28Z")

</div>

> [@MeisterQ](#):
>
> and port 49000 is used for IOBrokers TR-064 Adapter, which is monitoring the calls on my Fritzbox

Is it a custom node or are you using built in TCP/UDP nodes?

If its a custom node, then the developer should be made aware of his node crashing node-red (basically - no node should bring down node-red - there should be no `Uncaught Exception`s)

If you can find it in the flows library, there may be a link to the developers repository where you should be able to raise an issue (if one doesnt exist already). If its not abandoned, the dev should fix it up.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [9 June 2020 18:19 UTC](https://discourse.nodered.org/t/node-red-restarts-at-some-random-points/28011/5 "2020-06-09T18:19:40Z")

</div>

Already identified -see github issue linked above

---

<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:** [9 June 2020 18:50 UTC](https://discourse.nodered.org/t/node-red-restarts-at-some-random-points/28011/6 "2020-06-09T18:50:12Z")

</div>

Obviously I didn't read that properly 👨‍🦯 DOH!

---

<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:** [8 August 2020 18:50 UTC](https://discourse.nodered.org/t/node-red-restarts-at-some-random-points/28011/7 "2020-08-08T18:50:13Z")

</div>

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