Jellyfin Forum
SOLVED: remote jellyfin Jellyfin.Api.Auth.CustomAuthenticationHandler problem - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: SOLVED: remote jellyfin Jellyfin.Api.Auth.CustomAuthenticationHandler problem (/t-solved-remote-jellyfin-jellyfin-api-auth-customauthenticationhandler-problem)



remote jellyfin Jellyfin.Api.Auth.CustomAuthenticationHandler problem - ahmad - 2024-03-11

i have a jellyfin in a docker container with domian and cloudflare for remote access when watching a movie or a show after some time it stop playing and can't do anything in the webpage and after refresh i got this first image, so i have to close the tab re-enter the domian for it and login again

here the log from portainer:
Code:
[code][07:41:06] [INF] [41] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
[07:41:06] [INF] [46] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /data/media/Books
[07:41:06] [INF] [202] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /data/media/TVSeries/Series
[07:41:06] [INF] [116] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /data/media/Movies
[07:45:00] [INF] [37] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[07:41:06] [INF] [50] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /data/media/TVSeries/Anime
[07:41:06] [INF] [74] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /data/media/Music
[07:45:00] [INF] [37] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was challenged.
[07:50:00] [INF] [70] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was challenged.
[07:50:00] [INF] [70] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[07:41:06] [INF] [41] Emby.Server.Implementations.ScheduledTasks.TaskManager: Scan Media Library Completed after 0 minute(s) and 10 seconds[/code]



here a brief info about my setup: 
cpu: ryzen 3 3200g
igpu: amd redaon vega 
ram: 16GB 
OS: Debian 12
Jellyfin version: 10.8.13
i run jellyfin inside a docker container with an nginx proxy manager with force SSL for remote access and i register a domain with cloudflare and enabled Proxied


RE: remote jellyfin Jellyfin.Api.Auth.CustomAuthenticationHandler problem - TheDreadPirate - 2024-03-11

I've updated our Nginx Proxy Manager docs recently.

https://jellyfin.org/docs/general/networking/nginx/#nginx-proxy-manager

Double check your setup lines up with our docs. If it does, we can do some additional troubleshooting.


RE: remote jellyfin Jellyfin.Api.Auth.CustomAuthenticationHandler problem - ahmad - 2024-03-26

(2024-03-11, 04:30 PM)TheDreadPirate Wrote: I've updated our Nginx Proxy Manager docs recently.

https://jellyfin.org/docs/general/networking/nginx/#nginx-proxy-manager

Double check your setup lines up with our docs.  If it does, we can do some additional troubleshooting.

Thanks, this works for me.