Earendil 1 Posted August 28, 2022 Share Posted August 28, 2022 According to the log, emby's tmdb api (f6bd687ffa63cd282b6ff2c6877f2669) seems to be wrong. The request like https://api.themoviedb.org/3/movie/550?api_key=f6bd687ffa63cd282b6ff2c6877f2669 will be false. Can I change the api to my own in emby server? Link to comment Share on other sites More sharing options...
Luke 37248 Posted August 28, 2022 Share Posted August 28, 2022 Hi there, please attach the emby server log. Thanks. Link to comment Share on other sites More sharing options...
Earendil 1 Posted August 28, 2022 Author Share Posted August 28, 2022 (edited) I can connect api.themoviedb.org. Seems like it's the api's problem. 2022-08-28 18:55:08.841 Error App: Error in TheMovieDb *** Error Report *** Version: 4.7.5.0 Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3 Operating system: Linux version 5.4.0-125-generic (buildd@lcy02-amd64-083) (gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)) #141-Ubuntu SMP Wed Aug 10 13:42:03 UTC 2 Framework: .NET 6.0.2 OS/Process: x64/x64 Runtime: system/System.Private.CoreLib.dll Processor count: 1 Data path: /config Application path: /system MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: Cancelling connection to https://api.themoviedb.org/3/configuration?api_key=f6bd687ffa63cd282b6ff2c6877f2669 due to a previous timeout. at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.(HttpRequestOptions , String ) at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod) at MovieDb.MovieDbProvider.GetMovieDbResponse(HttpRequestOptions options) at MovieDb.MovieDbProvider.GetTmdbSettings(CancellationToken cancellationToken) at MovieDb.MovieDbEpisodeProvider.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 () Edited August 28, 2022 by Earendil Link to comment Share on other sites More sharing options...
Luke 37248 Posted August 28, 2022 Share Posted August 28, 2022 Please attach the complete emby server log. Thanks. Link to comment Share on other sites More sharing options...
Happy2Play 8356 Posted August 28, 2022 Share Posted August 28, 2022 Do you use a vpn? Link to comment Share on other sites More sharing options...
Earendil 1 Posted August 29, 2022 Author Share Posted August 29, 2022 (edited) 8 hours ago, Luke said: Please attach the complete emby server log. Thanks. OK, it's here. Sometimes when I refresh the metadata, it will work (using the same api), but usually it can't work both in identify and refresh metadata, it's strange embyserver.txt Edited August 29, 2022 by Earendil Link to comment Share on other sites More sharing options...
Earendil 1 Posted August 29, 2022 Author Share Posted August 29, 2022 (edited) 8 hours ago, Happy2Play said: Do you use a vpn? No, I can connect to api.themoviedb.org easily. For example, using emby's api https://api.themoviedb.org/3/tv/72636/season/2/episode/8?api_key=f6bd687ffa63cd282b6ff2c6877f2669&append_to_response=images,external_ids,credits,videos&language=zh-CN&include_image_language=zh-CN,zh,null,en will get: {"status_code":7,"status_message":"Invalid API key: You must be granted a valid key.","success":false} And if I change the api f6bd687ffa63cd282b6ff2c6877f2669 to my own, it will scrape the info successfully like {"air_date":"2022-08-24","crew":[],"episode_number":8,"guest_stars":[],"name":"愿望的形体","overview":"","id":3792312,"production_code":"","runtime":24,"season_number":2,"still_path":"/kEKArZGftRn9wjLWxZ8yR2WGLwN.jpg","vote_average":0.0,"vote_count":0,"images":{"stills":[{"aspect_ratio":1.776,"height":1126,"iso_639_1":null,"file_path":"/kEKArZGftRn9wjLWxZ8yR2WGLwN.jpg","vote_average":0.0,"vote_count":0,"width":2000},{"aspect_ratio":1.776,"height":1126,"iso_639_1":null,"file_path":"/nRKsrakHdc62vTw1VYw3RnoNGnp.jpg","vote_average":0.0,"vote_count":0,"width":2000},{"aspect_ratio":1.776,"height":1126,"iso_639_1":null,"file_path":"/3UMwyXZ9wZMTzfAOgutVQPrsgH3.jpg","vote_average":0.0,"vote_count":0,"width":2000},{"aspect_ratio":1.776,"height":1126,"iso_639_1":null,"file_path":"/8VQpR0F3GnAiaxKRu1diJKEnDPs.jpg","vote_average":0.0,"vote_count":0,"width":2000},{"aspect_ratio":1.776,"height":1126,"iso_639_1":null,"file_path":"/a8zTSBCo8HMkKbGFiQnkXe8kvOV.jpg","vote_average":0.0,"vote_count":0,"width":2000},{"aspect_ratio":1.776,"height":1126,"iso_639_1":null,"file_path":"/5rLHJRJNXDnxJ8GiwOYQm8AgfqB.jpg","vote_average":0.0,"vote_count":0,"width":2000}]},"videos":{"results":[]},"credits":{"cast":[],"crew":[],"guest_stars":[]},"external_ids":{"imdb_id":"tt21406234","freebase_mid":null,"freebase_id":null,"tvdb_id":9220730,"tvrage_id":null}} embyserver.txt Edited August 29, 2022 by Earendil Link to comment Share on other sites More sharing options...
Happy2Play 8356 Posted August 29, 2022 Share Posted August 29, 2022 It is not the Emby key as there are hidden characters that cause copy and paste or clicking on the url to fail. Link to comment Share on other sites More sharing options...
Earendil 1 Posted August 29, 2022 Author Share Posted August 29, 2022 (edited) 3 hours ago, Happy2Play said: It is not the Emby key as there are hidden characters that cause copy and paste or clicking on the url to fail. After tried another server's emby and it works well, I think it's not the api's problem. But I don't know how to solve this server's problem. Now the moviedb service is unstable, sometimes works and always fails. Can you tell me how to debug my emby server? It's so strange. Edited August 29, 2022 by Earendil Link to comment Share on other sites More sharing options...
Earendil 1 Posted August 29, 2022 Author Share Posted August 29, 2022 5 hours ago, Happy2Play said: It is not the Emby key as there are hidden characters that cause copy and paste or clicking on the url to fail. And I find I can search the series by themoviedb Id LOL But searching by title can't work as usual Link to comment Share on other sites More sharing options...
Luke 37248 Posted August 31, 2022 Share Posted August 31, 2022 It looks like your requests to MovieDb are timing out and failing. Something could be blocking Emby Server from sending out these requests. Typical causes of this are firewall, security software, or VPN. Can you look into this? Link to comment Share on other sites More sharing options...
Solution Earendil 1 Posted September 1, 2022 Author Solution Share Posted September 1, 2022 14 hours ago, Luke said: It looks like your requests to MovieDb are timing out and failing. Something could be blocking Emby Server from sending out these requests. Typical causes of this are firewall, security software, or VPN. Can you look into this? I solve this problem by change the network mode of the container from host to bridge, and it can work. 1 Link to comment Share on other sites More sharing options...
lepopps 1 Posted March 3, 2023 Share Posted March 3, 2023 Ola, estou tendo o mesmo problema com o theMovieDb ... na maioria das vezes não carrega as imagens ... e no log .. o mesmo erro ... Isso já faz mais de 3 meses, do nada funciona um dia, e dae para de funcionar por vários dias ... Não sei como resolver isso ... Pelo que testei não têm nada no servidor impedindo a conexão com o endereço da api ... Segue abaixo parte do log do erro .... Qualquer ajuda será bem vinda ... Obrigado ! Link to comment Share on other sites More sharing options...
lepopps 1 Posted March 3, 2023 Share Posted March 3, 2023 Ola, estou tendo o mesmo problema com o theMovieDb ... na maioria das vezes não carrega as imagens ... e no log .. o mesmo erro ... Isso já faz mais de 3 meses, do nada funciona um dia, e dae para de funcionar por vários dias ... Não sei como resolver isso ... Pelo que testei não têm nada no servidor impedindo a conexão com o endereço da api ... Segue abaixo parte do log do erro .... Qualquer ajuda sera bem vinda ... Obrigado ! *** Error Report *** Version: 4.7.11.0 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-rpm_{version}_x86_64.rpm Operating system: Linux version 4.18.0-348.20.1.el8_5.x86_64 (mockbuild@x86-vm-07.build.eng.bos.redhat.com) (gcc version 8.5.0 20210514 (Red Hat 8.5.0-4) (GCC)) #1 SMP 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: Connection to https://image.tmdb.org/t/p/original/rC5GUHvKxlk3WPyCh4mQ5q6HDxG.jpg timed out ---> System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 20 seconds elapsing. ---> System.TimeoutException: A task was canceled. ---> System.Threading.Tasks.TaskCanceledException: A task was canceled. Link to comment Share on other sites More sharing options...
Luke 37248 Posted March 3, 2023 Share Posted March 3, 2023 2 hours ago, lepopps said: Ola, estou tendo o mesmo problema com o theMovieDb ... na maioria das vezes não carrega as imagens ... e no log .. o mesmo erro ... Isso já faz mais de 3 meses, do nada funciona um dia, e dae para de funcionar por vários dias ... Não sei como resolver isso ... Pelo que testei não têm nada no servidor impedindo a conexão com o endereço da api ... Segue abaixo parte do log do erro .... Qualquer ajuda sera bem vinda ... Obrigado ! *** Error Report *** Version: 4.7.11.0 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-rpm_{version}_x86_64.rpm Operating system: Linux version 4.18.0-348.20.1.el8_5.x86_64 (mockbuild@x86-vm-07.build.eng.bos.redhat.com) (gcc version 8.5.0 20210514 (Red Hat 8.5.0-4) (GCC)) #1 SMP 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: Connection to https://image.tmdb.org/t/p/original/rC5GUHvKxlk3WPyCh4mQ5q6HDxG.jpg timed out ---> System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 20 seconds elapsing. ---> System.TimeoutException: A task was canceled. ---> System.Threading.Tasks.TaskCanceledException: A task was canceled. Hi there, please attach the complete emby server log file. Thanks ! Link to comment Share on other sites More sharing options...
lepopps 1 Posted August 18, 2023 Share Posted August 18, 2023 Ola, Gostaria de compartilhar uma descoberta sobre o problema relatado acima. Esse problema acima, já aconteceu com 3 servidores diferentes, e em redes diferentes, em diferentes épocas, mas o mesmo sintoma, do nada volta a funcionar, e do nada para de funcionar ... Hoje, tenho um servidor Linux rhel 8.5, tenho 4 bibliotecas sendo, filmes (6000 filmes), séries (25000 títulos), músicas (20000 músicas) e vídeos musicais (500 vídeos); Está acontecendo o mesmo problema isso já faz mais de 6 meses .... Mesmo fazendo várias atualizações ... Hoje estou utilizando a versão 4.7.13.0. Percebi que quando eu adiciono alguns títulos na biblioteca filmes, o servidor busca os meta dados certo, mas não atualiza as imagens, as vezes fica certa de 20 a 30 títulos sem capas ... as vezes demora mais de uma semana para o servidor conseguir essas imagens ... Mas percebi, que quando eu adiciono mais títulos na biblioteca séries, o servidor atualiza as séries normalmente e dae volta a funcionar também as imagens da biblioteca filmes, como se isso destravasse algo .... já fiz esse teste aqui umas 6 vezes e funcionou pra mim ! Percebi que esse problema só começa a aparecer, quando as bibliotecas estão ficando com um tamanho maior ... em cenários com poucos arquivos de mídia, isso não ocorre ! Apenas gostaria de compartilhar esses testes e ajudar a encontrar algum possível problema; Obrigado 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now