# Help needed, Node-red crashed!

**URL:** <https://discourse.nodered.org/t/help-needed-node-red-crashed/64462>\
**Category:** General\
**Created:** [28 June 2022 12:02 UTC](https://discourse.nodered.org/t/help-needed-node-red-crashed/64462 "2022-06-28T12:02:14Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![henkkas](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/henkkas/32/39844_2.png) [@henkkas](https://discourse.nodered.org/u/henkkas)\
**Post date:** [28 June 2022 12:02 UTC](https://discourse.nodered.org/t/help-needed-node-red-crashed/64462/1 "2022-06-28T12:02:15Z")

</div>

After more the a year of working with node-red. Now all over sudden, Node-red chrashed.

Can anyone help me with a solution??

```auto
:~ $ node-red
28 Jun 14:01:19 - [info]

Welcome to Node-RED
===================

28 Jun 14:01:19 - [info] Node-RED version: v2.2.0
28 Jun 14:01:19 - [info] Node.js version: v15.14.0
28 Jun 14:01:19 - [info] Linux 5.10.63-v7+ arm LE
28 Jun 14:01:22 - [info] Loading palette nodes
28 Jun 14:1:26 - [s7comm-Error] - Installation of Module net-keepalive failed because we might be on the wrong OS. OS=linux
28 Jun 14:1:26 - [s7comm-Info] - Debug configuration for logLevelNodeS7:{"debug":0,"silent":true}
28 Jun 14:1:26 - [s7comm-Info] - Debug configuration for logLevelNodeRED:{"debug":2,"silent":true}
28 Jun 14:01:27 - [info] Dashboard up and running
28 Jun 14:01:29 - [info] Dashboard version 3.1.6 started at /ui
28 Jun 14:01:31 - [info] Settings file : /home/pi/.node-red/settings.js
28 Jun 14:01:31 - [info] Context store : 'default' [module=localfilesystem]
28 Jun 14:01:31 - [info] User directory : /home/pi/.node-red
28 Jun 14:01:31 - [warn] Projects disabled : editorTheme.projects.enabled=false
28 Jun 14:01:31 - [warn] Flows file name not set. Generating name using hostname.
28 Jun 14:01:31 - [info] Flows file : /home/pi/.node-red/flows_pipi.json
28 Jun 14:01:31 - [info] Server now running at http://127.0.0.1:1880/
28 Jun 14:01:34 - [info] Starting flows
28 Jun 14:01:35 - [info] [cronplus:Midnight] createTask - index: 0, static: true, opt: {"name":"schedule1","topic":"topic1","payloadType":"date","payload":"","expressionType":"cron","expression":"00 59 23 * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
28 Jun 14:01:37 - [info] Started flows
28 Jun 14:01:41 - [red] Uncaught Exception:
28 Jun 14:01:41 - [error] Error: getaddrinfo ENOTFOUND 50:2c:c6:9d:7f:4e
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:69:26)

```

---

<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:** [28 June 2022 12:11 UTC](https://discourse.nodered.org/t/help-needed-node-red-crashed/64462/2 "2022-06-28T12:11:22Z")

</div>

Are you certain that is the end of the log? There should be a stack trace at the end. That stack trace should point to the issue. Without it we are guessing.

---

<div class="post-metadata">

**Author:** ![henkkas](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/henkkas/32/39844_2.png) [@henkkas](https://discourse.nodered.org/u/henkkas)\
**Post date:** [28 June 2022 12:15 UTC](https://discourse.nodered.org/t/help-needed-node-red-crashed/64462/3 "2022-06-28T12:15:12Z")

</div>

@Steve-Mcl , I made a wrong configuration at ip address of GREE HVAC.

```auto
Welcome to Node-RED
===================
28 Jun 14:12:48 - [info] Node-RED version: v2.2.0
28 Jun 14:12:48 - [info] Node.js version: v15.14.0
28 Jun 14:12:48 - [info] Linux 5.10.63-v7+ arm LE
28 Jun 14:12:51 - [info] Loading palette nodes
28 Jun 14:12:55 - [s7comm-Error] - Installation of Module net-keepalive failed because we might be on the wrong OS. OS=linux
28 Jun 14:12:55 - [s7comm-Info] - Debug configuration for logLevelNodeS7:{"debug":0,"silent":true}
28 Jun 14:12:55 - [s7comm-Info] - Debug configuration for logLevelNodeRED:{"debug":2,"silent":true}
28 Jun 14:12:56 - [info] Dashboard up and running
28 Jun 14:12:59 - [info] Dashboard version 3.1.6 started at /ui
28 Jun 14:13:00 - [info] Settings file : /home/pi/.node-red/settings.js
28 Jun 14:13:00 - [info] Context store : 'default' [module=localfilesystem]
28 Jun 14:13:00 - [info] User directory : /home/pi/.node-red
28 Jun 14:13:00 - [warn] Projects disabled : editorTheme.projects.enabled=false
28 Jun 14:13:00 - [warn] Flows file name not set. Generating name using hostname.
28 Jun 14:13:00 - [info] Flows file : /home/pi/.node-red/flows_pipi.json
28 Jun 14:13:00 - [info] Server now running at http://127.0.0.1:1880/
28 Jun 14:13:03 - [info] Starting flows
28 Jun 14:13:05 - [info] [cronplus:Midnight] createTask - index: 0, static: true, opt: {"name":"schedule1","topic":"topic1","payloadType":"date","payload":"","expressionType":"cron","expression":"00 59 23 * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
28 Jun 14:13:07 - [info] Started flows
28 Jun 14:13:10 - [red] Uncaught Exception:
28 Jun 14:13:10 - [error] Error: getaddrinfo ENOTFOUND 50:2c:c6:9d:7f:4e
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:69:26)
nodered.service: Main process exited, code=exited, status=1/FAILURE
nodered.service: Failed with result 'exit-code'.
nodered.service: Service RestartSec=20s expired, scheduling restart.
nodered.service: Scheduled restart job, restart counter is at 50.
Stopped Node-RED graphical event wiring tool.
Started Node-RED graphical event wiring tool.
28 Jun 14:13:32 - [info]

```

---

<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:** [28 June 2022 12:17 UTC](https://discourse.nodered.org/t/help-needed-node-red-crashed/64462/4 "2022-06-28T12:17:15Z")

</div>

> [@henkkas](#):
>
> I made a wrong configuration at ip address of GREE HVAC

Ok so 2 things...

1. You can fix this by starting node red with the safe flag `node-red --safe`
2. You should raise an issue on the gree node GitHub repository ( It is not handling internal errors correctly)

---

<div class="post-metadata">

**Author:** ![henkkas](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/henkkas/32/39844_2.png) [@henkkas](https://discourse.nodered.org/u/henkkas)\
**Post date:** [28 June 2022 12:22 UTC](https://discourse.nodered.org/t/help-needed-node-red-crashed/64462/5 "2022-06-28T12:22:25Z")

</div>

@Steve-Mcl , Thanks very much for your help. I was able now to correct the error in my flow and after deploy it started again.

I would like to do what you suggest, to raise the issue on the gree node GitHub repository. But I am not sure how to do that.....

---

<div class="post-metadata">

**Author:** ![henkkas](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/henkkas/32/39844_2.png) [@henkkas](https://discourse.nodered.org/u/henkkas)\
**Post date:** [28 June 2022 12:27 UTC](https://discourse.nodered.org/t/help-needed-node-red-crashed/64462/6 "2022-06-28T12:27:26Z")

</div>

@Steve-Mcl , Ok I think I found it. With report on "node-red-contrib-gree-hvac".

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [28 June 2022 12:28 UTC](https://discourse.nodered.org/t/help-needed-node-red-crashed/64462/7 "2022-06-28T12:28:29Z")

</div>

Hi @henkkas

I see you just submitted a report about the node on [flows.nodered.org](http://flows.nodered.org). That doesn't get sent to the maintainer of the node - just to me so we can check for content that should not be on the site.

To raise an issue against the node itself, you'll need to do that on GitHub here: [Issues · inwaar/node-red-contrib-gree-hvac · GitHub](https://github.com/inwaar/node-red-contrib-gree-hvac/issues)

---

<div class="post-metadata">

**Author:** ![henkkas](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/henkkas/32/39844_2.png) [@henkkas](https://discourse.nodered.org/u/henkkas)\
**Post date:** [28 June 2022 12:37 UTC](https://discourse.nodered.org/t/help-needed-node-red-crashed/64462/8 "2022-06-28T12:37:33Z")

</div>

@knolleary , thanks for that. I have done so.

I saw that last year the issue was raised also, but no follow up occured I am sad to see.

---

<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:** [12 July 2022 12:38 UTC](https://discourse.nodered.org/t/help-needed-node-red-crashed/64462/9 "2022-07-12T12:38:18Z")

</div>

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