HACS on 3 day of trying to update from 1.34 to 2.0.1

I’ve done some searching but don’t seem to find anyone with a similar problem, and the problem has been solved.

I have tried to update HACS multiple times now, and it just seems to hang. It’s currently at 1.34 on my machine. When I tell it to update, it just sits and spins for days. Checking the logs and I see the following:

Logger: custom_components.hacs
Source: custom_components/hacs/base.py:471
integration: HACS (documentation, issues)
First occurred: September 25, 2024 at 3:43:41 PM (8 occurrences)
Last logged: September 25, 2024 at 4:53:45 PM

Request exception for 'https://api.github.com/rate_limit' with - Cannot connect to host api.github.com:443 ssl:default [None]
Timeout of 20 reached while waiting for https://api.github.com/rate_limit
Traceback (most recent call last):
  File "/config/custom_components/hacs/base.py", line 471, in async_can_update
    response = await self.async_github_api_method(self.githubapi.rate_limit)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/hacs/base.py", line 529, in async_github_api_method
    raise HacsException(_exception)
custom_components.hacs.exceptions.HacsException: Request exception for 'https://api.github.com/rate_limit' with - Cannot connect to host api.github.com:443 ssl:default [None]
Logger: custom_components.hacs
Source: custom_components/hacs/base.py:734
integration: HACS (documentation, issues)
First occurred: September 24, 2024 at 3:01:00 PM (5 occurrences)
Last logged: September 24, 2024 at 3:05:08 PM

A timeout of 60! seconds was encountered while downloading https://github.com/hacs/integration/releases/download/2.0.1/hacs.zip, using over 60 seconds to download a single file is not normal. This is not a problem with HACS but how your host communicates with GitHub. Retrying up to 5 times to mask/hide your host/network problems to stop the flow of issues opened about it. Tries left 0

Maybe try to uninstall and then install the new version? Following their steps:

https://www.hacs.xyz/docs/use/

(Backup HA first)

1 Like