my to have the same problem with mi redmi 8, work for few hours and then stop working in the phone
I’m currently setting up external access in the app for the first time and I seem to be experiencing this issue as well.
The app works fine through the internal URL, and home assistant works fine through a webbrowser on the remote URL ‘remotely’.
It is only remote access through the app that seems to fail and I think it has to do with authentication.
I filed a bug for it: https://github.com/home-assistant/android/issues/798
I’ve been having a lot of issues with this as well.
I’ve found that restarting the core from the command line resolves it for a while, but it reoccurs fairly frequently.
I see your bug report was closed Johan - I have this problem but only with android - iOS and web work fine. I use caddy as my reverse proxy. Any further ideas?
For me, the issue was some sort of “bot”-detection in Nginx.
Because of the inconsistent/changing value of the “user-agent”-header, it considered some HTTP requests from the app as coming from a bot and blocked those requests.
I had to disable those protections in the Nginx config to get the app working.
Webbrowser access was fine with or without those protections on. Only the app was affected.
Check your certificate. This happened to me on Android EMUI 10 the day my HA certificate was set to expire.
Same problem here, cannot connect from Android phone. No matter if I use the browser or the app and no matter if I try within LAN or world (with port forwarding). iPad iOS works fine.
I tried all the “suggestion” in the thread but still not works in local (external via DDNS is ok).
Same here. Works when outside the network absolutely fine, and all fine on various computers and iOS devices. What is going on with Android not being able to connect? I’m using caddy in front as a reverse proxy, but have that set up correctly in HomeAssistant which is working on it’s default port but with my own subdomain pointed to the reverse proxy correctly - and nothing has changed in caddy which was working before - and it’s working fine for all other services which I run in docker (and for other devices using home assistant). Google Assistant also works perfectly.
Any ideas? So frustrating. Feels like some sort of network setup silly-ness, but I can’t for the life of me figure it out!
Home Assistant 0.115.6
Supervisor Version 245
No revers proxy, only port forvading. Own domain. Can open HA thrue chrome from my android phone, but HA app show same error as Mahko_Mahko.
What i try to do: reinstall app, clear app cache, reboot my phone, reboot HA.
Some logs:
> 2020-10-04 17:08:13 DEBUG (MainThread) [homeassistant.components.http.view] Serving /auth/providers to 192.168.53.1 (auth: False)
2020-10-04 17:08:13 DEBUG (MainThread) [homeassistant.components.http.view] Serving /auth/login_flow to 192.168.53.1 (auth: False)
2020-10-04 17:08:28 DEBUG (MainThread) [homeassistant.components.http.view] Serving /auth/login_flow/7d4e601a134245ddadc15d5ee8544606 to 192.168.53.1 (auth: False)
p.a my wife’s and dother’s mobile apps on androids phones works fine
It happends to me too. With different phones.
I solved it just removing the port from the URL -> https://domain.duckdns.org
Not in my case. Remove port from URL - same error when use app. Chrome work fine
Same problem. Doesn’t seem to have common solution here above… Any update about this ?
I have the same problem ass all of you. In the Android app, i get the warning “Unable to communicate with Home Assistant because of a SSL error. Please ensure your certificate is valid.”
I get an warning when i log on using my phones web browser but am still able to log on locally.
Hi, thanks for all the great ideas in all replays it was helpful, I experience the same issue in a 7.1.1 tablet but it is not related to the android version as I thought but rather the Chrome setting, it is as simple as disabling the Lite browsing option. this interferes with SSL.
I am having the same issue. I used to be able to connect both inside my network and outside my network using DuckDNS and Nginx installed on my HASSio. Suddenly now I cannot connect from outside my network and my android app will not connect either way. Interestingly enough, though, the integration I have to be able to use Google Assistant still works. Figure that one out. I have tried all of the suggestions in this thread with no success. Any help is greatly appreciated.
Had the same issue and finally resolve it by adding in configuration.yaml
homeassistant:
external_url: "https://my-domain.duckdns.org:xxxx"
internal_url: "https://192.168.xxx.xxx:xxx"
Android App: v3.0.2
Home Assistant OS 5.9
Supervisor 2020.12.7
This did not work for me, either.
Then maybe its coincidence because simultaneously i was playing with me pfSense settings and maybe something else was the issue.
Btw one more setting that i remember that i change was at the pfSense
Firewall - NAT - Port Forward - (at the rule) NAT reflection = Enable NAT + Proxy
UPDATE:
Seems its didnt work, again same error. Just give up and live with fact that i am gonna connect from Home to my local Home Assistant Server via Web
Same problem!!! First time OK. From the second time there is no way