Timeouts, cancelled loading and bad gateway.

Post Reply
Posts: 1
Joined: Sat Dec 14, 2019 1:26 pm

Timeouts, cancelled loading and bad gateway.

Post by ronniedk »

Since thursday 20191212 we have been experiencing timeout and cancelled connections to assets.fanart.tv (403, 401, 500), e.g;

Cancelling connection to //assets.fanart.tv/fanart/movies/9645/movieposter/ghost-ship-531b68541e37a.jpg due to a previous timeout.
Connection to //assets.fanart.tv/fanart/movies/3131/movieposter/gangs-of-new-york-556fd9efbf860.jpg timed out.
Cancelling connection to //assets.fanart.tv/fanart/movies/15060/movieposter/futurama-into-the-wild-green-yonder-5896143ed239d.jpg due to a previous timeout.

Or simply just 403 bad gateway issues, or fanart images loading extremely slow.

These issues are found on Ubuntu 19.04, Ubuntu 18.04, Debian 8.9 and Windows Server 2012 servers with Emby installed.
No server configuration changes had been made prior to these errors occuring, hence these errors have begun "occuring out of the blue"
To try and resolve these issues we have tried to;
Change API's.
Change routing.
Change IP adresses.
Change operating systems.
Change Emby software versions.

Nothing has resolved the issues at hand.

Furthermore we have checked that DNS is not an issue on our end.

Going through our emby logs we errors such as:

2019-12-14 03:19:51.259 Error HttpClient: Connection to //assets.fanart.tv/fanart/movies/419704/moviethumb/ad-astra-5dc092cfd9a42.jpg timed out

MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: Connection to //assets.fanart.tv/fanart/movies/419704/moviethumb/ad-astra-5dc092cfd9a42.jpg timed out ---> System.Threading.Tasks.TaskCanceledException: The operation was canceled. ---> System.IO.IOException: Unable to read data from the transport connection: Operation canceled. ---> System.Net.Sockets.SocketException: Operation canceled

2019-12-14 12:45:04.749 Info HttpServer: HTTP Response 500 to [OBSCURED IP]. Time: 20021ms. //[OBSCURED URI]:8920/Items/114605/RemoteImages/Download?Type=Primary&ImageUrl=https%3A%2F%2Fassets.fanart.tv%2Ffanart%2Fmovies%2F15060%2Fmovieposter%2Ffuturama-into-the-wild-green-yonder-5896143ed239d.jpg&ProviderName=FanArt

2019-12-14 12:59:16.958 Info HttpServer: HTTP Response 401 to [OBSCURED IP]. Time: 1ms. //[OBSCURED URI]:8920/Images/Remote?imageUrl=//assets.fanart.tv/fanart/movies/10281/movieposter/friday-the-13th-part-vii-the-new-blood-57ecf4f1a0350.jpg

The above errors, leads to various errors in the Emby software, which I will not present to you here, as it is a different domain.

I have reported this incident to Emby Dev, asking him to advise Emby subscribers to remove the plugin until the issue has been resolved, and use OpenMovieDB , ScreenGrabber or MovieDB untill you (fanart.tv) resolved your API, DNS and/or Assets issue.

Post Reply