Hi,
I restarted my HA yesterday and since then Node-Red has not been able to connect back to HA.
I have multiple repeating logs in NR:
11 Jul 10:24:55 - [info] [server:Home Assistant (auto)] Connecting to http://supervisor/core
11 Jul 10:24:55 - [info] [server:Home Assistant (auto)] Connected to http://supervisor/core
11 Jul 10:24:56 - [info] [server:Home Assistant (auto)] Connection closed to http://supervisor/core
“Home Assistant (auto)” is the name of my sever connection, its using the “I use the Home Assistant Add-on” option.
I believe the corresponding logs in Supervisor are:
22-07-11 10:29:05 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
22-07-11 10:29:05 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request running
22-07-11 10:29:05 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API error: Received message 258:WebSocketError(<WSCloseCode.MESSAGE_TOO_BIG: 1009>, 'Message size 4322971 exceeds limit 4194304') is not str
22-07-11 10:29:05 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API connection is closed
NR was showing nodes with “running” text underneath, every few seconds showing “connecting” for a split second. After selecting a server on a node, entities aren’t available for selection, sometimes I see the “deploy a valid server config for autocomplete to show results” toast message.
I’ve tried the “backup, rename folder, uninstall, restart, reinstall” option but didn’t change anything. Have also tried to connect to HA with username/access_token, instead of using the “I use the Home Assistant Add-on” option.
I’ve tried NR without importing any flows and, after importing, I’ve disabled all flows and restarted multiple times, both NR and HA.
Node-RED: 12.0.2
Home Assistant 2022.7.3
Supervisor 2022.07.0
Operating System 8.2
Please let me know if there is any more information I can share. Am really not sure what has changed, or how to debug the issue any further.
Regards,
Mike