hassio-addons/addon-node-red

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 image

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: image


Please check to see if you have an ip_bans.yaml in your configuration folder, and remove it if it exists.

posted by sinclairpaul over 5 years ago

Will assume as there is no update on Discord or here that this resolved your issue.

posted by sinclairpaul over 5 years ago

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.

posted by addons-assistant[bot] over 5 years ago

Fund this Issue

$0.00
Funded

Pull requests