Jump to content

NullReferenceException in TvdbMovieImageProvider and BadGateway


Recommended Posts

Posted

Dear team,

Please take a look at the following errors:

2023-03-20 11:44:25.445 Info HttpClient: GET https://api.themoviedb.org/3/movie/408355?api_key=‌f6bd687ffa63cd282b6ff2c6877f2669‌&append_to_response=alternative_titles,reviews,casts,releases,images,keywords,trailers
2023-03-20 11:44:25.493 Error ProviderManager: TvdbMovieImageProvider failed in GetImageInfos for type Movie
        *** Error Report ***
        Version: 4.8.0.12
        Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
        Operating system: Linux version 5.10.0-20-amd64 (debian-kernel@lists.debian.org) (gcc-10 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1
        Framework: .NET 6.0.8
        OS/Process: x64/x64
        Runtime: opt/emby-server/system/System.Private.CoreLib.dll
        Processor count: 8
        Data path: /var/lib/emby
        Application path: /opt/emby-server/system
        System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
           at Tvdb.BaseImageProvider.GetImages(List`1 artworks)
           at Tvdb.TvdbMovieImageProvider.GetImages(RemoteImageFetchOptions options, CancellationToken cancellationToken)
           at Emby.Providers.Manager.ProviderManager.GetImages(BaseItem item, LibraryOptions libraryOptions, CancellationToken cancellationToken, IRemoteImageProvider provider, IDirectoryService directoryService, Int32 providerIndex)
        Source: Tvdb
        TargetSite: System.Collections.Generic.List`1[MediaBrowser.Model.Providers.RemoteImageInfo] GetImages(System.Collections.Generic.List`1[Tvdb.Artwork])
2023-03-20 11:44:25.493 Info HttpClient: GET https://webservice.fanart.tv/v3/movies/408355?api_key=‌5c6b04c68e904cfed1e6cbc9a9e683d4‌
2023-03-20 11:44:25.539 Error ProviderManager: FanartMovieImageProvider failed in GetImageInfos for type Movie
        *** Error Report ***
        Version: 4.8.0.12
        Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
        Operating system: Linux version 5.10.0-20-amd64 (debian-kernel@lists.debian.org) (gcc-10 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1
        Framework: .NET 6.0.8
        OS/Process: x64/x64
        Runtime: opt/emby-server/system/System.Private.CoreLib.dll
        Processor count: 8
        Data path: /var/lib/emby
        Application path: /opt/emby-server/system
        MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: BadGateway
           at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
           at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
           at Fanart.FanartMovieImageProvider.DownloadMovieJson(String id, CancellationToken cancellationToken)
           at Fanart.FanartMovieImageProvider.GetImages(BaseItem item, LibraryOptions libraryOptions, CancellationToken cancellationToken)
           at Emby.Providers.Manager.ProviderManager.GetImages(BaseItem item, LibraryOptions libraryOptions, CancellationToken cancellationToken, IRemoteImageProvider provider, IDirectoryService directoryService, Int32 providerIndex)
        Source: Emby.Server.Implementations
        TargetSite: Void MoveNext()

# grep BadGateway /var/log/emby/embyserver.txt | wc -l
18

 

Posted

HI, for the bad gateway it could just be that fanart is currently having problems. They do from time to time. If you're behind a VPN you may want to try disabling it.

Posted

I had that during the night (European Time) in the logs as well.

Might have just been an outage on their end.

Posted

OK, we'll I've pushed an update to the tvdb plugin to resolve the issue for that. Thanks.

Posted
1 hour ago, Luke said:

OK, we'll I've pushed an update to the tvdb plugin to resolve the issue for that. Thanks.

It was timing out on fanart not on tvdb?!

Or is it part of the tvdb plugin anyways?

Posted
29 minutes ago, neik said:

It was timing out on fanart not on tvdb?!

Or is it part of the tvdb plugin anyways?

He posted about two different things.

  • Thanks 1
Posted
19 hours ago, Luke said:

He posted about two different things.

I agree, I should have made two separate posts.
Will information collection from FanartMovieImageProvider be re-run on reindex? Or the retrieval attempt will never be performed for the given movie?

Posted
8 minutes ago, dma_k said:

I agree, I should have made two separate posts.
Will information collection from FanartMovieImageProvider be re-run on reindex? Or the retrieval attempt will never be performed for the given movie?

No, it does not keep trying again. When something fails like that you'll have to refresh the metadata on it manually if you want it to try again.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...