I’ve been using Duck DNS for over four years now, and it’s been a reliable solution for my dynamic DNS needs. However, I’ve recently encountered some issues that I’m hoping the community can help me resolve. Everything seems to be functioning correctly on the surface—my iOS app, local access, and remote access all work as expected. Yet, I’m occasionally faced with aiohttp errors, which are somewhat perplexing. The most pressing issue is an error message I’ve come across on my System Network screen: ‘Invalid local network URL. You have configured an HTTPS certificate in Home Assistant. This means that your internal URL needs to be set to a domain covered by the certificate.’ This message is accompanied by a minor spelling error, which I find amusing but doesn’t detract from the seriousness of the issue.
I’ve taken several steps to troubleshoot this problem. First, I’ve ensured that my external port 8123 is correctly forwarded to my Home Assistant instance, and I’ve also set up port 443 to forward to the same port. This setup should, in theory, handle both HTTP and HTTPS traffic appropriately. I’ve also tried installing NGINX in the hopes that it might resolve the issue, but unfortunately, it hasn’t made a difference. Additionally, I’ve uninstalled and reinstalled DuckDNS, but the problem persists.
The error seems to suggest that there’s a mismatch between the internal URL configuration in Home Assistant and the domain covered by my HTTPS certificate. I’m wondering if there’s a specific configuration step I’ve overlooked or if there’s a known issue with Duck DNS and Home Assistant’s internal URL handling. I’m also curious if others in the community have encountered similar issues and how they’ve managed to resolve them.
I’m particularly interested in understanding whether this is a common issue and if there are any best practices or workarounds that I should be aware of. Any insights or suggestions would be greatly appreciated, as I’d like to get this configuration sorted out to ensure smooth operation of my Home Assistant setup.