Add-on Store is broken 'Failed to fetch add-on info'

I’m getting the same issue too…Our installs are fine, it’s something external.

I have the same issue.
HA answers with a HTTP error 500 (internal server error)

Aanvraag-URL:https://my.hass.domain/api/hassio/addons
Aanvraagmethode:GET
Extern adres:x.x.x.x:443
Statuscode:
500

Same issue here. I’ve got a running system on a Pi that has been fine and suddenly now comes up with this message. I was also in the process of setting up a VM and did a clean install, same error so I’m pretty certain this is an external problem.

Hi i ve same issue i thought it was my config fault but so seems no. btw all the other HA stuff working fine

Same error here!

FWIW, I’ve raised this in the Hass.io forum as in my opinion it’s less of a configuration issue and more of a Hass.io problem.

1 Like

Let’s try to find the root of the problem: I entered a wrong URL in the add-on store page first. After that I added a github URL for ESPhome.

It might be coincidence, though. What did you do to trigger it? Or is it really a case of waiting untill the next update?

I didn’t do anything. In fact I was actually installing a Hass.io instance in a VM on another machine to try out and the add-on store on that fresh out of the box install came up with the error.

+1, same here. “Failed to fetch add-on info” message

I also didn’t do anything.
I’m guessing one of the manually added links to the repositories of other users got broken? Just a wild guess. I think I have added about 5 repo url’s. I remember the official hass io add on from Frenck and I remember one from user called Romkabouter or something like that. And perhaps one of Snips. Not sure, though.

Do you know where Hassio does store those repo links? I have only one extra Repo, so if that one is broken we have it. Just need to see the config as i dont remeber which one it was

I’m not a developer, but with some grepping I found the repository url’s.
Can you ssh into your system and execute the following and show me what you got?
find /usr/share/hassio/addons/git/ -name repository.json | xargs cat
I have these three:
{
“name”: “Community Hass.io Add-ons”,
“url”: “https://github.com/hassio-addons/repository”,
“maintainer”: “Franck Nijhof [email protected]
}
{
“name”: “Romkabouter’s Hass.IO add-on repository”,
“url”: “https://github.com/Romkabouter/hassio-addons”,
“maintainer”: “Romkabouter [email protected]
}
{
“name”: “Snips Repository from Tod Schmidt”,
“url”: “https://github.com/tschmidty69/hassio-snips/”,
“maintainer”: “Tod Schmidt [email protected]
}

I also found there is a fourth subdirectory in addons/git . It is from esphome and does not have a repository.json file. ?

Are you saying that a clean install also shows this problem?

Yup, fresh out of the box install on a VM does exactly the same thing. At that point I stopped fiddling with my system and turned to the forums.

Thank you @bucksbass. Very odd.
So this would be a general hassio problem which potentially affects all users.
Maybe @frenck or @balloob can shed a light on this issue? It looks kinda big.

Both Franck and Paulus are currently doing a livestream on Youtube, so I guess we have to wait for that to end at the very least.

Also experiencing this, didn’t change anything.

Any timeline for this getting fixed?

All, simply make sure you have a repository.json in all subfolders located in usr/share/hassio/addons/git.
ESPhome was missing it, so I manually created the file with the following:
{
“name”: “ESPhome”,
“url”: “https://github.com/esphome/esphome”,
“maintainer”: “Ottowinter”
}

You then have to reboot completely (not just home assistant).

Looking at https://github.com/esphome/esphome vs https://github.com/haruny/adt-pulse-mqtt, you can see that adt-pulse-mqtt contains the file, while esphome doesn’t.
Once I added the file the hass.io addons store worked again.

2 Likes