Node-Red / Supervisor Comm Issue

Having a weird issue with Node-Red who suddenly can no longer connect with the supervisor. I don’t see anything in the logs yet but it results in the below picture. When I restart node-red everything is working again. IDK If it’s node-red or supervisor.

image

In a call service, the server drop down, how many entries are there?

First thing I checked. Only 1. And if it were duplicates or a misconfigured one I don’t believe restarting the node-red service would resolve it.

Are you getting these after a restart or is it constant once it starts? If you’re not rebooting are you sure ha isn’t acting up. Perhaps another addon that has an integration where you would see interrupts in history.

Sometimes the install just gets corrupted and a remove and reinstall can correct it. It’s a fairly quick process.

Backup flows and NR. Stop NR, remove NR. Go to /config rename NR folder to node-red.old. Reboot the system → settings, hardware, pi, three dots top right, reboot host. Or however you reboot your hardware at an os level. Then reinstall.

Happens once it’s been running for a few hours. It’s not consistent. A new NR just got released so I am going to update to that and see how it goes.

I don’t know enough about how NR talks to HA. My concern is it could be the NR->HA Integration piece that is crashing too. I just don’t know and logs aren’t providing much. All I know is the listener basically stops listening.

I will consider the reinstall if this update doesn’t resolve the issue.

I suspect the issue is here:

5 Aug 10:18:46 - [info] [server:Home Assistant] Connecting to http://supervisor/core
5 Aug 10:18:51 - [info] [server:Home Assistant] Connecting to http://supervisor/core
5 Aug 10:18:56 - [info] [server:Home Assistant] Connecting to http://supervisor/core
5 Aug 10:19:01 - [info] [server:Home Assistant] Connecting to http://supervisor/core
5 Aug 10:19:06 - [info] [server:Home Assistant] Connecting to http://supervisor/core
5 Aug 10:19:11 - [info] [server:Home Assistant] Connecting to http://supervisor/core
5 Aug 10:19:16 - [info] [server:Home Assistant] Connecting to http://supervisor/core
5 Aug 10:19:21 - [info] [server:Home Assistant] Connecting to http://supervisor/core
5 Aug 10:19:26 - [info] [server:Home Assistant] Connecting to http://supervisor/core
5 Aug 10:19:31 - [info] [server:Home Assistant] Connecting to http://supervisor/core
5 Aug 10:19:36 - [info] [server:Home Assistant] Connecting to http://supervisor/core
5 Aug 10:19:41 - [info] [server:Home Assistant] Connecting to http://supervisor/core

for me, after update supervisor, node red stop and not restart with this errore
s6-rc: info: service legacy-services: stopping
[13:37:56] INFO: nginx stoped, restarting…
s6-svwait: fatal: supervisor died
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

1 Like