Could not connect to repository

Vero 4k+
Release OSMC_TGT_vero3_20201227.img

Clean system after a reinstall, trying to browse add-ons via the gui, ui output Could not connect to repository

kodi.log
2021-02-10 13:18:58.298 T:3677528288 ERROR: CRepository: http://download.osmc.tv/kodi/addons/leia/addons.xml.gz index has wrong digest bd2dadc54074bc7fb615f5ca1af0e9246f8357fa43ed7d7f7a9be334225af64b, expected: f83cd7b588057d291d9b129fe78a4c4d04ce7193278bbb11f95bbe09ca36ab5a 2021-02-10 13:18:58.446 T:4071115968 WARNING: CGUIMediaWindow::OnMessage - updating in progress 2021-02-10 13:19:01.358 T:3646943456 ERROR: GetDirectory - Error getting addons://repos/ 2021-02-10 13:19:01.398 T:4071115968 ERROR: CGUIMediaWindow::GetDirectory(addons://repos/) failed

Any help would be much appreciated!

Something ugly seems to being on.
Suggest to go to command line on the Vero and try
wget http://download.osmc.tv/kodi/addons/leia/addons.xml.gz
sha256sum addons.xml.gz

If the result is not f83cd7b588057d291d9b129fe78a4c4d04ce7193278bbb11f95bbe09ca36ab5a something is playing with you. Post which mirror the file is downloaded from with wget.

Worked like a charm, thank you very much!

osmc@osmc:~$ sha256sum addons.xml.gz
f83cd7b588057d291d9b129fe78a4c4d04ce7193278bbb11f95bbe09ca36ab5a addons.xml.gz`

That is confusing so is the repository refresh in Kodi also now working or did you extract it manually?

after i downloaded addons.xml.gz everything worked as i would expect. I used the GUI to browse addons. All i can see in the logs after the wget command is

NOTICE ADDON: addon_name version installed

I have the same issued after fresh reinstall.

kodi.log

2021-08-01 08:02:31.379 T:3797623008 ERROR: GetDirectory - Error getting addons://repos/
2021-08-01 08:02:31.395 T:4064742592 ERROR: CGUIMediaWindow::GetDirectory(addons://repos/) failed
2021-08-01 08:02:35.660 T:3936350432 ERROR: CRepository: http://download.osmc.tv/kodi/addons/leia/addons.xml.gz index has wrong digest 3a212a4f66379f2c52ba12cbe72c576049632e64efc74f760a15051d1bbb5584, expected:?addons.xml?[sǕ.??_???
2021-08-01 08:02:35.804 T:4064742592 WARNING: CGUIMediaWindow::OnMessage - updating in progress

wget

$ wget http://download.osmc.tv/kodi/addons/leia/addons.xml.gz
–2021-08-01 07:53:51-- http://download.osmc.tv/kodi/addons/leia/addons.xml.gz
Resolving download.osmc.tv (download.osmc.tv)… 77.68.92.173, 2a00:da00:1800:9a::1
Connecting to download.osmc.tv (download.osmc.tv)|77.68.92.173|:80… connected.
HTTP request sent, awaiting response… 302 Found
Location: http://ftp.fau.de/osmc/osmc/download/kodi/addons/leia/addons.xml.gz [following]
–2021-08-01 07:53:51-- http://ftp.fau.de/osmc/osmc/download/kodi/addons/leia/addons.xml.gz
Resolving ftp.fau.de (ftp.fau.de)… 131.188.12.211, 2001:638:a000:1021:21::1
Connecting to ftp.fau.de (ftp.fau.de)|131.188.12.211|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 1336184 (1.3M) [application/x-gzip]
Saving to: ‘addons.xml.gz’

addons.xml.gz 100%[=========================================================================>] 1.27M 753KB/s in 1.7s

2021-08-01 07:53:54 (753 KB/s) - ‘addons.xml.gz’ saved [1336184/1336184]

sha256sum

$ sha256sum addons.xml.gz
3a212a4f66379f2c52ba12cbe72c576049632e64efc74f760a15051d1bbb5584 addons.xml.gz

Any thought?

The last post is 6 months old, so I suspect the post is not related to OPs – some full logs and a description of the issue you are experiencing would be better.

Sam

The problem seems to be that http://download.osmc.tv/kodi/addons/matrix/addons.xml.gz?sha256 does not return a checksum, but the binary file.

Just full factory re-installed via USB to 18.9 build, also unable to access the official repo

I think it must be the server?

1 Like

Same here

I’ll check this out shortly.

1 Like

Same problem here, may this info helps?

osmc@woonkamer:~/.kodi/temp$ wget http://download.osmc.tv/kodi/addons/leia/addons.xml.gz
--2021-08-01 20:12:13--  http://download.osmc.tv/kodi/addons/leia/addons.xml.gz
Resolving download.osmc.tv (download.osmc.tv)... 77.68.92.173, 2a00:da00:1800:9a::1
Connecting to download.osmc.tv (download.osmc.tv)|77.68.92.173|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://ftp.fau.de/osmc/osmc/download/kodi/addons/leia/addons.xml.gz [following]
--2021-08-01 20:12:13--  http://ftp.fau.de/osmc/osmc/download/kodi/addons/leia/addons.xml.gz
Resolving ftp.fau.de (ftp.fau.de)... 131.188.12.211, 2001:638:a000:1021:21::1
Connecting to ftp.fau.de (ftp.fau.de)|131.188.12.211|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1336354 (1.3M) [application/x-gzip]
Saving to: 'addons.xml.gz'

addons.xml.gz                         100%[=======================================================================>]   1.27M  5.50MB/s    in 0.2s

2021-08-01 20:12:14 (5.50 MB/s) - 'addons.xml.gz' saved [1336354/1336354]

osmc@woonkamer:~/.kodi/temp$ sha256sum addons.xml.gz
d79d9793b968e7e06794e362b4eba56a787937b245fbeb2535516aec3a746674  addons.xml.gz
osmc@woonkamer:~/.kodi/temp$

2021-08-01 20:03:33.275 T:4069285056 WARNING: CGUIMediaWindow::OnMessage - updating in progress
2021-08-01 20:03:36.632 T:3966939360   ERROR: GetDirectory - Error getting addons://repos/
2021-08-01 20:03:36.649 T:4069285056   ERROR: CGUIMediaWindow::GetDirectory(addons://repos/) failed
2021-08-01 20:05:03.199 T:3966939360   ERROR: CRepository: http://download.osmc.tv/kodi/addons/leia/addons.xml.gz index has wrong digest d79d9793b968e7e06794e362b4eba56a787937b245fbeb2535516aec3a746674, expectedÿaddons.xmlì½[sÇ.úÎ_G/#@Ð=³=ÞíÐÕÖX²u$Y³gbG0²»Ý


thanks!

This should now be solved. I was performing some server migrations yesterday and didn’t fully migrate our MirrorBits infrastructure yet so used a fallback URL for downloads. This has now been migrated and should work as expected.

Thanks for the report and apologies for the inconvenience.

2 Likes

It’s working now. Thank you!