mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-05-30 23:40:40 +02:00
[Bug]: Logs - Error - Session Controller spams dozens of "Unable to find playback session with id=XYZ" logs when client is listening to audiobook #3288
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 @Tossoutaccount42 on GitHub (Apr 3, 2026).
What happened?
I was messing around with an ebook rendering issue and used one of the two clear cache settings. Afterward, I happened upon the logs page and saw it was filling with dozens of "ERROR [SessionController] Unable to find playback session with id=XYZ" logs per second. There were likely tens of thousands of them before it went away on its own when the user stopped listening after around 30 minutes. Reboot, further cache clears, manually deleting various cache and log related folders, etc. did not fix it.
The issue later came back, only to disappear after I went to the listening tab and killed all sessions (side note, there were hundreds of sessions under this same user - seems like every time they open their tab, it counts as a "new" session despite being the same tab and not a new instance).
User device details:
Abs Web
2.33.1 iOS 18.7
Mobile Safari
Direct Play
What did you expect to happen?
I would expect it not to submit dozens of these logs per second. It should attempt, receive an error response, and recreate a new session instead of attempting to fetch a non-existent one more than a few times.
Steps to reproduce the issue
Audiobookshelf version
v2.33.1
How are you running audiobookshelf?
Docker
What OS is your Audiobookshelf server hosted from?
Windows
If the issue is being seen in the UI, what browsers are you seeing the problem on?
Safari on iOS
Logs
Additional Notes
No response