I'm trying to setup the internal URL in the companion app. I have letsencrypt certificate installed and I can connect to the server without any problem using the external URL. But the internal URL doesn't work it fails with error "NSURLErrorDomain -1202". The app also say it tries to connect to "https://MY_INTERNAL_URL:8123/?external_auth=1".
From chrome on my iPhone i can connect to the local URL without an problems. but can't connect to this specific address (also on chrome)
I'm running HAOS 2025.12.2 and the app on my iPhone is updated with the most recent update.
Any suggestions?
#IOS Companion App not connecting to internal URL (IP)
1 messages · Page 1 of 1 (latest)
Is your certificate correctly configured? Do you see any warning in iOS safari if you try to access from there?
The certificate is configured correctly - I don't get any warnings with the external url. But it's obviously not applied to the internal ip. When i connect using the internal ip I get the certificate warning and then - in the app connection failure. But in Chrome or Safari (on my iPhone) connection is successful.
If you get the certificate warning, that’s the issue, the app does not handle invalid certificates. You need to configure it properly to connect over http locally or find a way to have a valid certificate for local access as well
I don't think i can configure a local LAN IP with a certificate, only the public URL. And I can connect without an issue with the external IP (which also is not included in the certificate).
I tried now connecting using the local LAN IP address in the internal address, and now it's working - I don't know what changed - I hope It'll stick...
BTW, it did warn me that the certificate is invalid, but after I acknowledged that it continued without a problem.
Thanks for trying to help!