@Travis Bell
Numerous reports today about artwork not available when scraping new movies and tv shows with Kodi.
I initially did not experience it, but am now.
ERROR <general>: CCurlFile::Stat - Failed: Failure when receiving data from the peer(56) for http://image.tmdb.org/t/p/original/kXEERWLX5QxxtBJKWkMFT1sp75Q.jpg
DEBUG <general>: CTextureCacheJob::GetImageHash - unable to stat url http://image.tmdb.org/t/p/original/kXEERWLX5QxxtBJKWkMFT1sp75Q.jpg
Any problems at your end?
I have some more detailed logs available with libcURL debugging enabled. Let me know if you need them.
Reports on Kodi forum... https://forum.kodi.tv/showthread.php?tid=357709
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by zockz
on October 15, 2020 at 5:51 AM
The issue seems to be over here, unencrypted HTTP2 connections seem to be broken. You can try with
Reply by Travis Bell
on October 15, 2020 at 10:53 AM
Cloudflare reported two issues within the last 24 hours:
Other than that I am not seeing any issues identified by our external monitoring, or our internal logging.
Is it still happening?
Reply by revorge
on October 15, 2020 at 10:59 AM
Scraping artwork with Kodi is stil not working and broke about 24 to 36 hours ago.
Reply by Travis Bell
on October 15, 2020 at 11:01 AM
Is there a body being returned on a request that is failing? Cloudflare might be returning a useful error.
There's been no other reported issues so this seems like something unique to Kodi.
Reply by zockz
on October 15, 2020 at 11:08 AM
The error we see in curl and in kodi is (sorry, forgot to mention): ``` (56) Recv failure: Connection reset by peer
Reply by Travis Bell
on October 15, 2020 at 11:10 AM
Sounds like an issue with Cloudflare's HTTP/2 then. I'll file a ticket and let you know when I hear back.
Reply by pengipete
on October 15, 2020 at 12:22 PM
Had the problem here (UK - using Kodi on a Firestick). Did a full reinstall etc (should have checked here first - DOH!) Anyhoo - swapped to using the "The Move Database Python" scraper and that's working perfectly for me. Hope that helps, even if it's only temporary.
Reply by Travis Bell
on October 15, 2020 at 9:29 PM
Alright, well I have our answer as to what changed. Cloudflare has started rejecting HTTP/2 requests over non TLS (plain HTTP) requests. On the surface this might seem like kind of a strange decision but it's not completely unfounded. It turns out there isn't a single popular web browser that has implemented HTTP/2 without TLS. They all banded together and decided that HTTP/2 will be used with TLS only. So while it's not officially part of the spec, it's how the market has decided to operate itself.
So, @KarellenX, we have 2 easy-ish options:
I'd lean towards options #2 since you'll get the benefits of HTTP/2 and the security of having all requests be encrypted.
Reply by KarellenX
on October 15, 2020 at 10:34 PM
Thank you @travisbell
Let me pass this onto pkscoout, olympia and other team members and we can discuss.
We'll be in touch if we have more questions.
Reply by FOX_ITA
on October 16, 2020 at 9:32 AM
While waiting the issue to be solve, how do you set the Python version as default one? The normal one , default as it is right now, seems that cannot be disable. Many thanks
Reply by pengipete
on October 16, 2020 at 10:47 AM
Go into Kodi settings, got to MEDIA>Videos. Right click (or equivalent) on your Movies" folder and select "Change Content". Click on "Choose information provider" and when the "Movie Information" window opens, select "Get More..." then scroll down and select the scraper you want. Click any "Okay" window to exit and allow Kodi to update the data held for your movies.
FWIW - if you're also using TMDB for TV Shows, I find that The TV Database works better anyway so do the same as above to select TVDB if necessary.
Reply by Travis Bell
on October 16, 2020 at 11:31 AM
Ya, it's kind of weird Cloudflare has decided to just terminate the request. If you look at what CloudFront is doing (where we host the website and API), they just downgrade the request to HTTP 1.1:
The image service is the only thing running on Cloudflare, which is why the issue only shows up there.
Reply by FOX_ITA
on October 16, 2020 at 11:35 AM
thanks @pengipete !
@travisbell is it something what will be eventually fixed ? Thanks for all explanations
Reply by Travis Bell
on October 16, 2020 at 11:37 AM
@FOX_ITA Based on the reply from @KarellenX, it sounds like you can expect to see an update to the scraper at some point. There isn't anything we can do on our end.
Reply by pengipete
on October 16, 2020 at 2:28 PM
Seems to be working again. Thanks folks :)