2024-06-04, 06:32 PM
(This post was last modified: 2024-06-04, 06:33 PM by TheDreadPirate. Edited 1 time in total.)
It looks like you have a device with an expired token somewhere that is trying to continuously authenticate, which is why your log is so large. There is no way to tell which device is causing this.
I am not sure if these invalid token messages are the cause, but eventually I start seeing these messages.
Here is what I recommend. You're going to need to revoke all the active tokens and ask all your users to log back in.
Dashboard > Devices > Delete All
This will revoke all the tokens for all users and devices. Everyone will need to log back in on every device they have. Hopefully the invalid token message stops and this problem goes away as well.
Code:
[2024-06-03 21:50:09.813 +02:00] [INF] [51] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was challenged.
[2024-06-03 21:50:09.866 +02:00] [INF] [58] Jellyfin.Api.Auth.CustomAuthenticationHandler: "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
[2024-06-03 21:50:09.867 +02:00] [INF] [58] Jellyfin.Api.Auth.CustomAuthenticationHandler: "CustomAuthentication" was not authenticated. Failure message: "Invalid token."
I am not sure if these invalid token messages are the cause, but eventually I start seeing these messages.
Code:
[2024-06-03 21:51:52.170 +02:00] [ERR] [134] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL "POST" "/Sessions/Playing/Progress".
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 5: 'database is locked'.
Here is what I recommend. You're going to need to revoke all the active tokens and ask all your users to log back in.
Dashboard > Devices > Delete All
This will revoke all the tokens for all users and devices. Everyone will need to log back in on every device they have. Hopefully the invalid token message stops and this problem goes away as well.