[Issue]: Metadata fetch timeout - IPv6 connectivity broken #6108

Open
opened 2025-12-22 03:36:35 +01:00 by backuprepo · 17 comments
Owner

Originally created by @Johnny-Ich on GitHub (Jul 11, 2024).

Please describe your bug

When I try to fetch metadata, TheMovieDb and The Open Movie Database always times out.

also see -> https://github.com/jellyfin/jellyfin/issues/9438

Reproduction Steps

  1. Run Jellyfin in docker, enable IPv6 for the host and the container.
  2. Confirm IPv6 connectivity by ping6 google.de and ping6 jellyfin.server
  3. Run a metadata search
  4. wait
  5. collect logs

Jellyfin Version

10.9.0

if other:

Version: 10.9.7

Environment

- OS: Ubuntu 22.04.4 LTS
- Linux Kernel: 5.15.0-113-generic
- Virtualization: docker
- Clients:  Browser
- Browser: Firefox
- FFmpeg Version: don't know. that one inside the container. ffmpeg not relevant here
- Playback Method: Direct Stream
- Hardware Acceleration: none
- GPU Model: none
- Plugins: AniDB, AudioDB, LDAP-Auth, MusicBrainz, OMDb, Playback Reporting, Studio IMages, TMDb
- Reverse Proxy: none
- Base URL: none
- Networking: Bridge/NAT
- Storage: local

Jellyfin logs

[2024-07-10 21:27:15.284 +00:00] [ERR] [92] MediaBrowser.Providers.Manager.ProviderManager: Provider "TheMovieDb" failed to retrieve search results
System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
 ---> System.TimeoutException: A task was canceled.
 ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
   at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at TMDbLib.Rest.RestRequest.SendInternal(HttpMethod method, CancellationToken cancellationToken)
   at TMDbLib.Rest.RestRequest.Get[T](CancellationToken cancellationToken)
   at TMDbLib.Rest.RestRequestExtensions.GetOfT[T](RestRequest request, CancellationToken cancellationToken)
   at TMDbLib.Client.TMDbClient.GetConfigAsync()
   at MediaBrowser.Providers.Plugins.Tmdb.TmdbClientManager.EnsureClientConfigAsync()
   at MediaBrowser.Providers.Plugins.Tmdb.TmdbClientManager.FindByExternalIdAsync(String externalId, FindExternalSource source, String language, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Plugins.Tmdb.Movies.TmdbMovieProvider.GetSearchResults(MovieInfo searchInfo, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.ProviderManager.GetSearchResults[TLookupType](IRemoteSearchProvider`1 provider, TLookupType searchInfo, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.ProviderManager.GetRemoteSearchResults[TItemType,TLookupType](RemoteSearchQuery`1 searchInfo, BaseItem referenceItem, CancellationToken cancellationToken)
[2024-07-10 21:28:01.290 +00:00] [ERR] [66] MediaBrowser.Providers.Manager.ProviderManager: Provider "TheMovieDb" failed to retrieve search results
System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
 ---> System.TimeoutException: A task was canceled.
 ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
   at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at TMDbLib.Rest.RestRequest.SendInternal(HttpMethod method, CancellationToken cancellationToken)
   at TMDbLib.Rest.RestRequest.Get[T](CancellationToken cancellationToken)
   at TMDbLib.Rest.RestRequestExtensions.GetOfT[T](RestRequest request, CancellationToken cancellationToken)
   at TMDbLib.Client.TMDbClient.GetConfigAsync()
   at MediaBrowser.Providers.Plugins.Tmdb.TmdbClientManager.EnsureClientConfigAsync()
   at MediaBrowser.Providers.Plugins.Tmdb.TmdbClientManager.FindByExternalIdAsync(String externalId, FindExternalSource source, String language, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Plugins.Tmdb.Movies.TmdbMovieProvider.GetSearchResults(MovieInfo searchInfo, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.ProviderManager.GetSearchResults[TLookupType](IRemoteSearchProvider`1 provider, TLookupType searchInfo, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.ProviderManager.GetRemoteSearchResults[TItemType,TLookupType](RemoteSearchQuery`1 searchInfo, BaseItem referenceItem, CancellationToken cancellationToken)
[2024-07-10 21:28:12.716 +00:00] [ERR] [66] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request: "The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing". URL "GET" "/Packages".
[2024-07-10 21:28:12.717 +00:00] [WRN] [66] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://stream.gcraft.eu:8920/Packages?PackageType=UserInstalled" to "95.115.127.250" in 0:01:40.0167596 with Status Code 500
[2024-07-10 21:28:42.856 +00:00] [ERR] [32] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request: "The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing". URL "GET" "/Packages".
[2024-07-10 21:28:42.856 +00:00] [WRN] [32] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://stream.gcraft.eu:8920/Packages?PackageType=UserInstalled" to "95.115.127.250" in 0:01:40.0053185 with Status Code 500
[2024-07-10 21:28:55.340 +00:00] [ERR] [66] MediaBrowser.Providers.Manager.ProviderManager: Provider "The Open Movie Database" failed to retrieve search results
System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
 ---> System.TimeoutException: A task was canceled.
 ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
   at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at MediaBrowser.Providers.Plugins.Omdb.OmdbItemProvider.GetSearchResultsInternal(ItemLookupInfo searchInfo, Boolean isSearch, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.ProviderManager.GetSearchResults[TLookupType](IRemoteSearchProvider`1 provider, TLookupType searchInfo, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.ProviderManager.GetRemoteSearchResults[TItemType,TLookupType](RemoteSearchQuery`1 searchInfo, BaseItem referenceItem, CancellationToken cancellationToken)
[2024-07-10 21:28:55.343 +00:00] [WRN] [66] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://stream.gcraft.eu:8920/Items/RemoteSearch/Movie" to "95.115.127.250" in 0:03:20.0942604 with Status Code 200
[2024-07-10 21:29:41.295 +00:00] [ERR] [114] MediaBrowser.Providers.Manager.ProviderManager: Provider "The Open Movie Database" failed to retrieve search results
System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
 ---> System.TimeoutException: A task was canceled.
 ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
   at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at MediaBrowser.Providers.Plugins.Omdb.OmdbItemProvider.GetSearchResultsInternal(ItemLookupInfo searchInfo, Boolean isSearch, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.ProviderManager.GetSearchResults[TLookupType](IRemoteSearchProvider`1 provider, TLookupType searchInfo, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.ProviderManager.GetRemoteSearchResults[TItemType,TLookupType](RemoteSearchQuery`1 searchInfo, BaseItem referenceItem, CancellationToken cancellationToken)
[2024-07-10 21:29:41.297 +00:00] [WRN] [114] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://stream.gcraft.eu:8920/Items/RemoteSearch/Movie" to "95.115.127.250" in 0:03:20.0199121 with Status Code 200
[2024-07-10 21:31:10.344 +00:00] [ERR] [11] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request: "The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing". URL "GET" "/Packages".
[2024-07-10 21:31:10.344 +00:00] [WRN] [11] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://stream.gcraft.eu:8920/Packages?PackageType=UserInstalled" to "95.115.127.250" in 0:01:40.0039808 with Status Code 500
[2024-07-10 21:31:41.936 +00:00] [ERR] [18] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request: "The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing". URL "GET" "/Packages".
[2024-07-10 21:31:41.936 +00:00] [WRN] [18] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://stream.gcraft.eu:8920/Packages?PackageType=UserInstalled" to "95.115.127.250" in 0:01:40.0006492 with Status Code 500

FFmpeg logs

No response

Please attach any browser or client logs here

No response

Please attach any screenshots here

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
Originally created by @Johnny-Ich on GitHub (Jul 11, 2024). ### Please describe your bug When I try to fetch metadata, _TheMovieDb_ and _The Open Movie Database_ always times out. also see -> https://github.com/jellyfin/jellyfin/issues/9438 ### Reproduction Steps 1. Run Jellyfin in docker, enable IPv6 for the host and the container. 2. Confirm IPv6 connectivity by `ping6 google.de` and ping6 `jellyfin.server` 3. Run a metadata search 4. wait 5. collect logs ### Jellyfin Version 10.9.0 ### if other: Version: 10.9.7 ### Environment ```markdown - OS: Ubuntu 22.04.4 LTS - Linux Kernel: 5.15.0-113-generic - Virtualization: docker - Clients: Browser - Browser: Firefox - FFmpeg Version: don't know. that one inside the container. ffmpeg not relevant here - Playback Method: Direct Stream - Hardware Acceleration: none - GPU Model: none - Plugins: AniDB, AudioDB, LDAP-Auth, MusicBrainz, OMDb, Playback Reporting, Studio IMages, TMDb - Reverse Proxy: none - Base URL: none - Networking: Bridge/NAT - Storage: local ``` ### Jellyfin logs ```shell [2024-07-10 21:27:15.284 +00:00] [ERR] [92] MediaBrowser.Providers.Manager.ProviderManager: Provider "TheMovieDb" failed to retrieve search results System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing. ---> System.TimeoutException: A task was canceled. ---> System.Threading.Tasks.TaskCanceledException: A task was canceled. at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) --- End of inner exception stack trace --- --- End of inner exception stack trace --- at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts) at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at TMDbLib.Rest.RestRequest.SendInternal(HttpMethod method, CancellationToken cancellationToken) at TMDbLib.Rest.RestRequest.Get[T](CancellationToken cancellationToken) at TMDbLib.Rest.RestRequestExtensions.GetOfT[T](RestRequest request, CancellationToken cancellationToken) at TMDbLib.Client.TMDbClient.GetConfigAsync() at MediaBrowser.Providers.Plugins.Tmdb.TmdbClientManager.EnsureClientConfigAsync() at MediaBrowser.Providers.Plugins.Tmdb.TmdbClientManager.FindByExternalIdAsync(String externalId, FindExternalSource source, String language, CancellationToken cancellationToken) at MediaBrowser.Providers.Plugins.Tmdb.Movies.TmdbMovieProvider.GetSearchResults(MovieInfo searchInfo, CancellationToken cancellationToken) at MediaBrowser.Providers.Manager.ProviderManager.GetSearchResults[TLookupType](IRemoteSearchProvider`1 provider, TLookupType searchInfo, CancellationToken cancellationToken) at MediaBrowser.Providers.Manager.ProviderManager.GetRemoteSearchResults[TItemType,TLookupType](RemoteSearchQuery`1 searchInfo, BaseItem referenceItem, CancellationToken cancellationToken) [2024-07-10 21:28:01.290 +00:00] [ERR] [66] MediaBrowser.Providers.Manager.ProviderManager: Provider "TheMovieDb" failed to retrieve search results System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing. ---> System.TimeoutException: A task was canceled. ---> System.Threading.Tasks.TaskCanceledException: A task was canceled. at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) --- End of inner exception stack trace --- --- End of inner exception stack trace --- at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts) at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at TMDbLib.Rest.RestRequest.SendInternal(HttpMethod method, CancellationToken cancellationToken) at TMDbLib.Rest.RestRequest.Get[T](CancellationToken cancellationToken) at TMDbLib.Rest.RestRequestExtensions.GetOfT[T](RestRequest request, CancellationToken cancellationToken) at TMDbLib.Client.TMDbClient.GetConfigAsync() at MediaBrowser.Providers.Plugins.Tmdb.TmdbClientManager.EnsureClientConfigAsync() at MediaBrowser.Providers.Plugins.Tmdb.TmdbClientManager.FindByExternalIdAsync(String externalId, FindExternalSource source, String language, CancellationToken cancellationToken) at MediaBrowser.Providers.Plugins.Tmdb.Movies.TmdbMovieProvider.GetSearchResults(MovieInfo searchInfo, CancellationToken cancellationToken) at MediaBrowser.Providers.Manager.ProviderManager.GetSearchResults[TLookupType](IRemoteSearchProvider`1 provider, TLookupType searchInfo, CancellationToken cancellationToken) at MediaBrowser.Providers.Manager.ProviderManager.GetRemoteSearchResults[TItemType,TLookupType](RemoteSearchQuery`1 searchInfo, BaseItem referenceItem, CancellationToken cancellationToken) [2024-07-10 21:28:12.716 +00:00] [ERR] [66] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request: "The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing". URL "GET" "/Packages". [2024-07-10 21:28:12.717 +00:00] [WRN] [66] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://stream.gcraft.eu:8920/Packages?PackageType=UserInstalled" to "95.115.127.250" in 0:01:40.0167596 with Status Code 500 [2024-07-10 21:28:42.856 +00:00] [ERR] [32] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request: "The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing". URL "GET" "/Packages". [2024-07-10 21:28:42.856 +00:00] [WRN] [32] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://stream.gcraft.eu:8920/Packages?PackageType=UserInstalled" to "95.115.127.250" in 0:01:40.0053185 with Status Code 500 [2024-07-10 21:28:55.340 +00:00] [ERR] [66] MediaBrowser.Providers.Manager.ProviderManager: Provider "The Open Movie Database" failed to retrieve search results System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing. ---> System.TimeoutException: A task was canceled. ---> System.Threading.Tasks.TaskCanceledException: A task was canceled. at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) --- End of inner exception stack trace --- --- End of inner exception stack trace --- at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts) at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at MediaBrowser.Providers.Plugins.Omdb.OmdbItemProvider.GetSearchResultsInternal(ItemLookupInfo searchInfo, Boolean isSearch, CancellationToken cancellationToken) at MediaBrowser.Providers.Manager.ProviderManager.GetSearchResults[TLookupType](IRemoteSearchProvider`1 provider, TLookupType searchInfo, CancellationToken cancellationToken) at MediaBrowser.Providers.Manager.ProviderManager.GetRemoteSearchResults[TItemType,TLookupType](RemoteSearchQuery`1 searchInfo, BaseItem referenceItem, CancellationToken cancellationToken) [2024-07-10 21:28:55.343 +00:00] [WRN] [66] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://stream.gcraft.eu:8920/Items/RemoteSearch/Movie" to "95.115.127.250" in 0:03:20.0942604 with Status Code 200 [2024-07-10 21:29:41.295 +00:00] [ERR] [114] MediaBrowser.Providers.Manager.ProviderManager: Provider "The Open Movie Database" failed to retrieve search results System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing. ---> System.TimeoutException: A task was canceled. ---> System.Threading.Tasks.TaskCanceledException: A task was canceled. at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) --- End of inner exception stack trace --- --- End of inner exception stack trace --- at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts) at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at MediaBrowser.Providers.Plugins.Omdb.OmdbItemProvider.GetSearchResultsInternal(ItemLookupInfo searchInfo, Boolean isSearch, CancellationToken cancellationToken) at MediaBrowser.Providers.Manager.ProviderManager.GetSearchResults[TLookupType](IRemoteSearchProvider`1 provider, TLookupType searchInfo, CancellationToken cancellationToken) at MediaBrowser.Providers.Manager.ProviderManager.GetRemoteSearchResults[TItemType,TLookupType](RemoteSearchQuery`1 searchInfo, BaseItem referenceItem, CancellationToken cancellationToken) [2024-07-10 21:29:41.297 +00:00] [WRN] [114] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://stream.gcraft.eu:8920/Items/RemoteSearch/Movie" to "95.115.127.250" in 0:03:20.0199121 with Status Code 200 [2024-07-10 21:31:10.344 +00:00] [ERR] [11] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request: "The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing". URL "GET" "/Packages". [2024-07-10 21:31:10.344 +00:00] [WRN] [11] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://stream.gcraft.eu:8920/Packages?PackageType=UserInstalled" to "95.115.127.250" in 0:01:40.0039808 with Status Code 500 [2024-07-10 21:31:41.936 +00:00] [ERR] [18] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request: "The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing". URL "GET" "/Packages". [2024-07-10 21:31:41.936 +00:00] [WRN] [18] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "https://stream.gcraft.eu:8920/Packages?PackageType=UserInstalled" to "95.115.127.250" in 0:01:40.0006492 with Status Code 500 ``` ### FFmpeg logs _No response_ ### Please attach any browser or client logs here _No response_ ### Please attach any screenshots here _No response_ ### Code of Conduct - [X] I agree to follow this project's Code of Conduct
backuprepo added the
confirmed
bug
upstream
labels 2025-12-22 03:36:35 +01:00
Author
Owner

@felix920506 commented on GitHub (Jul 11, 2024):

cc @Shadowghost

@felix920506 commented on GitHub (Jul 11, 2024): cc @Shadowghost
Author
Owner

@Shadowghost commented on GitHub (Jul 12, 2024):

This will need fixing in the plugins I think

@Shadowghost commented on GitHub (Jul 12, 2024): This will need fixing in the plugins I think
Author
Owner

@mharj commented on GitHub (Oct 12, 2024):

Looks like this works ok if running on Windows with IPv6 enabled (at least on versions 10.8.11 and 10.9.9), but some reason on docker container (in real Linux) it's not working and causing many issues even on scanning files. Docker image gets nicely list of ipv6 addresses for TheMovieDb api and curl does correcty redirect when tried on endpoint, so network and dns looks to working ok inside of container.

@mharj commented on GitHub (Oct 12, 2024): Looks like this works ok if running on Windows with IPv6 enabled (at least on versions 10.8.11 and 10.9.9), but some reason on docker container (in real Linux) it's not working and causing many issues even on scanning files. Docker image gets nicely list of ipv6 addresses for TheMovieDb api and curl does correcty redirect when tried on endpoint, so network and dns looks to working ok inside of container.
Author
Owner

@Arcturuss commented on GitHub (Oct 28, 2024):

Looks like this works ok if running on Windows with IPv6 enabled

it really does not. got same error on Windows with ipv6 enabled and Jellyfin 10.9.11 and 10.10.0.
if you can not reach TMDB over ipv6 (in my case, the ping fails), then Jellyfin can not either.

@Arcturuss commented on GitHub (Oct 28, 2024): > Looks like this works ok if running on Windows with IPv6 enabled it really does not. got same error on Windows with ipv6 enabled and Jellyfin 10.9.11 and 10.10.0. if you can not reach TMDB over ipv6 (in my case, the ping fails), then Jellyfin can not either.
Author
Owner

@Titaniumtown commented on GitHub (Nov 9, 2024):

I can reproduce this bug even with ipv6 is disabled in jellyfin. Had to disable ipv6 on linux system-wide to get jellyfin to work.

Related: https://github.com/jellyfin/jellyfin/issues/8518

@Titaniumtown commented on GitHub (Nov 9, 2024): I can reproduce this bug even with ipv6 is disabled in jellyfin. Had to disable ipv6 on linux system-wide to get jellyfin to work. Related: https://github.com/jellyfin/jellyfin/issues/8518
Author
Owner

@Shadowghost commented on GitHub (Nov 9, 2024):

I think the proper fix would be to implement happy eyeballs for the tmdb plugin's http client. Since we use a library (nowadays maintained by the jellyfin team too), we should make it possible to use the httpclient which already implements it and is provided by Jellyfin.

@Shadowghost commented on GitHub (Nov 9, 2024): I think the proper fix would be to implement happy eyeballs for the tmdb plugin's http client. Since we use a library (nowadays maintained by the jellyfin team too), we should make it possible to use the httpclient which already implements it and is provided by Jellyfin.
Author
Owner

@Titaniumtown commented on GitHub (Nov 9, 2024):

Is there a way to disable ipv6 for jellyfin specifically? The settings in jellyfin does nothing. Can it be disabled per-process on linux?

@Titaniumtown commented on GitHub (Nov 9, 2024): Is there a way to disable ipv6 for jellyfin specifically? The settings in jellyfin does nothing. Can it be disabled per-process on linux?
Author
Owner

@Titaniumtown commented on GitHub (Dec 4, 2024):

This seems to be a result of a broken IPv6 system config. For example, my fix: 71d2bb0cb3

After this, connectivity works.

@Titaniumtown commented on GitHub (Dec 4, 2024): This seems to be a result of a broken IPv6 system config. For example, my fix: https://git.gardling.com/titaniumtown/server-config/commit/71d2bb0cb334023ccf2a531b9e7b2ed0652a07fa After this, connectivity works.
Author
Owner

@Shadowghost commented on GitHub (Dec 4, 2024):

Yes, this is usually the case. To handle this kind of issues, the default http client in Jellyfin uses HappyEyeballs to do a greaceful fallback to IPv4 (see #8598). But the TMDb library we are using uses a different HTTP client which does not implement this fallback

@Shadowghost commented on GitHub (Dec 4, 2024): Yes, this is usually the case. To handle this kind of issues, the default http client in Jellyfin uses HappyEyeballs to do a greaceful fallback to IPv4 (see #8598). But the TMDb library we are using uses a different HTTP client which does not implement this fallback
Author
Owner

@jellyfin-bot commented on GitHub (Apr 4, 2025):

This issue has gone 120 days without an update and will be closed within 21 days if there is no new activity. To prevent this issue from being closed, please confirm the issue has not already been fixed by providing updated examples or logs.

If you have any questions you can use one of several ways to contact us.

@jellyfin-bot commented on GitHub (Apr 4, 2025): This issue has gone 120 days without an update and will be closed within 21 days if there is no new activity. To prevent this issue from being closed, please confirm the issue has not already been fixed by providing updated examples or logs. If you have any questions you can use one of several ways to [contact us](https://jellyfin.org/contact).
Author
Owner

@wolfy1339 commented on GitHub (Apr 4, 2025):

Not stale. Issue should be moved to the appropriate repository and fixed there

@wolfy1339 commented on GitHub (Apr 4, 2025): Not stale. Issue should be moved to the appropriate repository and fixed there
Author
Owner

@jellyfin-bot commented on GitHub (Aug 3, 2025):

This issue has gone 120 days without an update and will be closed within 21 days if there is no new activity. To prevent this issue from being closed, please confirm the issue has not already been fixed by providing updated examples or logs.

If you have any questions you can use one of several ways to contact us.

@jellyfin-bot commented on GitHub (Aug 3, 2025): This issue has gone 120 days without an update and will be closed within 21 days if there is no new activity. To prevent this issue from being closed, please confirm the issue has not already been fixed by providing updated examples or logs. If you have any questions you can use one of several ways to [contact us](https://jellyfin.org/contact).
Author
Owner

@LeGmask commented on GitHub (Oct 27, 2025):

not stale, I can reproduce

@LeGmask commented on GitHub (Oct 27, 2025): not stale, I can reproduce
Author
Owner

@Kaz0na commented on GitHub (Dec 14, 2025):

Can confirm this issues still persists. Running Jellyfin in a Rootless Podman Container on CachyOS. With IPv6 enabled on the OS level Jellyfin fails to retrieve metadata due to a timeout. If I disable IPv6 completely on the OS level metadata retrieval works succesfully.

As an aside this same issue also occurs when just installing jellyfin natively instead of running it in a container.

@Kaz0na commented on GitHub (Dec 14, 2025): Can confirm this issues still persists. Running Jellyfin in a Rootless Podman Container on CachyOS. With IPv6 enabled on the OS level Jellyfin fails to retrieve metadata due to a timeout. If I disable IPv6 completely on the OS level metadata retrieval works succesfully. As an aside this same issue _also_ occurs when just installing jellyfin natively instead of running it in a container.
Author
Owner

@tonibgd commented on GitHub (Dec 15, 2025):

Can confirm the issue as well. Running rootless podman container on Arch.
Only works If I disable IPv6 on the OS level.

@tonibgd commented on GitHub (Dec 15, 2025): Can confirm the issue as well. Running rootless podman container on Arch. Only works If I disable IPv6 on the OS level.
Author
Owner

@tonibgd commented on GitHub (Dec 15, 2025):

I figured out a workaround for podman:

  • Create a IPv4 only podman network:
podman network create jellyfin-network
  • Update your podman run command by adding --network jellyfin-network
  • Start your podman container
  • Inspect the new podman network, you should see your container on it
podman network inspect jellyfin-network

Verify you are using IPv4 by checking your public IP:

  • Enter you container (assuming your container name is jellyfin:
podman exec -it jellyfin bash
  • Run a curl command to check your public IP
curl ifconfig.me

You should now see your public IPv4 IP from within the container where before you would see your public IPv6 IP.
Running the curl command outside the container should still return your public IPv6 IP.

@tonibgd commented on GitHub (Dec 15, 2025): I figured out a workaround for podman: - Create a IPv4 only podman network: ```sh podman network create jellyfin-network ``` - Update your `podman run` command by adding `--network jellyfin-network` - Start your podman container - Inspect the new podman network, you should see your container on it ``` podman network inspect jellyfin-network ``` Verify you are using IPv4 by checking your public IP: - Enter you container (assuming your container name is `jellyfin`: ```sh podman exec -it jellyfin bash ``` - Run a `curl` command to check your public IP ``` curl ifconfig.me ``` You should now see your public IPv4 IP from within the container where before you would see your public IPv6 IP. Running the `curl` command outside the container should still return your public IPv6 IP.
Author
Owner

@Kaz0na commented on GitHub (Dec 19, 2025):

I figured out a workaround for podman:

  • Create a IPv4 only podman network:

podman network create jellyfin-network

  • Update you podman run command by adding --network jellyfin-network
  • Start your podman container
  • Inspect the new podman network, you should see your container on it
podman network inspect jellyfin-network

Verify you are using IPv4 by checking your public IP:

  • Enter you container (assuming your container name is jellyfin:

podman exec -it jellyfin bash

  • Run a curl command to check your public IP
curl ifconfig.me

You should now see your public IPv4 IP from within the container where before you would see your public IPv6 IP. Running the curl command outside the container should still return your public IPv6 IP.

Just want to say that this worked like a charm!

@Kaz0na commented on GitHub (Dec 19, 2025): > I figured out a workaround for podman: > > * Create a IPv4 only podman network: > > podman network create jellyfin-network > * Update you `podman run` command by adding `--network jellyfin-network` > * Start your podman container > * Inspect the new podman network, you should see your container on it > > ``` > podman network inspect jellyfin-network > ``` > > Verify you are using IPv4 by checking your public IP: > > * Enter you container (assuming your container name is `jellyfin`: > > podman exec -it jellyfin bash > * Run a `curl` command to check your public IP > > ``` > curl ifconfig.me > ``` > > You should now see your public IPv4 IP from within the container where before you would see your public IPv6 IP. Running the `curl` command outside the container should still return your public IPv6 IP. Just want to say that this worked like a charm!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/jellyfin#6108
No description provided.