• 1(current)
  • 2
  • 3
  • 4
  • 5
  • 7
Solved [JAPAN only] HTTP 502 Bad Gateway error for most of add-ons, scripts, and skins
#1
Since v.15.0, I've been having trouble installing add-ons. First, language & skins won't install, and now most basic add-ons won't be installed.
Log file points at HTTP 502 Bad Gateway error for all the cases of failed installation.

<For Updating Versioncheck>

12:01:25 T:6048 DEBUG: FileManager: copy http://mirrors.kodi.tv/addons/gotham/ser...-0.3.6.zip -> special://home/addons/packages/service.xbmc.versioncheck-0.3.7.zip
12:01:25 T:6048 DEBUG: CurlFile::Open(090AEE28) http://mirrors.kodi.tv/addons/gotham/ser...-0.3.7.zip
12:01:25 T:6048 ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 502
12:01:25 T:6048 ERROR: CCurlFile::Open failed with code 502 for http://mirrors.kodi.tv/addons/gotham/ser...-0.3.6.zip
12:01:25 T:6048 ERROR: CAddonInstallJob[service.xbmc.versioncheck]: failed to download special://home/addons/packages/service.xbmc.versioncheck-0.3.7.zip

<For installing Universal Movie Scraper>

13:24:45 T:2388 ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 502
13:24:45 T:2388 ERROR: CCurlFile::Open failed with code 502 for http://mirrors.kodi.tv/addons/gotham/met...-2.6.5.zip
13:24:45 T:2388 ERROR: CAddonInstallJob[metadata.common.movieposterdb.com]: failed to download special://home/addons/packages/metadata.common.movieposterdb.com-1.1.2.zip
13:24:45 T:2388 ERROR: CAddonInstallJob[metadata.universal]: failed to install dependency metadata.common.movieposterdb.com

<For installing Backup add-on>

13:29:49 T:4908 ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 502
13:29:49 T:4908 ERROR: CCurlFile::Open failed with code 502 for http://mirrors.kodi.tv/addons/gotham/scr...-1.0.6.zip
13:29:49 T:4908 ERROR: CAddonInstallJob[script.module.googleapi]: failed to download special://home/addons/packages/script.module.googleapi-1.4.0.zip
13:29:49 T:4908 ERROR: CAddonInstallJob[script.xbmcbackup]: failed to install dependency script.module.googleapi

If I go to the corresponding site on a browser, I get the same 502 error. For some, I was able to download and install manually, but most of them won't be downloaded.
#2
It's still not working and looks like it's not only me:

http://forum.kodi.tv/showthread.php?tid=237875

http://forum.kodi.tv/showthread.php?tid=237493


As I said earlier, it's not an intermittent issue as I observed languages and skin installation have not been working for weeks.

Please check if the mirror server is working fine. It could be responding differently to requests from different regions.
#3
server is working just fine.
HTTP returned error 502 means the error is very likely on your end else there would be many thousands of other complaints as well
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
#4
(2015-09-05, 14:03)Martijn Wrote: server is working just fine.
HTTP returned error 502 means the error is very likely on your end else there would be many thousands of other complaints as well

Maybe I should make myself clearer. It's not that I can't access the repo site at all.
I can access the mirror server for parent folders of the zip files, but clicking on the file gives me the 502 error like the following screenshot.


Image


I get the same both from a Windows 10 laptop and an Android tablet of mine, so it's not an OS or machine issue.

If you mean you don't yet have enough complaints to make you guys actually look into the issue, then I guess I should wait.
#5
We have many, many, many millions of downloads of files each day so if it was a problem on our side we would know
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
#6
(2015-09-05, 15:04)Martijn Wrote: We have many, many, many millions of downloads of files each day so if it was a problem on our side we would know

So now you know it's not working properly for some users.
#7
(2015-09-05, 15:08)tars Wrote:
(2015-09-05, 15:04)Martijn Wrote: We have many, many, many millions of downloads of files each day so if it was a problem on our side we would know

So now you know it's not working properly for some users.
Try a different mirror site
#8
(2015-09-05, 18:27)PatK Wrote: Try a different mirror site

That works, but requires lots of work for a simple add-on to manually download and install a chain of required dependencies through repeated (interrupted) installation attempts.
Anyway that's the only way working for me for now. Thanks for the tip!

Hopefully you guys will resolve the original issue soon.
#9
I am having the same issue as you. How were you able to solve this issue? What different mirror site?
#10
(2015-09-06, 05:17)sahilmdoshi Wrote: I am having the same issue as you. How were you able to solve this issue? What different mirror site?

No real solution yet, just a band-aid one for a few urgent add-ons.

This page (http://kodi.wiki/view/Mirror_list) lists mirror sites most of which working for me. Then you go to one of them, get the missing dependency, and install it manually. Try installing the add-on again and find out the next missing dependency, and so on. As I said, it's a lot of manual work.
#11
how about using proxy server? I mean, change to another country's IP.
I heard some country had a same problem and they used VPN or proxy server.
but it is also a lot of manual work for installation.
#12
I have the same problem as tars.
The version is 15.1.

For the installation of Japanese language the log says:
00:50:59 T:140024261433088 ERROR: CCurlFile::Open failed with code 502 for http://mirrors.kodi.tv/addons/isengard/r...-1.0.4.zip

I am in Japan, and I know some people in Japan have the same problem.

I suppose the problem is in the mirror server to which the requests
from Japan are redirected, for the error does not occur when I use a
web proxy in US.
#13
How many more complaints do we need to make people actually look into the issue? I am pretty sure millions of downloads are still occurring at this moment with the mirror server, but that does not necessarily mean everything is fine.
#14
I get reports now and then from users of a skin I maintain that they are trying to install the skin but it doesn't work -- reason is always one or more dependencies didn't download from Kodi servers. I tell them to retry later and that seems to work.

scott s.
.
maintainer of skin  Aeon MQ5 mods for post-Gotham Kodi releases:
Matrix see: Aeon MQ5 Mod Matrix release thread
Nexus see: Aeon MQ5 Mod Nexus release thread
Aeon MQ 5 skin and addon repo 11.1.0
#15
I am also in Japan and can confirm this bug as stated by op.

This is repeated every few minutes in Kodibuntu log, when Kodi tries to update the addons.

Code:
01:52:55 T:140517908150016   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 502
01:52:55 T:140517908150016   ERROR: CCurlFile::Open failed with code 502 for http://mirrors.kodi.tv/addons/helix/service.library.data.provider/service.library.data.provider-0.1.2.zip|Referer=service.library.data.provider-0.0.9.zip
01:52:55 T:140517908150016   ERROR: CAddonInstallJob[service.library.data.provider]: failed to download special://home/addons/packages/service.library.data.provider-0.1.2.zip
01:52:55 T:140518670399232  NOTICE: Thread JobWorker start, auto delete: true
01:52:56 T:140518670399232   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 502
01:52:56 T:140518670399232   ERROR: CCurlFile::Open failed with code 502 for http://mirrors.kodi.tv/addons/helix/service.scrobbler.lastfm/service.scrobbler.lastfm-1.1.1.zip|Referer=service.scrobbler.lastfm-0.1.0.zip
01:52:56 T:140518670399232   ERROR: CAddonInstallJob[service.scrobbler.lastfm]: failed to download special://home/addons/packages/service.scrobbler.lastfm-1.1.1.zip
01:52:56 T:140518420883200  NOTICE: Thread FileCache start, auto delete: false
01:52:57 T:140518670399232   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 502
01:52:57 T:140518670399232   ERROR: CCurlFile::Open failed with code 502 for http://mirrors.kodi.tv/addons/isengard/weather.openweathermap.extended/weather.openweathermap.extended-2.0.4.zip|Referer=weather.openweathermap.extended-0.0.7.zip
01:52:57 T:140518670399232   ERROR: CAddonInstallJob[weather.openweathermap.extended]: failed to download special://home/addons/packages/weather.openweathermap.extended-2.0.4.zip
01:52:57 T:140518579238656   ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://mirrors.kodi.tv/addons/gotham/script.module.routing/script.module.routing-0.2.0.zip|Referer=plugin.video.mms-4.0.1.zip
01:52:57 T:140518579238656   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 502
01:52:57 T:140518579238656   ERROR: CCurlFile::Open failed with code 502 for http://mirrors.kodi.tv/addons/gotham/script.module.routing/script.module.routing-0.2.0.zip|Referer=plugin.video.mms-4.0.1.zip
01:52:57 T:140518579238656   ERROR: CAddonInstallJob[script.module.routing]: failed to download special://home/addons/packages/script.module.routing-0.2.0.zip
01:52:57 T:140518579238656   ERROR: CAddonInstallJob[plugin.video.mms]: failed to install dependency script.module.routing

If I open the addon URLs from my laptop (also using Linux) they work OK. However, it seems Kodi is having trouble getting some of the addon URLs.
  • 1(current)
  • 2
  • 3
  • 4
  • 5
  • 7

Logout Mark Read Team Forum Stats Members Help
[JAPAN only] HTTP 502 Bad Gateway error for most of add-ons, scripts, and skins1