#Can't connect iPhone to HA through Tailscale

1 messages · Page 1 of 1 (latest)

loud night
#

I'm trying to have remote access to my HomeAssistant Blue from outside of my home network using Tailscale client running on my GL.iNet router.
I can access to HA using Safari using its IP address but I cannot connect the companion app although the URL is specifying the exact same address.
What could I miss in the configuration ?
Tailscale client on the Router has access to LAN devices enabled, the route is advertised and approved in the Tailscale website.

exotic gale
#

What do you see in the app?

loud night
#

It says that it cannot connect with no further explanation.

exotic gale
#

When you try to reload it usually shows an error

#

Have you also tried rebooting?

loud night
#

I rebooted my iPhone, switched off Wifi, enabled the Tailscale connection, started the App.
At first, it said it couldn't connect because I had selected "Most secure" option ("Due to you connection security choice, there is no URL that we are allowed to use.").
I changed the setting to "Less secure" but that did not help ("Uh oh! Looks like we are unable to establish a connection.").
Clicking on the question mark, I got more details: NSURLErrorDomain, code -1009 with URL being http://192.168.192.29:8123/...

exotic gale
#

Is that you home assistant IP?

loud night
#

Yes. When connected over Wifi, it uses the exact same URL and there it works. It also works in Safari. Only the companion app refuses to work over Tailscale VPN.

fair wagon
#

Check your ACL’s. Crest a tag for your phone and set it up for access. Work with your JSON file. You should get some joy there. HA OS has a Tailscale in Addons or HACS. But you need to allow access to the phone in the JSON file.