Unable to install package pyopensprinkler==0.7.15: error: Failed to fetch: https://files.pythonhosted.org/packages/bb/0c/9d1ef50c53266941b9660c6f197dacd3eea13a11081f2c08bdd63293a768/pyopensprinkler-0.7.15.tar.gz Caused by: Request failed after 3 retries Caused by: error sending request for url (https://files.pythonhosted.org/packages/bb/0c/9d1ef50c53266941b9660c6f197dacd3eea13a11081f2c08bdd63293a768/pyopensprinkler-0.7.15.tar.gz) Caused by: client error (Connect) Caused by: dns error Caused by: failed to lookup address information: Name does not resolve
i have simmilar issue after the update with other custom integrations(Midea LAN and huawei-solar integration)
Caused by: dns error Caused by: failed to lookup address information: Name does not resolve; i can ping and downlaod the packages in HA thou. this isnt the first time i have the issue. dont know what fixed it.
This is on a Home Assistant OS installation on a KVM virtual machine, on top of Proxmox.
If I log in to the same machine via ssh and try to ping the files.pythonhosted.org domain, it resolves just fine. The Url also works fine on my computer and resolves to the same IP.
When Home Assistant is restarted, I see queries to the pythonhosted domain on my dns, and it seems to be resolving just fine.
If I retry the installation a few dozen times, it ends up working, but it’s very annoying.
It’s always third party integrations trying to download python packages. In my scenario, this is 100% reproducible every time I install an update.
I’d like to help debug this issue, but I don’t know where else to look for clues.
Solution was to change the DNS server (not ideal). It looks like it does not work with Mikrotik for an unknown reason (plenty of posts on this particular issue).
It works again when changing to PiHole or Google DNS.
Funny enough, when reverting back to Mikrotik (local gateway), it works again