Closed lightmaster closed 4 years ago
Figured out why it couldn't connect. The "I use the Home Assistant Add-on" checkbox was unchecked in the configuration node, however I have never messed with that node and have no idea how it got unchecked.
It sounds to me you are manually updating the Home Assistant node on the palette, as this change is not in the add on version yet. By doing that you may run into these kinds of issues.
@sinclairpaul I met the exact same issue, and I hadn't messed with this option before. Isn't it a real bug that other might encounter ? And how to solve so that it doesn't mess with future updates ?
@sinclairpaul
I run Hass.io and updated the Node-Red addon like I always do, via the Add-ons page and also got the same problem.
20-02-24 19:55:22 INFO (MainThread) [hassio.api.security] /dns/info access from a0d7b954_nodered 20-02-24 19:55:32 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize 20-02-24 19:55:32 WARNING (MainThread) [hassio.api.proxy] Unauthorized WebSocket access!
Took a few hours until I also found that the "I use the Home Assistant Add-on" checkbox was unchecked.
Like mathieu-mp, I have never touched this setting before, that I can remember.
The latest release should have automatically changed this for you, however will add something to the docs as a troubleshooting step. There is really nothing apart from that which can be done from the addon perspective (the challenge is around the changes to the node configuration).
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.
Problem/Motivation
After restarting Node-RED from supervisor, Node-RED is no longer connecting to Home assistant and is throwing an error about an "Invalid access token or password"
Expected behavior
Actual behavior
Steps to reproduce
Proposed changes