[BUG] Websocket with external link does not connect

Issue #24 resolved
Former user created an issue

Expected Behavior stable websocket connection Actual Behavior keeps reconnecting and websocket connection is not happening when i use my external link to access my hass , whith local it works like charm. in my setup i use dataplicity with nginx to proxy 80->8123. when i connect locally to po 80 or 8123 web socket initiated and works fine but when i use external link it dows not work with the hassapp , i use the the external link to my hass with chrome or any other browser i can see websocket is working and communicating but through the app its not working.

2019-03-14 02:09:08 INFO (MainThread) [homeassistant.components.http.view] Serving /api/config to 127.0.0.1 (auth: True) 2019-03-14 02:09:08 INFO (MainThread) [homeassistant.components.http.view] Serving /api/states to 127.0.0.1 (auth: True) 2019-03-14 02:09:20 INFO (MainThread) [homeassistant.components.http.view] Serving /description.xml to 192.168.8.145 (auth: False) 2019-03-14 02:10:14 INFO (MainThread) [homeassistant.components.http.view] Serving /description.xml to 192.168.8.145 (auth: False)

above logs with hassapp with external link if i use link locally it will work as expected. even if websocket is not connected i can control my devices , but if i turn off or on from other devices it will not update on my hassapp

Specifications App Version: alpha 8 iOS Version:12.1.4 HA Version:88.2 Platform:raspberry pi 3b+

Comments (2)

  1. Log in to comment