Cant add hacs

hi
I am trying to set the HACS in my HA with no success

  1. i try the the HACS add-ons installer - didnt work
  2. try to use the " wget -O - https://get.hacs.xyz | bash -" get bad address also for all other address like “https://raw.githubusercontent.com/hacs/get/main/get” etc

I downloadd the script and run it manually but get an issue wite the “wget “https://github.com/hacs/integration/releases/latest/download/hacs.zip””
downloadd the HACS manually and remove the lines that erase the old one ,the script is running and I get

(it looks slike not all the files from the zip are there )

but still cant see it in the integration list
I clear the Browser reboot etc …
anyone can help (my be my HA got configuration issue?)

after open the zip file and copyed it to the directory i can see the HACS
but when tring to install it i get “could_not_register”

logg

This error originated from a custom integration.

Logger: custom_components.hacs
Source: custom_components/hacs/config_flow.py:98
integration: HACS (documentation, issues)
First occurred: 12:12:59 PM (1 occurrences)
Last logged: 12:12:59 PM

Timeout of 20 reached while waiting for https://github.com/login/device/code
Traceback (most recent call last):
  File "/config/custom_components/hacs/config_flow.py", line 98, in async_step_device
    response = await self.device.register()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aiogithubapi/device.py", line 103, in register
    response = await self._client.async_call_api(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<9 lines>...
    )
    ^
  File "/usr/local/lib/python3.13/site-packages/aiogithubapi/client.py", line 147, in async_call_api
    raise GitHubConnectionException(
    ...<2 lines>...
    ) from None
aiogithubapi.exceptions.GitHubConnectionException: Timeout of 20 reached while waiting for https://github.com/login/device/code

Try

curl -sSL https://get.hacs.xyz | bash -

Otherwise check your DNS and/or network connectivity.

hi
allready try this

my DNS looks ok (it is the router ip) as on my computer etc
it is definitely an network issue i just can’t find it
addons etc have no net issue
my be a port that need to be open ?

Do you have PiHole or AdGuard or another DNS Proxy running that is deciding what websites are safe for you to use?

no
i think i will reinstall the HA :frowning:

Before you do that, can you confirm that you followed these steps (especially the part where it says to clear your browser cache)?

Also, just because your DNS is pointing to your router, doesn’t mean your router’s DNS is compatible with HACS. If your router’s DNS is using your ISP’s DNS, then they might be blocking access to github.
Either set your HA DNS to cloudflare (1.1.1.1) or google (8.8.8.8) from the Network settings, or else set those DNS addresses directly in your router instead of the ISP DNS.

PS - what type of HA install are you running? If it’s Core or Supervised, it’s no longer supported so HACS won’t work

1 Like