zachowj / node-red-contrib-home-assistant-websocket

Node-RED integration with Home Assistant
https://zachowj.github.io/node-red-contrib-home-assistant-websocket/
MIT License
508 stars 98 forks source link

home assitant connection in docker #174

Closed PierreMacherel closed 4 years ago

PierreMacherel commented 4 years ago

Describe the bug the message
WARNING (MainThread) [homeassistant.components.websocket_api.http.connection.XXXXXXX] Disconnected: Did not receive auth message within 10 seconds is emitted every 13 seconds in home assistant. Note that the flows work as expected (I receive events and I can call service).

To Reproduce Start Home assistant Deploy a flow (I don't know how to disable flow, so I can't tell if the problem would persist if no node-red-contrib-home-assistant-websocket node is used).

Expected behavior No warning message

Environment:

Other:

Additional context The home assistant and node red docker are ruining on the same computer, in host network. In node red, the home assistant is configured as follows: [ ] I use Hass.io Base URL: http://127.0.0.1:8123 Access Token: [ ] Use Legacy API Password [x] Accept Unauthorized SSL Certificates State Boolean: y|yes|true|on|home|open [x] Cache Autocomplete Results

Shunting down the node red container stop the warnings in home assistant container.

zachowj commented 4 years ago

Do you still get this after a reboot of NR? I tried to reproduce this and have been unable to do so.

PierreMacherel commented 4 years ago

I still get this after a reboot. I found a way to get ride of the error message :