Solved Unable to access official repository
#1
On a fresh libreelec installation, I am unable to access the official addon repository. Other repositories (e.g. libreelec) work.
Relevant logs:
Code:

2024-03-28 23:53:17.755 T:973     error <general>: CCurlFile::CReadState::FillBuffer - (0xee563680) Failed: Couldn't connect to server(7)
2024-03-28 23:53:17.755 T:973     error <general>: CCurlFile::Open - <http://mirrors.kodi.tv/addons/nexus/addons.xml.gz?sha256> Failed with code 0:
                                                   
2024-03-28 23:53:17.755 T:973     error <general>: CRepository: failed read 'http://mirrors.kodi.tv/addons/nexus/addons.xml.gz?sha256'

Note that when I ssh into the machine and curl the same url but with https (https://mirrors.kodi.tv/addons/nexus/add....gz?sha256) it works:
Code:

# curl http://mirrors.kodi.tv/addons/nexus/addo....gz?sha256
curl: (7) Failed to connect to mirrors.kodi.tv port 80 after 172 ms: Couldn't connect to server
# curl https://mirrors.kodi.tv/addons/nexus/add....gz?sha256
17966e478acf3c882dddee3afe7f05fe0a5f2b207087de45cbffc4f1bd84c04f  addons.xml.gz
Reply
#2
I have this exact same problem, please help
Reply
#3
A trial fix is in place now.
Please try again, although as mirrors are involved it might take a while to roll out.
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
#4
Seems to be reachable again for me, thanks.
Reply
#5
Thread marked solved.
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
#6
Sorry to re-open this, but I'm having same problem.

Fresh Kodi installation part of Batocera. Kodi is 20.2.0. On a raspberry4.

Cannot connect to repository (when trying to install from repository). Also I don't get "Get More" button when trying to change Skin.

Log:

2024-03-30 11:10:41.723 T:7637    debug <general>: Thread waiting start, auto delete: false
2024-03-30 11:10:41.724 T:7637    debug <general>: CAddonDatabase: SELECT repo.id FROM repo .. took 0 ms
2024-03-30 11:10:41.724 T:7637    debug <general>: CAddonDatabase: no valid repository matching 'repository.xbmc.org'
2024-03-30 11:10:41.724 T:7638    debug <general>: Thread JobWorker start, auto delete: true
2024-03-30 11:10:41.725 T:7638    debug <general>: CRepositoryUpdateJob[repository.xbmc.org] checking for updates.
2024-03-30 11:10:41.726 T:7638    debug <general>: CurlFile::Open - <http://mirrors.kodi.tv/addons/nexus/addons.xml.gz?sha256>
2024-03-30 11:10:41.726 T:7638    debug <general>: easy_acquire - Created session to http://mirrors.kodi.tv
2024-03-30 11:10:41.823 T:7011    debug <general>: ------ Window Init (DialogBusy.xml) ------
2024-03-30 11:10:47.139 T:7638    debug <general>: CurlFile::Open - <http://mirrors.kodi.tv/addons/nexus/addons.xml.gz>
2024-03-30 11:11:07.401 T:7638    error <general>: CCurlFile::CReadState::FillBuffer - (0x7f4c0d6030) Failed: Error(28)
2024-03-30 11:11:07.401 T:7638    error <general>: CCurlFile::Open - <http://mirrors.kodi.tv/addons/nexus/addons.xml.gz> Failed with code 0:
2024-03-30 11:11:07.401 T:7638    error <general>: CRepository: failed to read http://mirrors.kodi.tv/addons/nexus/addons.xml.gz

If I do a curl or wget from the machine there's no problem I can download the .gz file. Kodi says it's connected to the internet and the connection on the machine works (Batocera, terminal etc.), apart from this problem in Kodi.
Reply
#7
@opoloko can you show the output of curl -vvvLo /dev/null http://mirrors.kodi.tv/addons/nexus/addons.xml.gz
Reply
#8
(2024-03-30, 23:19)yol Wrote: curl -vvvLo /dev/null http://mirrors.kodi.tv/addons/nexus/addons.xml.gz

Sure, here it is https://paste.kodi.tv/raw/pamegipuhi

In Kodi System Information, it says it is connected to the internet.

Thank you for the quick reply!
Reply
#9
I should add that Kodi is connected also because it can retrieve information (images etc.) about my music library files.

Also, trying to add manually the mirror I get (cologne) as a source and then installing from zip, it works, so the problem must be somehow it tries to get the mirror (curl 28 is timeout but only in Kodi as it works from terminal...).

I would not mind installing from zip directly from one of the mirrors, but manually installing every single time all dependencies makes it impossible...
Reply
#10
I solved, somehow, restarting my wifi router (!).
Reply
#11
Can't really tell you what went wrong there... Since it worked from curl, I guess something in your router must have reacted to the specific header options that kodi sets (in contrast to curl). Or you were, by chance, getting a different mirror from within Kodi that you were not able to reach. Still pretty weird.
Reply
#12
If it happens again, if I'm not mistaken there is an option within kodi to enable libcurl debugging which might give us more info.
Reply
#13
Thanks, I'll look for it!
Reply
#14
https://kodi.wiki/view/Settings/System/L...ic_logging
Reply
#15
Router restart did not work for me.
Reply

Logout Mark Read Team Forum Stats Members Help
Unable to access official repository0
This forum uses Lukasz Tkacz MyBB addons.