No valid repository for https://github.com/home-assistant/addons

Same issue with a nuc with win10 and virtualized (vmware) os 5.11. I’ve also tried to upgrade to 5.12 but nothing has changed.

Some other info: I’ve installed the 5.12 on the same nuc a lot of times trying to understand if was some wrong configuration by my side (debian and ubuntu, using kvm and virtual box). At the end i moved to win10 and vmware, and tried the last for version of ha os. With the 5.12 the issue was always the same, but with 5.11-10-9 the add-ons were working. So I’ve been using the 5.11 since 3-4 days and everything was ok, but this morning the dns error came up. I’ve update ha os to 5.12 (also updated my dns in ha core) but nothing changed.

I don’t know what to try anymore…

Same here.
Raspberry 4 with RASPBIAN (no Hassio) version core-2021.3.4 cannot load home-assistant/addons only the Community ones.

21-03-22 17:58:42 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING
21-03-22 17:58:42 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON
21-03-22 17:58:42 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE
21-03-22 17:58:42 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM
21-03-22 17:58:42 INFO (MainThread) [supervisor.resolution.module] Create new suggestion SuggestionType.CREATE_FULL_SNAPSHOT - ContextType.SYSTEM / None
21-03-22 17:58:42 INFO (MainThread) [supervisor.resolution.check] System checks complete
21-03-22 17:58:42 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING
21-03-22 17:58:42 INFO (MainThread) [supervisor.resolution.fixups.store_execute_remove] Remove invalid Store: core
21-03-22 17:58:42 ERROR (MainThread) [supervisor.store.repository] Can't remove built-in repositories!
21-03-22 17:58:42 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
21-03-22 17:58:43 INFO (MainThread) [supervisor.host.services] Updating service information
21-03-22 17:58:43 INFO (MainThread) [supervisor.host.network] Updating local network information
21-03-22 17:58:46 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
21-03-22 17:58:46 INFO (MainThread) [supervisor.host] Host information reload completed
21-03-22 18:02:07 WARNING (MainThread) [supervisor.store.git] No valid repository for https://github.com/home-assistant/addons
21-03-22 18:02:07 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
21-03-22 18:02:08 INFO (MainThread) [supervisor.store] Loading add-ons from store: 43 all - 0 new - 0 remove
21-03-22 18:02:08 INFO (MainThread) [supervisor.store] Loading add-ons from store: 43 all - 0 new - 0 remove
21-03-22 18:02:29 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
21-03-22 18:02:29 WARNING (MainThread) [supervisor.store.git] No valid repository for https://github.com/home-assistant/addons
21-03-22 18:02:31 INFO (MainThread) [supervisor.store] Loading add-ons from store: 43 all - 0 new - 0 remove
21-03-22 18:02:31 INFO (MainThread) [supervisor.store] Loading add-ons from store: 43 all - 0 new - 0 remove
21-03-22 18:02:38 WARNING (MainThread) [supervisor.store.git] No valid repository for https://github.com/home-assistant/addons
21-03-22 18:02:38 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
21-03-22 18:02:40 INFO (MainThread) [supervisor.store] Loading add-ons from store: 43 all - 0 new - 0 remove
21-03-22 18:02:40 INFO (MainThread) [supervisor.store] Loading add-ons from store: 43 all - 0 new - 0 remove
21-03-22 18:02:58 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING 

I am also seeing these messages on a Hyper-V host running the OVA, so it doesn’t look related to the Pi.

Versions:

core-2021.3.4
supervisor-2021.03.6
Home Assistant OS 5.12

Did you try to open the link “https://github.com/home-assistant/addons” on another computer using a browser ? There is maybe a DNS translation issue…

------- provisionally SOLVED!!! I think -------

This is WORKING FOR ME right now

sudo git init
sudo git config http.postBuffer 524288000

After multiples tryings of loading the repo and restarting the Supervisor and reloading it, sometimes i got error codes about github error connections. After searching and trying a lot, It seems that the repo size is too big and can’t end the operations before closing connection. So you should change some Git parametres.

(Yesterday i tried some other postbuffers parametres but it appears they werent large enough. Maybe in the future the same thing happends again :frowning: )

–edited-- (added ‘fix’)

NOT a DNS problem.

I’ll explain you why… Because it can retrieve and load (and install/use) the HA Community Add-ons repository without a problem.
(Inside Github and similar url )

For me the problem persists.

This is my system log:

1-03-23 14:19:34 INFO (MainThread) [supervisor.resolution.fixups.store_execute_remove] Remove invalid Store: core
21-03-23 14:19:34 ERROR (MainThread) [supervisor.store.repository] Can't remove built-in repositories!
21-03-23 14:19:34 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING
21-03-23 14:19:34 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON
21-03-23 14:19:34 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE
21-03-23 14:19:34 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM
21-03-23 14:19:34 INFO (MainThread) [supervisor.resolution.check] System checks complete
21-03-23 14:19:34 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING
21-03-23 14:19:34 INFO (MainThread) [supervisor.resolution.fixups.store_execute_remove] Remove invalid Store: core
21-03-23 14:19:34 ERROR (MainThread) [supervisor.store.repository] Can't remove built-in repositories!
21-03-23 14:19:34 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
21-03-23 14:19:34 INFO (MainThread) [supervisor.resolution.fixups.store_execute_remove] Remove invalid Store: core
21-03-23 14:19:34 ERROR (MainThread) [supervisor.store.repository] Can't remove built-in repositories!
21-03-23 14:19:34 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING
21-03-23 14:19:34 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON
21-03-23 14:19:34 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE
21-03-23 14:19:34 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM
21-03-23 14:19:34 INFO (MainThread) [supervisor.resolution.check] System checks complete
21-03-23 14:19:34 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING
21-03-23 14:19:34 INFO (MainThread) [supervisor.resolution.fixups.store_execute_remove] Remove invalid Store: core
21-03-23 14:19:34 ERROR (MainThread) [supervisor.store.repository] Can't remove built-in repositories!
21-03-23 14:19:34 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
21-03-23 14:19:37 WARNING (MainThread) [supervisor.store.git] No valid repository for https://github.com/home-assistant/addons
21-03-23 14:19:37 INFO (MainThread) [supervisor.store] Loading add-ons from store: 0 all - 0 new - 0 remove
21-03-23 14:19:37 INFO (MainThread) [supervisor.store] Loading add-ons from store: 0 all - 0 new - 0 remove
21-03-23 14:20:18 INFO (SyncWorker_1) [supervisor.docker.interface] Restarting homeassistant/qemux86-64-homeassistant
21-03-23 14:20:24 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
21-03-23 14:21:12 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
21-03-23 14:21:14 INFO (MainThread) [supervisor.api.security] /network/info access from core_ssh
21-03-23 14:21:14 INFO (MainThread) [supervisor.api.security] /host/info access from core_ssh
21-03-23 14:21:14 INFO (MainThread) [supervisor.api.security] /core/info access from core_ssh
21-03-23 14:28:43 WARNING (MainThread) [supervisor.store.git] No valid repository for https://github.com/home-assistant/addons
21-03-23 14:28:43 INFO (MainThread) [supervisor.store] Loading add-ons from store: 0 all - 0 new - 0 remove
21-03-23 14:28:43 INFO (MainThread) [supervisor.store] Loading add-ons from store: 0 all - 0 new - 0 remove
21-03-23 14:29:52 INFO (SyncWorker_1) [supervisor.docker.interface] Restarting homeassistant/qemux86-64-homeassistant
21-03-23 14:29:58 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
21-03-23 14:30:06 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
21-03-23 14:30:06 INFO (MainThread) [supervisor.auth] Auth request from 'core_mosquitto' for 'mqtt_davide'
21-03-23 14:30:07 INFO (MainThread) [supervisor.auth] Home Assistant not running, checking cache
21-03-23 14:30:26 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
21-03-23 14:31:05 WARNING (MainThread) [supervisor.store.git] No valid repository for https://github.com/home-assistant/addons
21-03-23 14:31:05 INFO (MainThread) [supervisor.store] Loading add-ons from store: 0 all - 0 new - 0 remove
21-03-23 14:31:05 INFO (MainThread) [supervisor.store] Loading add-ons from store: 0 all - 0 new - 0 remove

What I did was restarting the supervisor, reloading the supervisor and trying to ADD the REPO again / reload the repos.

There’s a point where they add the error lines while trying to load the repo + the same lines you’ve.
Try it several times to check if you can find those errors. Thanks to these errors i coould search the problem where it lied (i also added a NAME in the GIT config as i found yesterday it might be the cause… i dunno i tried 20000 different things and i’m new in linux :expressionless: )

But how can I open a terminal if I cannot install SSH add on?
where I can type:

sudo git init

etc…?

I’m sorry but I can’t help you with that. I’m a Windows guy with poor Linux knowledge.

I’m using Raspbian and there’s Terminal there… and to connect from windows and work properly, instead of SSH I use the installed VNCServer

I think that you can type directly in the HA OS in your system (raspberry/nuc/linux/etc) or with an addon like Terminal

I can’t really understand where is my problem. HA seems like trying to delete the repo and fixing it everytime! Could somebody help us?

Having the same problem with my install, I am running my HASS within a VM on proxmox,
Home Assistant OS 5.12
supervisor-2021.03.6
core-2021.3.4
What is interesting is the error has change from cant find repository to connection refused

21-03-24 19:39:59 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
21-03-24 19:39:59 ERROR (MainThread) [supervisor.store.git] Can't update https://github.com/home-assistant/addons repo: Cmd('git') failed due to: exit code(128)
  cmdline: git fetch --depth=1 --update-shallow -v origin
  stderr: 'fatal: unable to access 'https://github.com/home-assistant/addons/': Failed to connect to github.com port 443: Connection refused'.
21-03-24 19:39:59 INFO (MainThread) [supervisor.resolution.module] Create new issue IssueType.CORRUPT_REPOSITORY - ContextType.STORE / core
21-03-24 19:39:59 INFO (MainThread) [supervisor.resolution.module] Create new suggestion SuggestionType.EXECUTE_RESET - ContextType.STORE / core
21-03-24 19:40:00 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished name='Task-1081' coro=<Repository.update() done, defined at /usr/src/supervisor/supervisor/store/repository.py:105> exception=StoreGitError()>
Traceback (most recent call last):
  File "/usr/src/supervisor/supervisor/store/git.py", line 155, in pull
    await self.sys_run_in_executor(
  File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.8/site-packages/git/remote.py", line 796, in fetch
    res = self._get_fetch_info_from_stderr(proc, progress)
  File "/usr/local/lib/python3.8/site-packages/git/remote.py", line 674, in _get_fetch_info_from_stderr
    proc.wait(stderr=stderr_text)
  File "/usr/local/lib/python3.8/site-packages/git/cmd.py", line 408, in wait
    raise GitCommandError(self.args, status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git fetch --depth=1 --update-shallow -v origin
  stderr: 'fatal: unable to access 'https://github.com/home-assistant/addons/': Failed to connect to github.com port 443: Connection refused'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/usr/src/supervisor/supervisor/store/repository.py", line 109, in update
    await self.git.pull()
  File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 102, in wrapper
    raise err
  File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 100, in wrapper
    return await self._method(*args, **kwargs)
  File "/usr/src/supervisor/supervisor/store/git.py", line 195, in pull
    raise StoreGitError() from err
supervisor.exceptions.StoreGitError

It looks like there i a problem with the SSl certificate:
SSL certificate problem: certificate is not yet valid

My system log is this:

> 21-03-07 23:59:56 ERROR (MainThread) [supervisor.store.git] Can't clone https://github.com/home-assistant/addons repository: Cmd('git') failed due to: exit code(128)
>   cmdline: git clone --depth=1 --recursive --shallow-submodules -v https://github.com/home-assistant/addons /data/addons/core
>   stderr: 'Cloning into '/data/addons/core'...
> fatal: unable to access 'https://github.com/home-assistant/addons/': SSL certificate problem: certificate is not yet valid
> '.
> 21-03-07 23:59:56 INFO (MainThread) [supervisor.resolution.module] Create new issue IssueType.FATAL_ERROR - ContextType.STORE / core
> 21-03-07 23:59:56 INFO (MainThread) [supervisor.resolution.module] Create new suggestion SuggestionType.EXECUTE_REMOVE - ContextType.STORE / core
> 21-03-07 23:59:56 ERROR (MainThread) [supervisor.store] Can't load data from repository core
> 21-03-07 23:59:56 ERROR (MainThread) [supervisor.store.git] Can't clone https://community.home-assistant.io/tags/hassio-repository repository: Cmd('git') failed due to: exit code(128)
>   cmdline: git clone --depth=1 --recursive --shallow-submodules -v https://community.home-assistant.io/tags/hassio-repository /data/addons/git/67526cfc
>   stderr: 'Cloning into '/data/addons/git/67526cfc'...
> fatal: repository 'https://community.home-assistant.io/tags/hassio-repository/' not found

UPDATE:… Mine seems to have come right on its own:

Latest logs:

21-03-24 20:36:23 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING
21-03-24 20:36:23 INFO (MainThread) [supervisor.resolution.fixups.store_execute_reset] Reset corrupt Store: core
21-03-24 20:36:23 INFO (MainThread) [supervisor.store.git] Cloning add-on https://github.com/home-assistant/addons repository
21-03-24 20:36:24 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete

Oh joy, now supervisor has decided to remove the community addons on its own. I have no problem getting to either the hass io offical repository or the community repository on two different computers on my network, also on two different browsers.

21-03-24 22:36:24 INFO (MainThread) [supervisor.store.git] Cloning add-on https://github.com/hassio-addons/repository repository
21-03-24 22:36:24 ERROR (MainThread) [supervisor.store.git] Can't clone https://github.com/hassio-addons/repository repository: Cmd('git') failed due to: exit code(128)
  cmdline: git clone --depth=1 --recursive --shallow-submodules -v https://github.com/hassio-addons/repository /data/addons/git/a0d7b954
  stderr: 'Cloning into '/data/addons/git/a0d7b954'...
fatal: unable to access 'https://github.com/hassio-addons/repository/': Failed to connect to github.com port 443: Connection refused
'.
21-03-24 22:36:24 INFO (MainThread) [supervisor.resolution.module] Create new issue IssueType.FATAL_ERROR - ContextType.STORE / a0d7b954
21-03-24 22:36:24 INFO (MainThread) [supervisor.resolution.module] Create new suggestion SuggestionType.EXECUTE_REMOVE - ContextType.STORE / a0d7b954
21-03-24 22:36:24 INFO (MainThread) [supervisor.resolution.fixups.store_execute_remove] Remove invalid Store: a0d7b954
21-03-24 22:36:24 INFO (MainThread) [supervisor.store.git] Removing custom add-on repository https://github.com/hassio-addons/repository

Still the same problem…
What workaround can we try?

21-03-26 08:53:26 ERROR (MainThread) [supervisor.store.repository] Can't remove built-in repositories!
21-03-26 08:53:26 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
21-03-26 08:53:26 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
21-03-26 09:16:49 WARNING (MainThread) [supervisor.host.network] Can't update connectivity information: Error: Timeout was reached
21-03-26 10:53:26 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING
21-03-26 10:53:26 INFO (MainThread) [supervisor.resolution.fixups.store_execute_remove] Remove invalid Store: core
21-03-26 10:53:26 ERROR (MainThread) [supervisor.store.repository] Can't remove built-in repositories!
21-03-26 10:53:26 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
21-03-26 10:53:26 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
21-03-26 11:50:05 WARNING (MainThread) [supervisor.store.git] No valid repository for https://github.com/home-assistant/addons
21-03-26 11:50:05 INFO (MainThread) [supervisor.store] Loading add-ons from store: 0 all - 0 new - 0 remove
21-03-26 11:50:05 INFO (MainThread) [supervisor.store] Loading add-ons from store: 0 all - 0 new - 0 remove

I had that part of the log indicating problems with the SSL certificate as well but from my experience it isn’t the problem as you can always include the url repository within the trusted websites trough the windows network configuration. If you do so and reboot the supervisor you’ll see that the SSL certificate log line goes away.

It is very strange, Still have the problem and I cannot install the deCONZ add on fo rthe COnbee2. So I cannot do anything…

Are we the only one with this problem? incredible

Yeap… it is a bit frustrating.
Isn’t there anyway to get supper programmers attention so they can help out amateurs as ourselves :stuck_out_tongue_winking_eye:??

I decided to jump somewhere else.
I am now on Debian 10, works like a charm.
With a snapshot should be very easy to keep everything in place.
Mine was a fresh installation so I didn’t have that issue at all.
Link guide for the brave.
Installing Home Assistant Supervised on a Raspberry Pi with Debian 10 - Community Guides - Home Assistant Community (home-assistant.io)

Not more than 30 minutes of effort, a lot of peace in the heart.

Hope devs can solve the problem anyway. It was a real nightmare being in the black hole.

1 Like