Whenever I leave the house and as a result the IP address of my mobile changes, then the mobile app UI no longer works. According to the HA logs, the mobile app is still reporting sensor status to HA, but the UI does return there are problems. When I investigate the nginx logs, I see that UI requests get HTTP 404, while the sensor reporting gets HTTP 200, with the same key. Recovery from this situation is nasty, in the past I removed cache and data from the app, so I had to totally reconfigure it again, but I found out that by giving it a bogus https address and then the correct one, I can log in again. Would be nice if the problem didn’t happen on change of IP, but failing that it would be nice to have an option on the screen you get with wait and renew URL, an additional option to re-login.
Anybody else having this problem, it all started a couple of months ago, when external IP became important in nginx, and yes I have checked the config umpteen times, that it passes the correct IP.