mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
no IP in Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token. #7049
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @prahal on GitHub (May 31, 2025).
Description of the bug
Please log IP of the offender, or anything to identify it, I get this error every 10 seconds and I cannot find which device cause it:
[10:24:03] [INF] [3] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[10:24:03] [ERR] [3] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: Invalid token. URL GET /socket.
Reproduction steps
I have no idea which device cause the error in the log. That is the point of this bug report.
What is the current bug behavior?
Logs error about device without telling which device
[10:24:03] [INF] [3] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[10:24:03] [ERR] [3] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: Invalid token. URL GET /socket.
What is the expected correct behavior?
Log an IP with the error or anything identifying the device with the invalid token error.
Jellyfin Server version
10.10.0+
Specify commit id
No response
Specify unstable release number
No response
Specify version number
10.10.7
Specify the build version
10.10.7
Environment
Jellyfin logs
FFmpeg logs
Client / Browser logs
No response
Relevant screenshots or videos
No response
Additional information
No response
@prahal commented on GitHub (May 31, 2025):
Issue mentioned in https://forum.jellyfin.org/t-authenticationscheme-customauthentication-was-challenged-customauthentication