Ok a few points to rule out issue. remove the ha_key section its no longer needed as you have a token.
One further point, you have appdaemon configured to use your full dns which means every time appdaemon contacts ha it goes out of your network and back in again. If your internet stops working so will appdaemon. I suggest you look at a reverse proxy which will allow you to expose and internal endpoint on as well as an external.
I just upgraded to 0.83.0 and I now have this issue.
I am having the same issue on HA 98.5 running App Daemon VS 4.0.1
Tyler I’d suggest checking that your aha dashboard is pointing at your local ip as well as this you need to create a token?
Also that is a significantly old version of HA suggest an update as the first point of call
Getting this auth error, but don’t have Appdaemon installed. Could that be it, or something else?
Hassios 5.9 in kvm on Ubuntu 18.04
Same problem here.
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/http.py:254
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 25 de janeiro de 2022 20:08:08 (1496 occurrences)
Last logged: 21:53:28
- [1715720808] Disconnected: Did not receive auth message within 10 seconds
- [1725545944] Disconnected: Did not receive auth message within 10 seconds
- [1683588864] Disconnected: Did not receive auth message within 10 seconds
- [1675903712] Disconnected: Did not receive auth message within 10 seconds
- [1661942344] Disconnected: Did not receive auth message within 10 seconds
I’ve moved to to tileboard ive found that to be better
I dont use Appdaemon, hadashboard or tileboard. And everything is working fine.
Same problem here. My log file is literally full of this error message (>4000 /day) and I haven’t found any relevant thread on how to fix. Any clue ?
I didn’t have it but since last update i’m getting these lots of time every day too. id someone has a clue or a solution, please advice
This error is appearing just after the latest HA update for me. Never saw it before
I have the same problem as well
For anyone else using AppDaemon and docker-compose
, the current docker-compose
looks like this:
# docker-compose.yaml
version: '3.8'
services:
appdaemon:
container_name: appdaemon
image: acockburn/appdaemon:latest
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime:ro
- /opt/homeassistant/config/appdaemon:/conf # Set which local directory will contain all your app daemon configuration
ports:
- "${PORT_APP_DAEMON}:${PORT_APP_DAEMON}"
environment:
- TZ=${TZ}
- HA_URL=http://${HA_IP}:${PORT_HA}
- HA_TOKEN=${HA_APPDAEMON_KEY}
- DASH_URL=http://${HA_IP}:${PORT_APP_DAEMON}
depends_on:
- homeassistant
labels:
autoheal: "true"
# this section is completely optional
healthcheck:
test: curl -fSs http://127.0.0.1:${PORT_APP_DAEMON} || exit 1
start_period: 90s
timeout: 10s
interval: 5s
retries: 3
All the following variables live in a .env
file:
-
PORT_APP_DAEMON
→ default:5050
-
TZ
→ example:Europe/Berlin
-
HA_IP
→ IP address to your Home Assistant instance -
PORT_HA
→ default:8123
-
HA_APPDAEMON_KEY
→ generate a Long Lived Access Token in Home Assistant
And then, you need to edit (as mentioned by @DobriyS) the /opt/homeassistant/config/appdaemon/appdaemon.yaml
file to make sure the Long Lived Access Token is added there too as well as the Home Assistant IP address:
# appdaemon.yaml
appdaemon:
time_zone: CET
latitude: 51.725
longitude: 14.3434
elevation: 0
time_zone: Europe/Berlin
plugins:
HASS:
type: hass
ha_url: <HA_IP>:<PORT_HA>
token: <HA_APPDAEMON_KEY>
cert_verify: True
http:
url: <HOST_IP>:<PORT_APP_DAEMON>
admin:
api:
hadashboard:
Neither do I, and it has started for me as well. I am on 2023.7.3, but it references 2023.4…
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/http.py:51
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 3 August 2023 at 20:47:29 (3 occurrences)
Last logged: 3 August 2023 at 22:58:50
[547300399440] from 127.0.0.1 (Home Assistant/2023.4 (io.robbie.HomeAssistant; build:2023.460; iOS 16.6.0)): Disconnected: Did not receive auth message within 10 seconds
[547270845264] from 127.0.0.1 (Home Assistant/2023.4 (io.robbie.HomeAssistant; build:2023.460; iOS 16.6.0)): Disconnected: Did not receive auth message within 10 seconds
[547138817424] from 127.0.0.1 (Home Assistant/2023.4 (io.robbie.HomeAssistant; build:2023.460; iOS 16.6.0)): Disconnected: Did not receive auth message within 10 seconds
Same here…
No clue as to why or where this comes from…
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/http.py:50
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 09:42:37 (1 occurrences)
Last logged: 09:42:37
[140386469862208] from 192.168.50.151 (Home Assistant/2023.4 (io.robbie.HomeAssistant; build:2023.460; iOS 15.6.0)):
Disconnected: Did not receive auth message within 10 seconds
Same, not sure if this is caused by upgrading my docker or pfsense haproxy package. But before both, I had zero issues accessing it remotely or via dns. I can still access it via ip:port.
Same Problems. Recently updated to RPI Docker Version 2023.9.3 for home assistant/home-assistant.
SOLVED for my situation. HA was running but not frontend was loading. From the iPad and iPhone, I was only seeing a blank screen with a Gear for the (“Settings”) “Companion App” Settings. Go to “Debugging” and “RESET FRONTEND CACHE”. Close and restart the HA app and it works!
My android companion app would not load and finally show 3 options on-screen including ‘wait’. Diving into the HAOS LogViewer, I found this
Disconnected: Did not receive auth message within 10 seconds
Anyways, the issue was I had two wifi SSIDs (same network) at home, and in the companion app, I had added just one ‘known’ wifi SSID. My issue happens when I’m connected to the 2nd wifi SSID.
The solution for me was to add the second home SSID to the known network inside the companion app settings in the app.
how did you add another wifi ssid in the companion app? thanks