Jump to content

TVDB v4 "TooManyRequests" Error


Recommended Posts

Happy2Play
Posted

Is TVDB down for all Emby users?

I get this error for metadata and no images are returned either.

http://‌‍‍localhost‌:8098/emby/Items/24787/Refresh?Recursive=true&ImageRefreshMode=FullRefresh&MetadataRefreshMode=FullRefresh&ReplaceAllImages=false&ReplaceAllMetadata=true&X-Emby-Client=Emby Web&X-Emby-Device-Name=Microsoft Edge Windows&X-Emby-Device-Id=922ab356-8ee9-4d17-b59b-b0b57af0f49a&X-Emby-Client-Version=4.7.2.0
2022-06-12 12:40:31.285 Debug App: Running TvdbSeriesProvider for C:\Users\Media\Desktop\Videos\TV Shows - nfo\Arrow (2012)
2022-06-12 12:40:31.285 Info HttpClient: GET https://api4.thetvdb.com/v4/series/257655/extended?meta=translations
2022-06-12 12:40:35.831 Error App: Error in TheTVDB
	*** Error Report ***
	Version: 4.7.2.0
	Command line: C:\Users\Media\Desktop\Stable\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows 10.0.25131
	Framework: .NET 6.0.5
	OS/Process: x64/x64
	Runtime: C:/Users/Media/Desktop/Stable/system/System.Private.CoreLib.dll
	Processor count: 8
	Data path: C:\Users\Media\Desktop\Stable\programdata
	Application path: C:\Users\Media\Desktop\Stable\system
	MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: TooManyRequests
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
	   at Tvdb.EntryPoint.GetResponse(HttpRequestOptions request, String method)
	   at Tvdb.TvdbSeriesProvider.FetchMainResult(String id, String language, CancellationToken cancellationToken)
	   at Tvdb.TvdbSeriesProvider.EnsureSeriesInfo(String tvdbId, String language, IDirectoryService directoryService, CancellationToken cancellationToken)
	   at Tvdb.TvdbSeriesProvider.FetchSeriesData(String tvdbId, String seasonType, String language, String country, IDirectoryService directoryService, CancellationToken cancellationToken)
	   at Tvdb.TvdbSeriesProvider.GetMetadata(RemoteMetadataFetchOptions`1 options, CancellationToken cancellationToken)
	   at Emby.Providers.Manager.MetadataService`2.ExecuteRemoteProviders(MetadataResult`1 temp, LibraryOptions libraryOptions, String logName, TIdType id, IEnumerable`1 providers, MetadataRefreshOptions options, CancellationToken cancellationToken)
	Source: Emby.Server.Implementations
	TargetSite: Void MoveNext()

 

2022-06-12 12:41:55.323 Debug Server: http/1.1 GET http://‌‍‍localhost‌:8098/emby/Items/24787/RemoteImages?Type=Primary&ProviderName=TheTVDB&Limit=50&X-Emby-Client=Emby Web&X-Emby-Device-Name=Microsoft Edge Windows&X-Emby-Device-Id=922ab356-8ee9-4d17-b59b-b0b57af0f49a&X-Emby-Client-Version=4.7.2.0. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.63 Safari/537.36 Edg/102.0.1245.33
2022-06-12 12:41:55.324 Info HttpClient: GET https://api4.thetvdb.com/v4/series/257655/extended?meta=translations
2022-06-12 12:41:55.555 Error ProviderManager: TvdbSeriesImageProvider failed in GetImageInfos for type Series
	*** Error Report ***
	Version: 4.7.2.0
	Command line: C:\Users\Media\Desktop\Stable\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows 10.0.25131
	Framework: .NET 6.0.5
	OS/Process: x64/x64
	Runtime: C:/Users/Media/Desktop/Stable/system/System.Private.CoreLib.dll
	Processor count: 8
	Data path: C:\Users\Media\Desktop\Stable\programdata
	Application path: C:\Users\Media\Desktop\Stable\system
	MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: TooManyRequests
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
	   at Tvdb.EntryPoint.GetResponse(HttpRequestOptions request, String method)
	   at Tvdb.TvdbSeriesProvider.FetchMainResult(String id, String language, CancellationToken cancellationToken)
	   at Tvdb.TvdbSeriesProvider.EnsureSeriesInfo(String tvdbId, String language, IDirectoryService directoryService, CancellationToken cancellationToken)
	   at Tvdb.TvdbSeriesImageProvider.GetImages(RemoteImageFetchOptions options, 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()

Falls to alternatae providers for information.

  • Like 1
Posted

see this thread below

 

Happy2Play
Posted (edited)

Sure we can go back to this topic also.

 

But this will bring more light to a provider issues as it is not a specific show metadata issue.

Not sure of the extent of the issue as I have seen logs without these error.

Edited by Happy2Play
Posted

the thread i posted is also not a specific show issue

pwhodges
Posted
15 minutes ago, Happy2Play said:

Is TVDB down for all Emby users?

Today I have added several dozen episodes of a couple of shows.  Nearly all were correctly identified and got the correct data.  But just two were misidentified (one as the other, and the other as something else), and so got the wrong data.  Looking at TVDB in a browser, both of the episodes were perfectly correct, but even putting the correct TVBD episode IDs into their metadata, they still wouldn't update correctly in Emby.  I copied the data (and images) manually.

I haven't bothered to look at the logs.

Paul

Posted (edited)
3 hours ago, Happy2Play said:

Is TVDB down for all Emby users?

I get this error for metadata and no images are returned either.

http://‌‍‍localhost‌:8098/emby/Items/24787/Refresh?Recursive=true&ImageRefreshMode=FullRefresh&MetadataRefreshMode=FullRefresh&ReplaceAllImages=false&ReplaceAllMetadata=true&X-Emby-Client=Emby Web&X-Emby-Device-Name=Microsoft Edge Windows&X-Emby-Device-Id=922ab356-8ee9-4d17-b59b-b0b57af0f49a&X-Emby-Client-Version=4.7.2.0
2022-06-12 12:40:31.285 Debug App: Running TvdbSeriesProvider for C:\Users\Media\Desktop\Videos\TV Shows - nfo\Arrow (2012)
2022-06-12 12:40:31.285 Info HttpClient: GET https://api4.thetvdb.com/v4/series/257655/extended?meta=translations
2022-06-12 12:40:35.831 Error App: Error in TheTVDB
	*** Error Report ***
	Version: 4.7.2.0
	Command line: C:\Users\Media\Desktop\Stable\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows 10.0.25131
	Framework: .NET 6.0.5
	OS/Process: x64/x64
	Runtime: C:/Users/Media/Desktop/Stable/system/System.Private.CoreLib.dll
	Processor count: 8
	Data path: C:\Users\Media\Desktop\Stable\programdata
	Application path: C:\Users\Media\Desktop\Stable\system
	MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: TooManyRequests
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
	   at Tvdb.EntryPoint.GetResponse(HttpRequestOptions request, String method)
	   at Tvdb.TvdbSeriesProvider.FetchMainResult(String id, String language, CancellationToken cancellationToken)
	   at Tvdb.TvdbSeriesProvider.EnsureSeriesInfo(String tvdbId, String language, IDirectoryService directoryService, CancellationToken cancellationToken)
	   at Tvdb.TvdbSeriesProvider.FetchSeriesData(String tvdbId, String seasonType, String language, String country, IDirectoryService directoryService, CancellationToken cancellationToken)
	   at Tvdb.TvdbSeriesProvider.GetMetadata(RemoteMetadataFetchOptions`1 options, CancellationToken cancellationToken)
	   at Emby.Providers.Manager.MetadataService`2.ExecuteRemoteProviders(MetadataResult`1 temp, LibraryOptions libraryOptions, String logName, TIdType id, IEnumerable`1 providers, MetadataRefreshOptions options, CancellationToken cancellationToken)
	Source: Emby.Server.Implementations
	TargetSite: Void MoveNext()

 

Falls to alternatae providers for information.

@Happy2PlayMost definitely yes. So far for me it only seems to be impacting metadata for virtual unaired/missing show episodes. Metadata for episodes actually in my library seems to be retrieved without an issue. Posted about it in the other thread (Episode Metadata Fetching Issue - What Am I Missing?). But this seems like a more appropriate thread for reporting purposes.

embyserver.txt

Edited by DarWun
  • Thanks 1
Posted

Definitely, my entire library scan no longer runs. Same problem, only errors. I've already written an email to @Lukas, but haven't received a response yet. Restricts the whole server. If I cancel the Bibliotheaks, I can't start it again because there is no play button in the task lists anymore. The leagues are the same for all of us. @Lukas

Happy2Play
Posted

It is something Emby Devs will have to look into as to me it looks like a limit has been imposed on the Emby v4 key.

Note I have a v4 pin key in MCM and am not seeing any issue.

Posted

That's exactly what I assume, but the key should actually be stored and sufficient for all users. Otherwise it costs around 12 euros a year to have a private key. So we have no other option but to wait, right?

Happy2Play
Posted
2 minutes ago, Seger said:

That's exactly what I assume, but the key should actually be stored and sufficient for all users. Otherwise it costs around 12 euros a year to have a private key. So we have no other option but to wait, right?

Correct since 4.7 migrated to v4 api and this is something that has just come up.

Posted

Whatever is going on here has pretty much decimated the "Upcoming" view for TV shows on my server. I guess I chose the wrong time to update series. That list was reduced significantly when a large number of virtual unaired episodes was removed after the last scan. 

Posted

We've contacted tvdb about it and are waiting to hear back. We'll let you know when the issue is resolved. Thanks.

  • Like 2
  • Thanks 2
pwhodges
Posted
54 minutes ago, Seger said:

That's exactly what I assume, but the key should actually be stored and sufficient for all users. Otherwise it costs around 12 euros a year to have a private key. So we have no other option but to wait, right?

Given that Emby has not provided any way for us to give it a private key even if we have one, waiting seems to be the only way...

Paul

solidus28
Posted
25 minutes ago, Luke said:

We've contacted tvdb about it and are waiting to hear back. We'll let you know when the issue is resolved. Thanks.

Thanks, Luke!

  • Agree 1
Posted (edited)
3 hours ago, Luke said:

We've contacted tvdb about it and are waiting to hear back. We'll let you know when the issue is resolved. Thanks.

@LukeHopefully others will report the same. As of a few minutes ago I no longer seeing TVDB v4 "TooManyRequests" Errors in the logs. All of the missing/unaired dummy episodes that previously disappeared are back. Thanks!!!

Edited by DarWun
  • Agree 1
Happy2Play
Posted

Quick test on same failing item now gets results for metadata and images.

  • Like 1
Dreakon13
Posted

I'm able now to pull in the metadata now for the episodes of that anime I was having trouble with yesterday.

Posted

Yes looks like it's resolved now. Thanks guys.

  • Thanks 1

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...