Cannot connect - net::ERR_FAILED

The Android app connects locally, but I’ve never got it to connect over the internet, using DuckDBS and Let’s Encrypt.

Last time I tried it was giving certificate errors … but this time I got beyond that, and it says

Web page not available

The web page at https://.duckdns.org:8123/auth/authorize?response_type=code&client_id=https://home-assistant.io/android&redirect_uri=homeassistant://auth-callback could not be loaded because:

net::ERR_FAILED

Accessing https://.duckdns.org:8123 from the same phone produces

This site can’t provide a secure connection. .duckdns.org sent an invalid response.

Last time I tried the same URL from a laptop (from outside the LAN) it worked fine. Someone else tried with a different phone last night and it worked fine.

Any ideas as to what I do about this? Something to do with root CA perhaps?

1 Like

I have the same issue with my wife’s Samsung S21 but strangely not with my S23 ultra.
I can get hers logged in on WiFi but outside of the home it won’t connect via app or web ui.

Hi I have the same problem, working fine until a couple of weeks ago.
Has anyone got a fix???

I’ve been having the same issue after an update.
I am seeing the issue on both Samsung S21 Plus and 23 Ultra.

Anyone with ideas, will be great!

Same Problem here on my Phones and Tablets.
Web-UI (http//:myhomeassistant.local:8123) ist working on all devices, Android APP not.

192.168.178.1 [08/Jan/2024:09:42:58 +0100]***** host - ******* - "-" https 192.168.178.1 "GET /auth/authorize?response_type=code&client_id=https://home-assistant.io/android&redirect_uri=homeassistant://auth-callback HTTP/2.0" 304 0 "-" "Mozilla/5.0 (Linux; Android 11; Redmi Note 8 Pro Build/RP1A.200720.011; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/120.0.6099.144 Mobile Safari/537.36 Home Assistant/2023.12.4-11898 (Android 11; Redmi Note 8 Pro)" 304 upstream_response_time 0.006 msec 1704703378.007 request_time 0.006

Homeassistant:

  • Core 2024.1.2
  • Frontend 20240104.0

Android App (latest from Google Play Store):
2023.12.4-full

Since my original post there’s been a phone update and a Home Assistant Companion update.

Now … without me changing anything … it works fine from outside the home … but doesn’t work at home any more. (Which I don’t care about as I use a real computer at home.)

Same problem with my Pixel 6 pro. Its working fine on my iPhone and wife’s Pixel 6.

HA Core 2024.2.2
Companion App 2024.1.5

What is going on? Anyone else has a solution?