Could someone that is knowledgeable in the subject connection help me determine if there is anyway to make this connection more reliable.
How do I determine if it is the ddns service causing the issue or something else between home assistant- google home?
I currently use duckdns with nginx proxy.
Essentially whats happening is I’ll get random “home assistant not responding” when asking google to do something. Maybe 5 minutes later, I’ll ask the same thing and it’ll work fine. It’s definitely kind of annoying.
Of course, like everyone, my goal is to be a cheapo and hopefully not spend any money.
Thank you all for any advice, direction you all can give me. It will be very much appreciated!!
Hey
I have the exact same issue with google assistant and duckdns. I just switched my config to using nginx in order to enable local fulfillement for google assistant.
This is mostly working (90% of queries to google assistant are now working compared to 10% in the last days). And the speed also seems faster.
While investigating the remainig issues I have found in the google assistant logs that the error observed by google assistant when trying to reach my home assistant instance is:
I was shocked to see that my url in xxxx.duckdns.org is failing to be resolved on multiple duckdns servers. This explains the timeout observed by google assistant.
I am looking to alternatives to duckdns as this issue is lasting since several days now.
Just as a point of reference here, I had my DNS hosted in a slightly odd way - split between my own nameservers from my company (which were static and controlled via git and various other automations) and duckdns to control a whole subdomain via a CNAME record. I did this to allow me to use SWAG as a reverse proxy with DNS authentication for the Let’s Encrypt certificate. It worked - technically!
However, this means that my HA domain actually required two lookups one to get the CNAME from the domains root servers, and then secondly to get the actual duckdns.org domain.
When turning on Debug logging on my manual Google Assistant’s action, I saw error log payloads with DNS timeout.
I changed the whole thing over to Cloudflare and haven’t had a single issue so far.
So DNS timeouts are a real thing and DuckDNS seemed, in general, to be quite unreliable for me (not just in the double lookup thing, but often not even being able to find the site to login on my computer too).