#No internet, opening app doesn't work but hitting notification does?

1 messages · Page 1 of 1 (latest)

nova ridge
#

Hi all. Bit of a weird one that I can't figure out. When our internet is out and I try and open the HA app it just spins. But if I swipe down and hit the persistent notification it opens just fine and I can control everything. Tried force closing the app and clearing cache. No change. HA also loads fine on my PC via browser. I didn't think to test the browser on the phone as the app worked from the notification. Any ideas?

fast crater
#

I just setup a new HA system and noticed the same problem when my phone is connected to a wifi network that does not have internet access. I could reproduce it with IP addresses very consistently so not a network or mdns issue.

If the companion app server only has the add Home Assistant URL set, the device seems to really want to phone home to home-assistant.io (at least what I see in network captures). What I had to do was add that network to the Home Network SSID list AND also set the internal connection URL and the black screen/spinning dot/blue dot lockup screens stopped happening when I open the companion app.

Ironically, its not a connection problem to the local HA server because the device sends sensor updates no problem. I don't think it's a webview problem either even though that's what most of the help guides suggest. I suspect it's some sort of problem with the app itself needing to make requests to the internet.

#

Do you have the internal connection URL set? In the Companion App on your phone, open Settings -> Companion App -> Home (HA server under the Servers & Devices section) -> Connection Information

nova ridge
#

Glad I'm not crazy. 🙂 Sorry you hit the issue too. Oddly enough I don't have a home-assistant.io connection configured as I run my own VPN and just use the local name/IP to hit my HA instance. This is what my Companion App settings look like.

fast crater
#

I dont have a cloud connection thing either. I had this working fine, was struggling to get matter working (also a shennigan that requires internet on your phone) and broke my companion app. It took me probably 5 hours to realize it's the internal connection url

#

so if you can resovle that stacyhome.com address, copy that to your internal connection url block

#

and add your wifi ssd to the home network above

#

and i think it will fix your problem

nova ridge
#

Hmm ok I'll give that a try. Odd that it'd be needed at all. You'd think it's just try whatever URL it has. Thanks!

fast crater
#

Yeah let me know if it does. Also helps validate I'm not crazy.

#

You can carry me in an aram later if it does fix it. 🙂

nova ridge
#

Oddly enough last time I tested I blocked traffic from my phone to the internet via my firewall and it didn't trip. I'm not sure if it's a combo of both the phone and HA not having internet or if it's sporadic? I'll have to test by actually disconnecting the link.

Hahaha. They're so much fun!

fast crater
#

For me, the HA server not having Internet doesn't seem to be the problem - and about 1 out of 10 times, it actually did load before I made that change to Internal connection URL. There's probably a defect with the app somewhere but haven't spent that kind of time on it yet.

#

Add me on there and we'll play sometime TinkeringTurtle#NA1

fast crater
#

as an fyi, i did get a different issue last night after I added SSL to my system. I had to go and do the front end cache clear to fix that one when it was getting a hung on the spinning circle under the logo.

#

It's a different issue but not sure if you've already done that in your scenario

nova ridge
#

I've had SSL on mine for a while now. I think I'm good on that front?

surreal belfry
#

There is a known issue for the app on start when you have network but no internet access. Notifications do bypass that check.
There is a fix almost ready to be included in the app.

nova ridge
#

Ahhh ok. Thanks! I always have trouble finding if my issue is already logged in Github.

fast crater