Having issues with your DietPi installation or found a bug? Post it here.
Ian
Posts: 14 Joined: Thu Feb 28, 2019 12:45 pm
Post
by Ian » Sat Feb 13, 2021 10:08 am
Hello
Every couple of days Node Red seems to keep failing.
Code: Select all
[FAILED] DietPi-Services | ● node-red.service - Node-Red (DietPi)
Loaded: loaded (/etc/systemd/system/node-red.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2021-02-12 05:12:18 CET; 1 day 4h ago
Process: 10985 ExecStart=/usr/local/bin/node-red -u /mnt/dietpi_userdata/node-red (code=exited, status=1/FAILURE)
Main PID: 10985 (code=exited, status=1/FAILURE)
Any ideas why?
DietPi v6.34.3 and APT updates up to date
Thanks
Joulinar
Posts: 3688 Joined: Sat Nov 16, 2019 12:49 am
Post
by Joulinar » Sun Feb 14, 2021 12:26 am
Hi,
you could check for some log file
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Ian
Posts: 14 Joined: Thu Feb 28, 2019 12:45 pm
Post
by Ian » Sun Feb 14, 2021 12:43 pm
Thanks apart from pinging Blynk Cloud every 15 seconds, I found this:
Code: Select all
Feb 11 05:12:10 DietPi node-red[795]: 11 Feb 05:12:09 - [info] [blynk-ws-client:Blynk Cloud] ping
Feb 11 05:13:04 DietPi node-red[795]: 11 Feb 05:13:03 - [red] Uncaught Exception:
Feb 11 05:13:07 DietPi node-red[795]: 11 Feb 05:13:06 - Error: WebSocket is not open: readyState 2 (CLOSING)
Feb 11 05:13:07 DietPi node-red[795]: at WebSocket.send (/mnt/Crucial_120GB/dietpi_userdata/node-red/node_modules/ws/lib/websocket.js:322:19)
Feb 11 08:14:48 DietPi systemd[1]: Started Node-Red (DietPi).
Do you think it could be a problem with the Blynk WebSocket?
Joulinar
Posts: 3688 Joined: Sat Nov 16, 2019 12:49 am
Post
by Joulinar » Sun Feb 14, 2021 9:08 pm
are you able to deactivate this Blynk Cloud connection?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Ian
Posts: 14 Joined: Thu Feb 28, 2019 12:45 pm
Post
by Ian » Tue Feb 16, 2021 3:55 pm
Yes I've disconnected the connection and now what to see what happens.
Joulinar
Posts: 3688 Joined: Sat Nov 16, 2019 12:49 am
Post
by Joulinar » Tue Feb 16, 2021 4:10 pm
is node red working now if your restart the service?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team