Frontend - Keep getting logged out - Invalid Password

I have HASS setup with LetsEncrypt and have almost all of my components migrated over from SmartThings.

Lately, I get logged out of the frontend a lot. It will show the login page and say “invalid password” even though I haven’t entered one at that moment. I enter it, check Remember Password and it logs in just fine. Then it will do it again if I open the front end later on. This is always on mobile data since I have trusted networks set for when I’m on wifi. The issue happens multiple times throughout the day when on mobile data the whole time so its not like I’m constantly transitioning to wifi/mobile data.

Other times, it will just show “Connection lost. Reconnecting…” when I open the front end with a good connection. If I manually refresh by swiping down, it will connect right away, but again, usually says “invalid password” and I have to enter it again.

Currently have port 8123 forwarded.
Here is my http configuration with some information removed.
http:
api_password: !secret http_password
ssl_certificate: /etc/letsencrypt/live/XXXXXXXXX.duckdns.org/fullchain.pem
ssl_key: /etc/letsencrypt/live/XXXXXXXX.duckdns.org/privkey.pem
ip_ban_enabled: true
login_attempts_threshold: 5
trusted_networks:
- 192.168.XXX.XXX/24
- 127.0.0.1

Any thoughts?

I’m experiencing the exact same thing.

Did you find a solution to this?

Yes and no. If you clear all browser cache and history then re-login, it works for a week or two. It always comes back eventually though.

Sorry to bump an old thread but this has started happening to me since 0.54 and clearing caches doesn’t fix it.

I still get this after every upgrade to a new version. I just clear all cache files, close all tabs, then reopen and relogin.

Has anyone tried disabling trusted networks?

Just an FYI, I restarted my reverse proxy and also upgraded hass to latest. Thus far not been logged out on mobile device, so the reverse proxy might have been caching the noAuth value.