hassio-addons/addon-node-red



The issue has been closed
no working websocket connection to HA #340
tarbax posted onGitHub
how do i fix this issue ? i got this after doing a recovery from a backup (ssd failed!)
node red log:
[server:Home Assistant TARBAX] WebSocket Connected to http://hassio/homeassistant
settings
Hassio log:
19-10-15 19:09:58 INFO (MainThread) [hassio.api.proxy] Home Assistant WebSocket API request initialize
19-10-15 19:09:58 INFO (MainThread) [hassio.api.proxy] WebSocket access from a0d7b954_nodered
19-10-15 19:09:58 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start
resp = await task
File "/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py", line 458, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 119, in impl
return await handler(request)
File "/usr/src/hassio/hassio/api/security.py", line 111, in token_validation
return await handler(request)
File "/usr/src/hassio/hassio/api/proxy.py", line 203, in websocket
client = await self._websocket_client()
File "/usr/src/hassio/hassio/api/proxy.py", line 114, in _websocket_client
url, heartbeat=30, verify_ssl=False
File "/usr/local/lib/python3.7/site-packages/aiohttp/client.py", line 738, in _ws_connect
headers=resp.headers)
aiohttp.client_exceptions.WSServerHandshakeError: 403, message='Invalid response status', url='http://172.30.32.1:8123/api/websocket
i discovered that i have 2 hassio system users: