I have HomeAssistant set up at home on a Raspberry Pi 4. I also have the Wireguard add-on set up on HA and connecting to WG VPN server and using the HA app works fine with my old iPhone X. I recently bought a new iPhone 13 Pro and created a new Wireguard configuration for it on the HA Wireguard add-on and added it to the Wireguard app on the new iPhone.
The problem: When I open the HA app on the new phone while connected to the Wireguard VPN server on my HA instance it simply shows blank screen and settings wheel icon on the bottom right. The HA UI doesn’t load on the App. After a while looking at the blank app screen I get the following error on the bottom of the app screen:
The request timed out
NSURLErrorDomain -1001
What makes this weird is if I open my HA UI (<ha_ip_address:8123>) on a mobile web-browser while connected to the Wireguard VPN server on my HA instance the HA UI loads just fine and everything works without any problems.
On the old phone: I can use my HA instance over VPN both on a mobile browser and with the HA App.
On the new phone: I can use my HA instance over VPN on a mobile web-browser but not with the HA App.
Both phones are iPhones, both are on same latest major iOS version, both have the same up-to-date version of every app (including HA and Wireguard). Both phones have the same HA App settings under iOS Settings → Homeassistant as well. Local network, Mobile Data are enabled and every other setting is exactly the same on both phones in the iOS HA app settings view. The required UDP port is forwarded on the router and the forwarding works as I can use HA via a web-browser on the new phone and with the app on the old phone while connected via VPN.
What I tried so far:
- Lowered firewall settings on my router to the lowest just to see if it was blocking anything.
- Restarted router.
- Removed, re-generated and re-added the Wireguard configuration for the new phone on my HA instance.
- Restarted HA host (Raspberry Pi 4).
- Removed and re-installed HA app on the new iPhone.
Does anyone have any suggestion as to where and how to debug this further?