Addon-Store remains empty due to supervisor issues - tried so many hints but no success

Hi there,

I installed HA up to 20 times now as a Proxmox VM and in every case the same issue occured: the addon-store remains empty. I worked hard on the forum and found a lot of comments, hints, advice and different installation methods and I gave them all a try.

What I tried:

  • installation with tteck’s script (HAOS)
  • installation without script using guides in this form based on actual ISO as provided on home-assistant.io (qcow2 and vmdk as an alternative)
  • installation as supervised as provided in this forum
  • installation as supervised as provided in this forum (incl. network-manager configuration on dns)
  • set dns servers to 1.1.1.1 / 8.8.8.8 or 8.8.4.4
  • edited resolved.conf as provided in this forum
  • Fritz.Box DNS config: tried recommended IP by ISP and Cloudflare or Google alternatively
  • Fritz.Box: tried with enabled and disabled IPv6
  • disabled IPv6 in HA

Technologies:

  • Proxmox native installation with 8 different VM up and running (one Win 11 and mostly Debian 12 Bookworm)
  • VM configuration follows standard recommendations
  • DSL-connection with Fritz.Box (actual image, no VPN), set to DHCP
  • fully wired connection

Results:
every installation method ends with same result:

24-03-04 19:24:26 ERROR (MainThread) [supervisor.store.git] Can’t clone GitHub - hassio-addons/repository: Home Assistant Community Add-ons repository: Cmd(‘git’) failed due to: exit code(128)
cmdline: git clone -v --recursive --depth=1 --shallow-submodules – GitHub - hassio-addons/repository: Home Assistant Community Add-ons /data/addons/git/a0d7b954
stderr: 'Cloning into ‘/data/addons/git/a0d7b954’…
fatal: unable to access ‘GitHub - hassio-addons/repository: Home Assistant Community Add-ons’: Recv failure: Connection reset by peer
'.
24-03-04 19:24:26 ERROR (MainThread) [supervisor.store] Can’t retrieve data from GitHub - hassio-addons/repository: Home Assistant Community Add-ons due to

What makes me wonder:

  • HA: connection to the internet works in any case
  • HA: updates can be done without any trouble
  • HA: no internet connection issues in the logs except supervisor log
  • General: can access all websites incl. github thru chrome browser
  • General: can manually download data from all websites incl. github without any problem
  • all VMs on Proxmox work fine except HA
  • ping to all sites works fine

Help is really appreciated. Right now HA installation seems a miracle and closed to me as a new user.

Thanks a lot for your time

I hope the following guides might help you resolve the issue. You are in full control of everything.

In PVE make certain you have valid DNS entries. You most likely have since HA can update, but check anyway.

image

Then try to install HAOS using this guide:

Check your Proxmox install against my guides.

git with an error code 128 can mean a lot of things. It is sort of a catch all that have not been catched by other error handling.

Basic checks are the first ones to be made, like

  • space on your disk. HA should have at least 32Mb and I would suggest 64 to hold a few backups too (off-site backups should still be done!)
  • ram. HAOS should have at least 4Gb to run with addons
  • time. Make sure that HAOS can retrieve the correct time, because encryption will fail if the difference is more than a few minutes off and that will kill the encrypted connections, like the HTTPS ones.
  • cores. These might not be that important, but if you go down to only one, then you might have connections time out, because the system is so bugged down at times, that it will miss a reply in the allowed time set by the other end.
  • DNS. HAOS normally use the ones provided by your router, but at times these are misconfigured and then HAOS might revert to some hardcoded fallback servers, which you might have blocked in your firewall.

HAOS will run with no issues on 2GB RAM, NVMe storage, with 2 cores on relatively recent HW. 4GB is better but not necessary as you start.

HAOS with 8 add-ons including ESPHome, 16 integrations including Tuya, plus HACS with 6 integrations.

You can get it to run on 2Gb, but you have to be selective in your addon choice.
Grafana can easily eat over .5Gb alone and influxdb can go even further.
Node Red is also a hungry.

ESPHome does not seem to use that much memory, but I have not watched in during a compile.
I would guess its usage increases then.

Will check all your advice and give further information when done. Thanks a lot for your assitance.

With all due respect, running any of the add-ons you suggest in HA (grafana, influx, node-red, MQTT) is counterproductive. Under Proxmox, you would run these outside HA, in their own LXC as you then have full system management and observability control.

In a virtualised environment you run most add-ons outside HA, reasons I hope are self explanatory from a systems/data management and high availability perspective.

I agree, that is best practice, but often not followed due to the convenience of the HAs addon management.

@os.habitats.tech

Followed your instructions in detail - except DHCP MAC reservation due to my fritzbox which doesn’t support that. Static IP-address done by IPv4-address reservation.

Success: nope

@WallyR:

  • disk space is 32GB -without any addon installed
  • RAM size ist 2048/4096
  • cores: 2
  • DNS: no firewall installed except fritzbox hardware firewall which causes no problems on any other VM or BM installation
  • time: supervisor time seems ok, host time is always 1 hour behind, which seems to be normal as I learned

Opened firewall for e few minutes as exposed host - no success, addon-store remains empty; see error log:

24-03-05 18:05:48 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 -v --recursive --depth=1 --shallow-submodules -- 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/': Recv failure: Connection reset by peer
'.
24-03-05 18:05:48 ERROR (MainThread) [supervisor.store] Can't retrieve data from https://github.com/hassio-addons/repository due to 
24-03-05 18:05:48 INFO (MainThread) [supervisor.resolution.module] Create new suggestion execute_remove - store / a0d7b954
24-03-05 18:05:48 INFO (MainThread) [supervisor.resolution.module] Create new issue fatal_error - store / a0d7b954
24-03-05 18:05:48 ERROR (MainThread) [supervisor.store.git] Can't clone https://github.com/esphome/home-assistant-addon repository: Cmd('git') failed due to: exit code(128)
  cmdline: git clone -v --recursive --depth=1 --shallow-submodules -- https://github.com/esphome/home-assistant-addon /data/addons/git/5c53de3b
  stderr: 'Cloning into '/data/addons/git/5c53de3b'...
fatal: unable to access 'https://github.com/esphome/home-assistant-addon/': Recv failure: Connection reset by peer
'.
24-03-05 18:05:48 ERROR (MainThread) [supervisor.store] Can't retrieve data from https://github.com/esphome/home-assistant-addon due to 
24-03-05 18:05:48 INFO (MainThread) [supervisor.resolution.module] Create new suggestion execute_remove - store / 5c53de3b
24-03-05 18:05:48 INFO (MainThread) [supervisor.resolution.module] Create new issue fatal_error - store / 5c53de3b
24-03-05 18:05:48 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 -v --recursive --depth=1 --shallow-submodules -- 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/': Recv failure: Connection reset by peer
'.
24-03-05 18:05:48 ERROR (MainThread) [supervisor.store] Can't retrieve data from core due to 
24-03-05 18:05:48 INFO (MainThread) [supervisor.resolution.module] Create new suggestion execute_remove - store / core
24-03-05 18:05:48 INFO (MainThread) [supervisor.resolution.module] Create new issue fatal_error - store / core

Any new ideas that may help ?

There is an issue with connecting to github.com
Try to run “ha resolution info” and “ha network info” and post the results here.

ha resolution info:

ha network info:

Hmm, the fd00 name server is a link-local address, but it is not the same as your gateway.
This might be an issue, but it is hard to tell without a proper overview of your IPv6 network.

For now try to disable IPv6 and reboot the host (not just the core).
Then check the “ha network info” again to see if the IPv6 settings have changed.
IPv6 always have preference over IPv4.

If you have SSH & Web Terminal installed, type the following command:

wget https://github.com/hassio-addons/repository

If connection successful you should get:

image

Remove the file created with: rm repository

One more suggestion is to try 8.8.8.8 and/or 1.1.1.1 as the nameserver inside HA:

Setting → System → Network → IPv4

@WallyR

Did that - and here are the results - still no access to github/addon store:

resolution info

network info

@os.habitats.tech

  • Unfortunately I could not install SSH because of missing access to addon store . another way to get this tested ?
  • tried Cloudflare und Google in my previous attempts (see first post) with no success

Thanks you

There is no repairs under Settings → System → Repairs?

In HA CLI type: login

Then: curl https://github.com/hassio-addons/repository

You should either get an error if connection not possible or the contents of the repository file.

You can also use: curl https:///github.com/hassio-addons/repository | more to check contents which is a reference/list of .js add-on files.

It seems to be related to DNS issues.
I found a thread back from 2021 where an EERO network device is a culprit (around post 60 and down).

No repairs available

There’s no EERO or similar in use. Just my fritzbox as DSL modem. As an attempt I set it to “exposed host” to disable its firewall. unfortunately no success.