Open smarthomefamilyverrips opened 1 month ago
Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (websocket_api
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
websocket_api documentation websocket_api source (message by IssueLinks)
I have the same issue in my system, but the opposite experience in terms of the type of devices it affects. Only iOS devices show up in my logs. I have a feeling it is due to the devices not being used that often to log on to the system, maybe?
I have the same issue in my system, but the opposite experience in terms of the type of devices it affects. Only iOS devices show up in my logs. I have a feeling it is due to the devices not being used that often to log on to the system, maybe?
OK so it is not IOS or Android only then.... your suggestion sounds logical that could be because of less active devices and this would even count for part of the devices in my list, but one of them is my main device and I am logged in always and also several times a day active within HA UI from my device... so I also not think your suggestion is the case
I'm also getting this error. My says it's coming from my phone which I use for HA multiple times a day, and my Fire HD tablet that's used as a wall panel which is also used countless times a day
I have also exact same issue. 2x Android 14 phones.
I have the same issue from my android and IOS phones
Do you use assist?
Do you use assist?
If you mean build in assist of HA not, I have Google Assistant SDK and I expose part of devices to Google Home
I am having this same issue. Not sure when it started.
Same issue here:
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/http.py:519
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: October 3, 2024 at 1:01:21 AM (12 occurrences)
Last logged: 4:11:50 PM
[547272494960] Kristoffer from 127.0.0.1 (Home Assistant/2024.9.4-13806 (Android 14; Pixel 8 Pro)): Disconnected: Received non-Text message.
[547449758352] Kristoffer from 127.0.0.1 (Home Assistant/2024.9.4-13806 (Android 14; Pixel 8 Pro)): Disconnected: Received non-Text message.
[547272519120] Kristoffer from 127.0.0.1 (Home Assistant/2024.9.4-13806 (Android 14; Pixel 8 Pro)): Disconnected: Received non-Text message.
[547272510768] Kristoffer from 127.0.0.1 (Home Assistant/2024.9.4-13806 (Android 14; Pixel 8 Pro)): Disconnected: Received non-Text message.
[547272520848] from 127.0.0.1 (Home Assistant/2024.9.4-13806 (Android 14; Pixel 8 Pro)): Disconnected: Did not receive auth message within 10 seconds
Same
same here: IOS
Logger: homeassistant.components.websocket_api.http.connection Source: components/websocket_api/http.py:519 integration: Home Assistant WebSocket API (documentation, issues) First occurred: 20:36:23 (2 occurrences) Last logged: 21:45:49
[130219432939952] claudio from 127.0.0.1 (Home Assistant/2024.9.4 (io.robbie.HomeAssistant; build:2024.905; iOS 18.0.1)): Disconnected: Received non-Text message.
[130219013900176] Marco from 127.0.0.1 (Home Assistant/2024.9.4 (io.robbie.HomeAssistant; build:2024.905; iOS 18.0.1)): Disconnected: Received non-Text message.
Same here:
Logger: homeassistant.components.websocket_api.http.connection Source: components/websocket_api/http.py:519 integration: Home Assistant WebSocket API (documentation, issues) First occurred: 12:18:04 AM (1 occurrences) Last logged: 12:18:04 AM
[140460652178464] Serge from 192.168.1.33 (Home Assistant/2024.9.4-13806 (Android 14; M2102J20SG)): Disconnected: Received non-Text message.
Same here:
FYI: I'm also a Nabu Casa user.
Logger: homeassistant.components.websocket_api.http.connection Source: components/websocket_api/http.py:519 integration: Home Assistant WebSocket API (documentation, issues) First occurred: 10:27:12 AM (1 occurrences) Last logged: 10:27:12 AM
[140201420972112] John from 127.0.0.1 (Home Assistant/2024.9.4 (io.robbie.HomeAssistant; build:2024.905; iOS 17.6.1)): Disconnected: Received non-Text message.
Same here: Enregistreur: homeassistant.components.websocket_api.http.connection Source: components/websocket_api/http.py:519 intégration: Home Assistant WebSocket API (documentation, problèmes) S'est produit pour la première fois: 21:12:06 (3 occurrences) Dernier enregistrement: 22:56:16
[140637541820032] Alex from XXX (Home Assistant/2024.9.4-13806 (Android 13; Pixel 4a)): Disconnected: Received non-Text message.
Same here on both Android and iOS...
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/http.py:519
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 19 October 2024 at 09:54:19 (10 occurrences)
Last logged: 11:13:14
[140307358596784] Ed from 127.0.0.1 (Mozilla/5.0 (Linux; Android 14; Pixel 8 Pro Build/AP2A.240905.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/129.0.6668.100 Mobile Safari/537.36 Home Assistant/2024.9.4-13806 (Android 14; Pixel 8 Pro)): Disconnected: Received non-Text message.
[140307355865232] Ed from 127.0.0.1 (Mozilla/5.0 (Linux; Android 14; Pixel 8 Pro Build/AP2A.240905.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/129.0.6668.100 Mobile Safari/537.36 Home Assistant/2024.9.4-13806 (Android 14; Pixel 8 Pro)): Disconnected: Received non-Text message.
[140307355865088] Ed from 127.0.0.1 (Mozilla/5.0 (Linux; Android 14; Pixel 8 Pro Build/AP2A.240905.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/129.0.6668.100 Mobile Safari/537.36 Home Assistant/2024.9.4-13806 (Android 14; Pixel 8 Pro)): Disconnected: Received non-Text message.
[140307364079376] Natalia from 127.0.0.1 (Home Assistant/2024.9.4 (io.robbie.HomeAssistant; build:2024.905; iOS 17.6.1)): Disconnected: Received non-Text message.
[140307364073904] Natalia from 127.0.0.1 (Mozilla/5.0 (iPhone; CPU iPhone OS 17_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Home Assistant/2024.9.4 (io.robbie.HomeAssistant; build:2024.905; iOS 17.6.1) Mobile/HomeAssistant, like Safari): Disconnected: Received non-Text message.
Still same issue on 2024.10.3
Logger: homeassistant.components.websocket_api.http.connection Source: components/websocket_api/http.py:519 integration: Home Assistant WebSocket API (documentation, issues) First occurred: 07:54:03 (2 occurrences) Last logged: 07:54:10
[281469774303664] Lucas Phone from 127.0.0.1 (Home Assistant/2024.10.3-14058 (Android 14; SM-S901B)): Disconnected: Received non-Text message. [281469232867088] Milo Phone from 127.0.0.1 (Home Assistant/2024.10.3-14058 (Android 14; SM-S901B)): Disconnected: Received non-Text message.
I have an issue where HA says "Connection lost. Reconnecting..." this happens randomly and it is very annoying. I am a nabu Casa user. Not sure if it is related. iOS devices / computer browser issue is the same. during this issue instance of ha is still pining so not a network issue. I checked the logs and also found the Websocket issue warnings. Are these related please?
Thank you
Same here. Working again when switching off Nabu Casa Cloud usage.
Same issue.
Same issue over here. Think this is what makes my tablet (Lenovo M10 below) running Hass-App running very glitchy for some time now...
Logger: homeassistant.components.websocket_api.http.connection Källa: components/websocket_api/http.py:519 integration: Home Assistant WebSocket API (dokumentation, ärenden) Inträffade först: 13:52:56 (10 händelser) Senast loggade: 14:59:26
[547282298784] Lenovo M10 from 192.168.1.1 (Mozilla/5.0 (Linux; Android 10; Lenovo TB-X505F Build/QKQ1.191224.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/130.0.6723.58 Safari/537.36 Home Assistant/2024.10.4-14172 (Android 10; Lenovo TB-X505F)): Disconnected: Received non-Text message. [547610522480] Lenovo M10 from 192.168.1.1 (Mozilla/5.0 (Linux; Android 10; Lenovo TB-X505F Build/QKQ1.191224.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/130.0.6723.58 Safari/537.36 Home Assistant/2024.10.4-14172 (Android 10; Lenovo TB-X505F)): Disconnected: Received non-Text message. [546422191104] Karin from 192.168.1.1 (Home Assistant/2024.9.4 (io.robbie.HomeAssistant; build:2024.905; iOS 17.6.1)): Disconnected: Received non-Text message. [547664266432] Lenovo M10 from 192.168.1.1 (Mozilla/5.0 (Linux; Android 10; Lenovo TB-X505F Build/QKQ1.191224.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/130.0.6723.58 Safari/537.36 Home Assistant/2024.10.4-14172 (Android 10; Lenovo TB-X505F)): Disconnected: Received non-Text message. [547664537072] Lenovo M10 from 192.168.1.1 (Mozilla/5.0 (Linux; Android 10; Lenovo TB-X505F Build/QKQ1.191224.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/130.0.6723.58 Safari/537.36 Home Assistant/2024.10.4-14172 (Android 10; Lenovo TB-X505F)): Disconnected: Received non-Text message.
I'm noticing this error correlating with family members not being able to get into the android companion app. Do the Devs have any ideas or could added details in the logging on the HA side and/ or on the app side help us get closer to a clue and then maybe a fix?
Same issue. Was looking into why I was seeing very delayed responses on the geo zones, which used to have very consistant and low latency/delays. Now it is very sporadic in terms of consistancy. Sometimes takes 10+min to reflect an update. Famil has a bunch of Android 14 phones.
Logs: I see many of these;
2024-11-06 14:53:12.961 WARNING (MainThread) [homeassistant.components.websocket_api.http.connection] [139807177285136] Nadine from 192.168.0.254 (Home Assistant/2024.10.3-14058 (Android 14; SM-A546E)): Disconnected: Received non-Text message. 2024-11-06 14:53:12.961 WARNING (MainThread) [homeassistant.components.websocket_api.http.connection] [139807177376672] Nadine from 192.168.0.254 (Home Assistant/2024.10.3-14058 (Android 14; SM-A546E)): Disconnected: Received non-Text message. 2024-11-06 14:53:12.962 WARNING (MainThread) [homeassistant.components.websocket_api.http.connection] [139807177280240] Nadine from 192.168.0.254 (Home Assistant/2024.10.3-14058 (Android 14; SM-A546E)): Disconnected: Received non-Text message. 2024-11-06 14:53:12.962 WARNING (MainThread) [homeassistant.components.websocket_api.http.connection] [139807177281824] Nadine from 192.168.0.254 (Home Assistant/2024.10.3-14058 (Android 14; SM-A546E)): Disconnected: Received non-Text message. 2024-11-06 14:53:12.962 WARNING (MainThread) [homeassistant.components.websocket_api.http.connection] [139807267315504] Nadine from 192.168.0.254 (Home Assistant/2024.10.3-14058 (Android 14; SM-A546E)): Disconnected: Received non-Text message.
Same issue with an iOS device and this warning in my log. From the Debug log, it looks like there are consistently two entries ahead of the warning. Not sure if this helps...
2024-11-09 18:57:33.757 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [548068717424] XXXXX from 127.0.0.1 (Home Assistant/2024.9.4 (io.robbie.HomeAssistant; build:2024.905; iOS 18.0.1)): Connection closed by client: Received non-Text message.
2024-11-09 18:57:33.761 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [548068717424] XXXXX from 127.0.0.1 (Home Assistant/2024.9.4 (io.robbie.HomeAssistant; build:2024.905; iOS 18.0.1)): Writer done
2024-11-09 18:57:33.763 WARNING (MainThread) [homeassistant.components.websocket_api.http.connection] [548068717424] XXXXX from 127.0.0.1 (Home Assistant/2024.9.4 (io.robbie.HomeAssistant; build:2024.905; iOS 18.0.1)): Disconnected: Received non-Text message.
The problem
Since update to 2024.8.X I started to see following warning messages on daily bases in my logs
Logger: homeassistant.components.websocket_api.http.connection Source: components/websocket_api/http.py:519 integration: Home Assistant WebSocket API (documentation, issues) First occurred: 11:58:20 (6 occurrences) Last logged: 13:05:26
[281471610302048] Lucas Phone from 127.0.0.1 (Home Assistant/2024.7.3-13278 (Android 14; SM-S901B)): Disconnected: Received non-Text message. [281467653430512] Marco from 127.0.0.1 (Home Assistant/2024.7.3-13278 (Android 14; SM-F946B)): Disconnected: Received non-Text message. [281471603296576] Milo Phone from 127.0.0.1 (Home Assistant/2024.7.3-13278 (Android 14; SM-S901B)): Disconnected: Received non-Text message. [281471605455840] Milo Phone from 127.0.0.1 (Home Assistant/2024.7.3-13278 (Android 14; SM-S901B)): Disconnected: Received non-Text message. [281471606998208] Milo Phone from 127.0.0.1 (Home Assistant/2024.7.3-13278 (Android 14; SM-S901B)): Disconnected: Received non-Text message.
It says is related to Websocket API integration but I never did set this up and it seems to affect only my Android devices that are running the HA Mobile App, I also have a IOS device with the HA Mobile App but I did not see any messages for that so far related to this.
What version of Home Assistant Core has the issue?
2024.9.2
What was the last working version of Home Assistant Core?
2024.7.X
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Home Assistant WebSocket API
Link to integration documentation on our website
https://www.home-assistant.io/integrations/websocket_api
Diagnostics information
N/A
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
N/A