home-assistant / home-assistant/iOS

HA iOS app cannot cope with changing DNS of HA instance

Open
#2,922 7 comments 0 reactions 1 assignee Claimed by @bgoncal View on GitHub
bug ios
Dominant language
Swift
Stars
2.4k
Forks
520
Avg merge
7h 27m
Merged PRs (30d)
264

Description

**iOS device model, version and app version**
Model Name: iphone 12 pro
Software Version: 17.6.1
App version: 2024.5

**Home Assistant Core Version**
2024.8.1

**Describe the bug**
It looks like HA iOS app is struggling to cope with changing DNS record of HA instance.
In my setup, the domain points to my external IP on external connection, but on the local network (local DNS server) that record is overridden with IP of the nginx reverse proxy instance.
Everything works fine when im on an external network. On the internal network everything works fine in a browser, but the app has issues:
* Originally the app was working fine on the internal network, but iOS actions were not doing anything.
* I have signed out and signed back in to the app, after that the iOS actions started working, but the app stopped (Cannot connect to domain name).

If iOS app cannot cope with changing DNS records of HA instance, then possibly this can also affect ppl behind DynDNS

**To Reproduce**
1. Have HA instance behind nginx reverse proxy
2. Set up DNS override for HA domain to point to the local nginx rev proxy ip on the local DNS server.

**Expected behavior**
The app should be able to cope with the changes of DNS response for HA domain.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.