#IPhone App cannot connect, but browser can.

1 messages ยท Page 1 of 1 (latest)

upper palm
#

I'll preface this by saying the networking setup I am trying to get working is not standard.
Basically I have a ssh tunnel from my homeassistant PC terminating into a wireguard docker container running on a VPS. My iphone connects to the wireguard VPN.
Oddly enough I have got it to the point where I can connect to the web interface of my homeassistant via firefox, but I cannot get the homeassistant iphone app to connect.
When I am connected locally on wifi the webapp works fine and I can also connect http from my phone using firefox.
When I switch off my wifi the app dies, but I can still connect http fine with firefox.

Anyone have any ideas why one would work and not the other?

fallen patrol
#

so basically when you are on 5G you can't reach your Home Assistant IP address from the mobile App, correct?
Have you tried on iOS Safari? (not the app)

upper palm
#

I can access HA via firefox (basically safari) on my iphone when on 5G (via wireguard)

fallen patrol
#

Please try safari

upper palm
#

was able to log in and control switches with safari

fallen patrol
#

Ok, do you get any warning or error in safari before being able to open HA? Like.. SSL issues or "this url is not safe"?

upper palm
#

no issues, but am connecting with http://

#

no warnings I should say

fallen patrol
#

ok, which App version are you?

upper palm
#

2025.1530 (actually when I opened in safari it gave the HA app banner at the top and prompted me to update - I didnt realize I was out of date

fallen patrol
#

Ok, when you open the app now, what do you see?

upper palm
#

"you're disconnected .. please check connection." etc

fallen patrol
#

ok, open settings, and tell me what you have for internal URL, external URL and Connection security level

upper palm
#

less secure

fallen patrol
#

try rebooting your phone, it looks like DNS

upper palm
#

status is websocket: connecting

#

so I thought it may be an issue with websockets, but then the browser also uses websockets as I understand

#

well its a static IP so I am very skeptical about DNS, but I'll give it a crack

#

hahaha

#

ah no, I thought it was working there for a minute, but I realized I hadn't turned off my phone wifi

#

sadly still no app connection ๐Ÿ™

fallen patrol
#

and in Safari it is all good still?

upper palm
#

yes still works

fallen patrol
#

send me a screenshot of your app permissions under iOS settings

upper palm
#

oh good lord

#

it was that ๐Ÿ˜ฉ

#

I'd turned off the HA app in mobile data

#

I cant beleive I didnt check that

#

now it works

fallen patrol
#

super โœ…

upper palm
#

Thank you for your time. sorry it was something dumb

#

is there a "thread answered by" system in this discord?

fallen patrol
#

No problem, happy it's working now ๐Ÿ™‚

#

I will mark it as resolved