I’m having the same issue. Was working so well and then just randomly just stopped last night. It’s worth noting that I’m using the community version of the addon, found here not the notoriousbdg one some of you noted. It seems like there’s a bug currently logged here which looks like it might be related but… not sure.
Really hoping this comes back soon, I’ve spent quite a bit of work on ironing out all my automation flows recently.
I’m having the same issue. I’m running hass.io 0.72.1 and didn’t do any config change or software update in the last 2 weeks, but suddenly this morning my Node-Red automations stopped working. I’ve tried all combinations of URL and ports I could imagine, but only the external URL for HASS worked, as markomannux mentioned. Luckly I had hairpin NAT already configured, so this saved my day. Thanks marko! Still curious what’s the issue…
yes, same here … suddenly having this issue since this evening without any changes to any config
it happened after a reboot the first time
I just did a complete new install of node-red and the issue is happening as soon I’m adding a flow for xiaomi or kodi… a simple inject and debug was working
Got it working (I think) with the replacement of my connection string to my ducks external address. When I say “I think” that’s because periodically it seems to lose the connection to my HASSIO. Automation’s see to be working for now but as someone else noticed this my notoriousbdg version has been deprecated. Having to rely on the internet being up is a little disconcerting and would rather use the previously working http://hassio/homeassistant connection path
I tried the HA IP and port as well but it did not work. I tried the DUCKDNS URL as well without luck … how / where did you apply your workarounds and did you do anything else?
Is this a Node-Red issue or a HA issue? … ever since I’m having this issue my HUE lamps as well , they are “UNAVAILABLE” too
I applied the IP and port in one of the HA nodes, under Server, click on the edit button, then the Base URL.
The other thing I also noticed is the load, 1 minute and 5 minute, increased substantially with node red running, goes from the typical 0.5 to as high as 3. I stopped node red and the load went back to normal, 0.5.
As I mentioned above, I stopped node red, then I hit Rebuild, restarted. Changed the Base URL back to http://hassio/homeassistant, everything is working normally again. Try it and see if that fixes it.
I’m still seeing the same issue after update to Node-Red add-on v0.50 and Hassio 0.74.1.
25 Jul 08:54:02 - [error] [server:Home Assistant] Home assistant connection failed with error: Connection to home assistant could not be established with config: http://hassio/homeassistant <password redacted>
Did the update and still didnt work with the http://hassio/homeassistant address, changed my node address to the http://ip:8123 and it works . Although still have the connection errors in node red logs
I migrated from node red under notoriousdbg add on to the one discussed in this string and I think all is well. I first exported all of my flows and then uninstalled the old node red and installed the new node red. I did run into the same problem with http://hassio/homeassistant but after reboot it looks like it’s working. I tried to set up a server using http://hassio/homeassistant with my password but that did not work. The server that was generated by node red with what I think is a derived API key worked. When I imported the old flows the server that was part of that flow had to be deleted and in most cases a restart of node red was necessary to stop the connection errors.