Can't access HA through Tailscale subnet router with iOS app while Safari and SSH are OK

Hi,
I’m trying to set up remote access to my HA using Tailscale. I have a client running on my GL.iNet router which is connected to Tailscale and allows access to LAN resources (acting as a subrouter). The LAN subnet is advertised and approved in the Tailscale admin. From my iPhone running Tailscale over 4G, I can access HA via Safari or via SSH but the iOS app refuses to connect. When the phone is on the wifi (with Tailscale stopped), it works of course.

What could it be?

Thanks in advance for your enlightening suggestions

You didn’t mention if you’re trying to use DNS names or IP addresses. I have all my bookmarks and mobile app setup using IP, so it works fine over Tailscale with a subnet router setup. If you’re using names, I don’t think those will work without some more work on the Tailscale side.

@pkscout I’m also struggling with TS.
Have you also set-up HTTPS?

I’m using IP addresses from the LAN. Since Tailscale is configured with access to LAN devices and the route to LAN addresses being advertised and approved, I would expect the app to be able to connect.
I’m using HTTP to access HA to avoid connection problems.
I had set up a port forwarding on my router, with my Synology NAS proxying the external HTTPS to local HTTP. That worked with the NAS set as trusted proxy.
I have also tried with the router (Tailscale sub router) in the trusted proxies, both its local address and its Tailscale IP but that didn’t help (quite understandably since there is no real proxying but rather routing).
Also, accessing via SSH and HTTP works, it is a companion app issue only.
I didn’t check opening the web socket manually if that can be done on an iPhone.

For some reason, I had to disable network acceleration on the router. I hoped that maybe this would help but unfortunately not. I can access HomeAssistant through the HTTP server on port 8123 but the iPhone app refuses to connect.

Anyone has a suggestion for this ?

Classic problem not resolved since months
To mention a few:

I ran into the same issue with my partner’s iPhone just now when trying to get her app set up for remote access through TailScale.

After digging around a bit, I resolved it by making sure the Home Assistant Companion App had access to cellular data. You can verify this on your iPhone by going to Settings>Apps>Home Assistant - make sure Local network and Cellular Data toggles are turned on.

For clarity, I am using the local (internal) address for both internal and external URLs.

Hope this helps!

x Stav