Dns resolution issue during boot

Following an update today (? core 2015.1.something) I have an integration (solcast_solar) failing to start because it depends on “datetime>=4.3” which in turn is failing to be installed because “failed to lookup address information: Name does not resolve”.
I assume that’s a DNS lookup for the URL the logs mention, “https://files.pythonhosted.org/…”.

Restoring a backup has not helped (and lost me a day’s worth of data, too).

So, what’s happened? And how do I tell what version of datetime I have and/or refresh it?

Log entry:
Logger: homeassistant.util.package
Source: util/package.py:159
First occurred: 9:11:49 PM (3 occurrences)
Last logged: 9:11:54 PM

Unable to install package datetime>=4.3: error: Failed to fetch: `https://files.pythonhosted.org/packages/c6/66/efb8d11ba57489a582a0de9b0dbd7c998c9fc009287531c85df5832aa6fd/zope.interface-5.4.0-cp35-cp35m-manylinux1_i686.whl.metadata` Caused by: Could not connect, are you offline? Caused by: Request failed after 3 retries Caused by: error sending request for url (https://files.pythonhosted.org/packages/c6/66/efb8d11ba57489a582a0de9b0dbd7c998c9fc009287531c85df5832aa6fd/zope.interface-5.4.0-cp35-cp35m-manylinux1_i686.whl.metadata) Caused by: client error (Connect) Caused by: dns error: failed to lookup address information: Name does not resolve Caused by: failed to lookup address information: Name does not resolve

Hi jgh,

Can you tell us which install you are using?

Not sure if this is the info you mean (those “my” links don’t work for me), but the “About” page says

  • Core 2025.1.3
  • Supervisor 2025.01.0
  • Operating System 14.1
  • Frontend 20250109.0
1 Like

Just updated to Core 2025.1.4 - issue is still present.

btw, the issue still here… since December

ugly workaround - setup alternative DNS here

the root cause issue - unknown!

Hey! You just fixed my intermittent Samba connections issues. Thank you!

1 Like

Thanks for the suggestion, but… it doesn’t help my issue.
Still getting the log line for “failure to resolve” while handling a URL for “install package datetime>=4.3” during boot.

please show me your network setup
sorry, but i can’t believe :slight_smile:

Can you see the difference between “Automatic” and “Static”, Sir?

NB: ordering also make sense - first 1111 1001 the last own

Ah, I’d assumed it was merely the addition of further DNS resolvers that was needed.

Experimenting a little, it seems that just a 1.1.1.1 first in the list of resolvers is enough, and the automatic vs. manual make no difference.

Thanks. My Solcast integration is running again.

1 Like