linuxserver / docker-jellyfin

GNU General Public License v3.0
647 stars 97 forks source link

Error 522 at login screen #41

Closed kkasberg closed 4 years ago

kkasberg commented 4 years ago

linuxserver.io

If you are new to Docker or this application our issue tracker is ONLY used for reporting bugs or requesting features. Please use our discord server for general support.

When going to my url for jellyfin I expect to get the login page, but about 25% of the time I get error 522 (Connection Timed Out). It seems that the page loads too slow.


Expected Behavior

I expect the page to load fairly quickly.

Current Behavior

25% of the time I get a 522 error

Steps to Reproduce

  1. go to jellyfin url
  2. wait for login screen to load (screen is black at this point)
  3. I get the error 522.

Environment

OS:
Ubuntu 18.04 CPU architecture: 64bit How docker service was installed:
docker file

Command used to create docker container (run/create/compose/screenshot)

docker create \ --name=jellyfin \ --runtime=nvidia \ -e PUID=1000 \ -e PGID=1000 \ -e TZ=America/New_York \ -e UMASK_SET=022 #optional \ -e NVIDIA_VISIBLE_DEVICES=all \ -e NVIDIA_DRIVER_CAPABILITIES=compute,video,utility \ -p 8096:8096 \ -p 8920:8920 \ -v /opt/jellyfin/config:/config \ -v /media/1.5TB/Shows/:/data/tvshows \ -v /media/2TB/movies:/data/movies \ -v /media/1.5TB/jellyfintc:/transcode \ -v /media/1.5TB/:/media/1.5TB \ -v /media/2TB/:/media/2TB/ \ -l 'traefik.enable=true' \ -l 'traefik.http.middlewares.jellyfin-redirect.redirectscheme.scheme=https' \ -l 'traefik.http.routers.jellyfin-redirect.entrypoints=web' \ -l 'traefik.http.routers.jellyfin-redirect.middlewares=jellyfin-redirect' \ -l 'traefik.http.routers.jellyfin-redirect.rule=Host(jellyfin.mydomain.org)' \ -l 'traefik.http.routers.jellyfin.entrypoints=websecure' \ -l 'traefik.http.routers.jellyfin.rule=Host(jellyfin.mydomain.org)' \ -l 'traefik.http.routers.jellyfin.tls.certresolver=letsencrypt' \ -l 'traefik.http.services.jellyfin.loadbalancer.server.port=8096' \ --restart unless-stopped \ --device=/dev/dri:/dev/dri \ linuxserver/jellyfin:latest

Docker logs

[15:06:12] [INF] [44] TaskManager: IntervalTrigger fired for task: Scan Media Library,
[15:06:12] [INF] [44] TaskManager: Queueing task RefreshMediaLibraryTask,
[15:06:12] [INF] [32] TaskManager: Executing Scan Media Library,
[15:06:12] [INF] [32] LibraryMonitor: Stopping directory watching for path /media/2TB/movies,
[15:06:12] [INF] [32] LibraryMonitor: Stopping directory watching for path /media/2TB/audiobooks,
[15:06:12] [INF] [32] LibraryMonitor: Stopping directory watching for path /media/1.5TB/Shows,
[15:06:12] [INF] [32] LibraryMonitor: Stopping directory watching for path /media/2TB/audiobooks_kids,
[15:06:12] [INF] [32] LibraryMonitor: Stopping directory watching for path /media/2TB/shows,
[15:06:12] [INF] [32] LibraryMonitor: Stopping directory watching for path /config/data/data/livetv/recordings,
[15:06:12] [INF] [32] LibraryManager: Validating media library,
[15:06:18] [ERR] [44] App: Error in DummySeasonProvider,
TvDbSharper.TvDbServerException: The given series ID does not exist; No results for your query: map[],
   at TvDbSharper.Infrastructure.Parser.Parse[T](ApiResponse response, IReadOnlyDictionary`2 errorMap),
   at TvDbSharper.Clients.SeriesClient.GetEpisodesAsync(Int32 seriesId, Int32 page, EpisodeQuery query, CancellationToken cancellationToken),
   at MediaBrowser.Providers.TV.TheTVDB.TvDbClientManager.TryGetValue[T](String key, String language, Func`1 resultFactory),
   at MediaBrowser.Providers.TV.TheTVDB.TvDbClientManager.GetAllEpisodesAsync(Int32 tvdbId, String language, CancellationToken cancellationToken),
   at MediaBrowser.Providers.TV.MissingEpisodeProvider.Run(Series series, Boolean addNewItems, CancellationToken cancellationToken),
   at MediaBrowser.Providers.TV.SeriesMetadataService.AfterMetadataRefresh(Series item, MetadataRefreshOptions refreshOptions, CancellationToken cancellationToken),
[15:06:18] [ERR] [43] App: Error in DummySeasonProvider,
TvDbSharper.TvDbServerException: The given series ID does not exist; No results for your query: map[],
   at TvDbSharper.Infrastructure.Parser.Parse[T](ApiResponse response, IReadOnlyDictionary`2 errorMap),
   at TvDbSharper.Clients.SeriesClient.GetEpisodesAsync(Int32 seriesId, Int32 page, EpisodeQuery query, CancellationToken cancellationToken),
   at MediaBrowser.Providers.TV.TheTVDB.TvDbClientManager.TryGetValue[T](String key, String language, Func`1 resultFactory),
   at MediaBrowser.Providers.TV.TheTVDB.TvDbClientManager.GetAllEpisodesAsync(Int32 tvdbId, String language, CancellationToken cancellationToken),
   at MediaBrowser.Providers.TV.MissingEpisodeProvider.Run(Series series, Boolean addNewItems, CancellationToken cancellationToken),
   at MediaBrowser.Providers.TV.SeriesMetadataService.AfterMetadataRefresh(Series item, MetadataRefreshOptions refreshOptions, CancellationToken cancellationToken),
[15:06:19] [INF] [32] App: Starting Library Sync...,
[15:06:19] [INF] [32] App: "LIBRARYSYNC" Added 5 items:  ea3f334ae0a6b938b33f23b13cc20b1a,86345e0f39ece6b1382b989124b7753b,f2ec7229a55b823dea4ecf7e43023983,349b905aa98935a06d47a278e1238816,757fae4b175670def016d97f76322db3,
[15:06:19] [INF] [32] App: "LIBRARYSYNC" Updated 0 items:  ,
[15:06:19] [INF] [32] App: "LIBRARYSYNC" Removed 0 items:  ,
[15:06:19] [INF] [32] App: Finished Library Sync Taking 00:00:00.1746199,
[15:06:25] [INF] [32] App: Starting Library Sync...,
[15:06:25] [INF] [32] App: "LIBRARYSYNC" Added 0 items:  ,
[15:06:25] [INF] [32] App: "LIBRARYSYNC" Updated 4 items:  86345e0f39ece6b1382b989124b7753b,f2ec7229a55b823dea4ecf7e43023983,349b905aa98935a06d47a278e1238816,757fae4b175670def016d97f76322db3,
[15:06:25] [INF] [32] App: "LIBRARYSYNC" Removed 0 items:  ,
[15:06:25] [INF] [32] App: Finished Library Sync Taking 00:00:00.1537446,
[15:06:31] [INF] [8] PlaybackReporting - EventMonitorEntryPoint: Processing playback tracker : c794943b9c7a3ce7-72476da2d2be43389e4518dd09bdbe14-35cb844717853245da58df2d9fca9ecc,
[15:06:31] [INF] [44] LibraryManager: Deleting item, Type: Episode, Name: TBA, Path: , Id: f54b70ba-de16-3e95-a454-122af0c4718d,
[15:06:36] [INF] [6] App: Starting Library Sync...,
[15:06:36] [INF] [6] App: "LIBRARYSYNC" Added 0 items:  ,
[15:06:37] [INF] [6] App: "LIBRARYSYNC" Updated 1 items:  ea3f334ae0a6b938b33f23b13cc20b1a,
[15:06:37] [INF] [6] App: "LIBRARYSYNC" Removed 0 items:  ,
[15:06:37] [INF] [6] App: Finished Library Sync Taking 00:00:00.1279077,
[15:06:38] [INF] [8] TaskManager: Scan Media Library Completed after 0 minute(s) and 25 seconds,
[15:06:38] [INF] [8] TaskManager: ExecuteQueuedTasks,
[15:06:38] [INF] [18] LibraryMonitor: Watching directory /config/data/data/livetv/recordings,
[15:06:38] [INF] [44] LibraryMonitor: Watching directory /media/2TB/audiobooks_kids,
[15:06:38] [INF] [8] LibraryMonitor: Watching directory /media/2TB/shows,
[15:06:38] [INF] [32] LibraryMonitor: Watching directory /media/1.5TB/Shows,
[15:06:38] [INF] [43] LibraryMonitor: Watching directory /media/2TB/audiobooks,
[15:06:38] [INF] [6] LibraryMonitor: Watching directory /media/2TB/movies,
[15:06:51] [INF] [44] PlaybackReporting - EventMonitorEntryPoint: Processing playback tracker : c794943b9c7a3ce7-72476da2d2be43389e4518dd09bdbe14-35cb844717853245da58df2d9fca9ecc,
[15:07:11] [INF] [43] PlaybackReporting - EventMonitorEntryPoint: Processing playback tracker : c794943b9c7a3ce7-72476da2d2be43389e4518dd09bdbe14-35cb844717853245da58df2d9fca9ecc,
[15:07:31] [INF] [6] PlaybackReporting - EventMonitorEntryPoint: Processing playback tracker : c794943b9c7a3ce7-72476da2d2be43389e4518dd09bdbe14-35cb844717853245da58df2d9fca9ecc,
[15:07:51] [INF] [32] PlaybackReporting - EventMonitorEntryPoint: Processing playback tracker : c794943b9c7a3ce7-72476da2d2be43389e4518dd09bdbe14-35cb844717853245da58df2d9fca9ecc,
[15:08:11] [INF] [18] PlaybackReporting - EventMonitorEntryPoint: Processing playback tracker : c794943b9c7a3ce7-72476da2d2be43389e4518dd09bdbe14-35cb844717853245da58df2d9fca9ecc,
[15:08:32] [INF] [38] PlaybackReporting - EventMonitorEntryPoint: Processing playback tracker : c794943b9c7a3ce7-72476da2d2be43389e4518dd09bdbe14-35cb844717853245da58df2d9fca9ecc,
[15:08:52] [INF] [16] PlaybackReporting - EventMonitorEntryPoint: Processing playback tracker : c794943b9c7a3ce7-72476da2d2be43389e4518dd09bdbe14-35cb844717853245da58df2d9fca9ecc,
[15:09:12] [INF] [32] PlaybackReporting - EventMonitorEntryPoint: Processing playback tracker : c794943b9c7a3ce7-72476da2d2be43389e4518dd09bdbe14-35cb844717853245da58df2d9fca9ecc,
[15:09:32] [INF] [32] PlaybackReporting - EventMonitorEntryPoint: Processing playback tracker : c794943b9c7a3ce7-72476da2d2be43389e4518dd09bdbe14-35cb844717853245da58df2d9fca9ecc,
[15:09:43] [WRN] [48] Emby.Server.Implementations.HttpServer.HttpListenerHost: HTTP Response 206 to 10.0.2.19. Time (slow): 0:45:06.4388618. http://10.0.2.93:8096/Videos/35cb844717853245da58df2d9fca9ecc/stream.mkv?DeviceId=c794943b9c7a3ce7&MediaSourceId=35cb844717853245da58df2d9fca9ecc&Static=true&Tag=7c654503e2c3a7348b9061edd04f2523,
[15:09:52] [INF] [6] PlaybackReporting - EventMonitorEntryPoint: Processing playback tracker : c794943b9c7a3ce7-72476da2d2be43389e4518dd09bdbe14-35cb844717853245da58df2d9fca9ecc,
[15:10:12] [INF] [41] PlaybackReporting - EventMonitorEntryPoint: Processing playback tracker : c794943b9c7a3ce7-72476da2d2be43389e4518dd09bdbe14-35cb844717853245da58df2d9fca9ecc,
[15:10:32] [INF] [6] PlaybackReporting - EventMonitorEntryPoint: Processing playback tracker : c794943b9c7a3ce7-72476da2d2be43389e4518dd09bdbe14-35cb844717853245da58df2d9fca9ecc,
[15:10:52] [INF] [38] PlaybackReporting - EventMonitorEntryPoint: Processing playback tracker : c794943b9c7a3ce7-72476da2d2be43389e4518dd09bdbe14-35cb844717853245da58df2d9fca9ecc,
[15:11:02] [INF] [38] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app AndroidTV 0.10.2a playing Zoey's Extraordinary Mother. Stopped at 2530673 ms,
[15:11:02] [INF] [48] PlaybackReporting - EventMonitorEntryPoint: Playback stop tracker found, processing stop : c794943b9c7a3ce7-72476da2d2be43389e4518dd09bdbe14-35cb844717853245da58df2d9fca9ecc,
[15:11:02] [INF] [48] PlaybackReporting - EventMonitorEntryPoint: PlaybackTracker : Adding Stop Event : 04/27/2020 15:11:02,
[15:11:02] [INF] [48] PlaybackReporting - EventMonitorEntryPoint: Saving playback tracking activity in DB,
[15:11:03] [INF] [48] App: Starting User Changes Sync...,
[15:11:03] [INF] [48] App: "USERSYNC" User 72476da2d2be43389e4518dd09bdbe14(katelyn) posted 2 Updates: 35cb844717853245da58df2d9fca9ecc,023df2441cf19224e1fb94748dfbf1ba,
[15:11:03] [INF] [48] App: User Changes Sync Finished Taking 00:00:00.0097871,
[15:11:03] [ERR] [48] Emby.Server.Implementations.HttpServer.HttpListenerHost: Error processing request. URL: http://10.0.2.93:8096/Items/4243162fee8bdba31f7b40132e8b93bf/Images/Logo?MaxWidth=600&EnableImageEnhancers=true,
MediaBrowser.Common.Extensions.ResourceNotFoundException: Zoey's Extraordinary Playlist does not have an image of type Logo,
   at MediaBrowser.Api.Images.ImageService.GetImage(ImageRequest request, Guid itemId, BaseItem item, Boolean isHeadRequest),
   at Emby.Server.Implementations.Services.ServiceExecGeneral.Execute(Type serviceType, IRequest request, Object instance, Object requestDto, String requestName),
   at Emby.Server.Implementations.Services.ServiceController.Execute(HttpListenerHost httpHost, Object requestDto, IRequest req),
   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IRequest httpReq, HttpResponse httpRes, ILogger logger, CancellationToken cancellationToken),
   at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IHttpRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken),
[21:23:53] [INF] [32] TaskManager: IntervalTrigger fired for task: Update Plugins,
[21:23:53] [INF] [32] TaskManager: Queueing task PluginUpdateTask,
[21:23:53] [INF] [32] TaskManager: Executing Update Plugins,
[21:23:53] [INF] [40] TaskManager: Update Plugins Completed after 0 minute(s) and 0 seconds,
[21:23:53] [INF] [40] TaskManager: ExecuteQueuedTasks,
[21:26:02] [WRN] [40] Emby.Server.Implementations.HttpServer.HttpListenerHost: HTTP Response 200 to 162.158.74.249. Time (slow): 0:00:00.5948638. http://jellyfin.mydomain.org/web/bundle.js?v=10.5.5,
[21:26:39] [INF] [15] App: WS http://jellyfin.mydomain.org/socket?api_key=13b93da7fd1c4be6831a78f03d5102f1&deviceId=TW96aWxsYS81LjAgKE1hY2ludG9zaDsgSW50ZWwgTWFjIE9TIFggMTBfMTVfNCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzgwLjAuMzk4Ny4xNDkgU2FmYXJpLzUzNy4zNnwxNTg2MTM0ODgzMDIw. UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36,
[21:26:47] [WRN] [32] Emby.Server.Implementations.HttpServer.HttpListenerHost: HTTP Response 200 to 162.158.74.91. Time (slow): 0:00:00.8969866. http://jellyfin.mydomain.org/Items/92616fe4901b9f9941a1aee12b6e51f2/Images/Backdrop/0?tag=f9e575c06d5a9d759564c337e062183c&maxWidth=2880&quality=70,
[21:26:49] [WRN] [40] Emby.Server.Implementations.HttpServer.HttpListenerHost: HTTP Response 200 to 162.158.74.91. Time (slow): 0:00:03.4404202. http://jellyfin.mydomain.org/Playback/BitrateTest?Size=3000000,
[21:26:52] [INF] [40] App: Starting Library Sync...,
[21:26:52] [INF] [40] App: "LIBRARYSYNC" Added 0 items:  ,
[21:26:52] [INF] [40] App: "LIBRARYSYNC" Updated 1 items:  92616fe4901b9f9941a1aee12b6e51f2,
[21:26:52] [INF] [40] App: "LIBRARYSYNC" Removed 0 items:  ,
[21:26:52] [INF] [40] App: Finished Library Sync Taking 00:00:00.1309476,
[21:36:54] [INF] [38] App: WS http://jellyfin.mydomain.org/socket?api_key=13b93da7fd1c4be6831a78f03d5102f1&deviceId=TW96aWxsYS81LjAgKE1hY2ludG9zaDsgSW50ZWwgTWFjIE9TIFggMTBfMTVfNCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzgwLjAuMzk4Ny4xNDkgU2FmYXJpLzUzNy4zNnwxNTg2MTM0ODgzMDIw. UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36,
[21:37:00] [INF] [32] App: Starting Library Sync...,
[21:37:00] [INF] [32] App: "LIBRARYSYNC" Added 0 items:  ,
[21:37:00] [INF] [32] App: "LIBRARYSYNC" Updated 1 items:  5822528845bc650fee7ae804f34bce49,
[21:37:00] [INF] [32] App: "LIBRARYSYNC" Removed 0 items:  ,
[21:37:00] [INF] [32] App: Finished Library Sync Taking 00:00:00.1276501,
[21:37:03] [WRN] [38] Emby.Server.Implementations.HttpServer.HttpListenerHost: HTTP Response 200 to 162.158.74.91. Time (slow): 0:00:03.0564804. http://jellyfin.mydomain.org/Playback/BitrateTest?Size=3000000,
aptalca commented 4 years ago

522 is a cloudflare error. You have a reverse proxy issue.

You should contact traefik. We don't support it.

Feel free to reopen if you can reproduce it with direct connection via IP