Reload UI Message Frequently

Seemingly randomly, when I open up the HA app (which I do pretty frequently), I am greeted with this view:

And a stuttering popup at the bottom left with the ‘Connection lost, reconnecting’ message. It’s never recovered when left to it’s own (I’ve also never waited more than maybe 30 seconds), but usually if I either just go to a different app and then back shortly thereafter it’s fine (or a force-close also always seems to work). The Reload UI button doesn’t do anything (nor does the red exclamation point), it doesn’t even change color/react to being pressed.

This all SEEMED to start happening a few days ago after I updated HA to 2023.6.1 but admittedly, it’s just random enough that I can’t be certain. I cleared the cache and all data and still have the same issue. The app version is 2023.3.0-full.

Anyone else getting this and any ideas?

8 Likes

I can confirm this. For me only close and reopen of the App fix it for the moment. I’m using this version of the app: https://github.com/home-assistant/android/releases/tag/beta-10158-bcHA248b63
And HA 2023.6.1

I’m getting this too, it’s very frustrating.

I’m not using Home Assistant Cloud, I’m connecting directly.
This happens internally and externally to my network.

Same problem here. It happened right after HA 2023.6 upgrade.

Edit: In my case, I suspect it has something to do with the Cloudflare add-on and using my external URL in the app connection information. If at home and using the local IP, I don’t experience the reload problem.

1 Like

I experience it when connected locally at home (which I primarily am). I use Nabu Casa (or my own VPN) when away, but haven’t been away much since I upgraded so can’t say whether it also does it then or not.

Same issue here. It started when upgraded to 2023.6.0.

I can see this in HA logs:

* [547314008336] Péter Erdős from 192.168.1.1 (Mozilla/5.0 (Linux; Android 13; SM-S918B Build/TP1A.220624.014; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/113.0.5672.162 Mobile Safari/537.36 Home Assistant/2023.3.0-3260 (Android 13; SM-S918B)): Client unable to keep up with pending messages. Reached 4096 pending messages. The system's load is too high or an integration is misbehaving; Last message was: {"id":3930,"type":"event","event":{"type":"current","notifications":{}}}
* [547181010384] Péter Erdős from 192.168.1.1 (Mozilla/5.0 (Linux; Android 13; SM-S918B Build/TP1A.220624.014; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/113.0.5672.162 Mobile Safari/537.36 Home Assistant/2023.3.0-3260 (Android 13; SM-S918B)): Client unable to keep up with pending messages. Reached 4096 pending messages. The system's load is too high or an integration is misbehaving; Last message was: {"id":3526,"type":"result","success":true,"result":null}
* [546318330704] Péter Erdős from 192.168.1.1 (Mozilla/5.0 (Linux; Android 13; SM-S918B Build/TP1A.220624.014; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/113.0.5672.162 Mobile Safari/537.36 Home Assistant/2023.3.0-3260 (Android 13; SM-S918B)): Client unable to keep up with pending messages. Reached 4096 pending messages. The system's load is too high or an integration is misbehaving; Last message was: {"id":3141,"type":"result","success":true,"result":null}
* [547104135056] Péter Erdős from 192.168.1.1 (Mozilla/5.0 (Linux; Android 13; SM-S918B Build/TP1A.220624.014; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/113.0.5672.162 Mobile Safari/537.36 Home Assistant/2023.3.0-3260 (Android 13; SM-S918B)): Client unable to keep up with pending messages. Reached 4096 pending messages. The system's load is too high or an integration is misbehaving; Last message was: {"id":2742,"type":"event","event":{"type":"current","notifications":{}}}
* [546913263056] Péter Erdős from 192.168.1.1 (Mozilla/5.0 (Linux; Android 13; SM-S918B Build/TP1A.220624.014; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/113.0.5672.162 Mobile Safari/537.36 Home Assistant/2023.3.0-3260 (Android 13; SM-S918B)): Client unable to keep up with pending messages. Reached 4096 pending messages. The system's load is too high or an integration is misbehaving; Last message was: {"id":2304,"type":"result","success":true,"result":null}
1 Like

I’ll have to remember to look at my logs; I honestly never bothered to look since it only happens on the app.

Ironically it JUST happened again for me but I’m not seeing anything at all in my logs. Were yours from somewhere other than the Home Assistant Core logs?

I found it in the core logs. Anyway, I removed the frigate card addon and it looks good now. it appeared again, so it is not the frigate addon.

Weird, cause like I said, nothing in my logs. I’ll keep looking when it happens again though.

Tangentially related, I have a Kindle tablet running the app 24/7 and it’s never had an issue as well as 2 other tablets using a browser to show HA without any issues. It only happens on my phone when I open it after the HA app has been unused for a period of time.

Same here, it happens if I don’t use the app for a while. I try to go back to my backup with the 2023.5

Did the backup to 2023.5 resolve it?

I personally have not encountered this issue. For starters check that all custom cards and components have bee updated. If that does not solve the issue then try disabling them one by one until the issue goes away.

Yes, restore to 2023.5 solved the issue. I saw yesterday new android version was released, maybe it solved the issue.

Seems like the upgrade to the latest Home Assistant Supervisor removed the problem for me. The problem hasn’t surfaced for a couple of hours (minutes was the previous experience).

I see there is a companion app upgrade available too, but not required to solve the reload ui problem.

Just downloaded the new app and it’s still happening.

What version? I’m not showing any updates available and it’s still happening to me

Home Assistant 2023.6.1
Supervisor 2023.06.2
Operating System 10.2
Frontend 20230608.0 - latest

Everything on my system is fully up-to-date. Unfortunately, going one-by-one isn’t really feasible for me. It happens JUST randomly enough that I could only test a couple per day which would take quite a long time to go through them all. At this point I’ve just gotten in the habit of force-closing the app nearly all the time and hoping that it gets fixed soon.

BTW, how would a custom component or card only cause the app to crash when it’s in the background? Seems like it would cause issues elsewhere and in other situations?

The app is not crashing, it’s the HA frontend not able to load. It wouldn’t be the first time something custom can cause it to break.