Server Seems to Crash When Trying to Use EPUB Reader #1891

Closed
opened 2025-12-21 19:38:23 +01:00 by backuprepo · 4 comments
Owner

Originally created by @Saamoz on GitHub (Jul 20, 2020).

Originally assigned to: @barronpm on GitHub.

Describe the bug
Server seemed to crash after an indeterminate amount of time when reading a book on the new 10.6 epub viewer.

System (please complete the following information):

  • OS: Windows
  • Virtualization:
  • Clients: Browser
  • Browser: Edge 83.0.478.64
  • Jellyfin Version: 10.6.0
  • Playback: Direct Play for EPUB
  • Installed Plugins: Bookshelf
  • Reverse Proxy: caddy
  • Base URL: none
  • Networking:
  • Storage: local

To Reproduce

  1. Open EPUB file with new brower based EPUB reader in Jellyfin 10.6.0
  2. Enjoy reading for some time
  3. After some time, it will stop responding and the server has crashed

Expected behavior
To be able to read the book without crashing

Logs

[2020-07-20 10:41:23.616 -04:00] [ERR] [62] Emby.Server.Implementations.HttpServer.HttpListenerHost: Could not find handler for "/socket"
[2020-07-20 10:41:23.621 -04:00] [ERR] [62] Emby.Server.Implementations.HttpServer.HttpListenerHost: Error processing request: "Unable to find the specified file". URL: "http://streaming.saamoz.duckdns.org/socket?deviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzgzLjAuNDEwMy42MSBTYWZhcmkvNTM3LjM2IEVkZy84My4wLjQ3OC4zN3wxNTkwNjk0NDkyMDA3"
[2020-07-20 10:42:12.396 -04:00] [INF] [62] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Jellyfin Web" "10.6.0" playing "Rationality". Stopped at "200" ms
[2020-07-20 10:42:12.536 -04:00] [FTL] [62] Main: Unhandled Exception
System.ArgumentNullException: Value cannot be null. (Parameter 'type')
   at Jellyfin.Data.Entities.ActivityLog..ctor(String name, String type, Guid userId)
   at Emby.Server.Implementations.Activity.ActivityLogEntryPoint.OnPlaybackStopped(Object sender, PlaybackStopEventArgs e)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__139_1(Object state)
   at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(QueueUserWorkItemCallback quwi)
   at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[TState](ExecutionContext executionContext, Action`1 callback, TState& state)
   at System.Threading.QueueUserWorkItemCallback.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()

Although it says unable to find the specified file, the book does open and I am able to read it for a little while. The crash happens later, in that case it happened at 10:42

Originally created by @Saamoz on GitHub (Jul 20, 2020). Originally assigned to: @barronpm on GitHub. **Describe the bug** Server seemed to crash after an indeterminate amount of time when reading a book on the new 10.6 epub viewer. **System (please complete the following information):** - OS: Windows - Virtualization: - Clients: Browser - Browser: Edge 83.0.478.64 - Jellyfin Version: 10.6.0 - Playback: Direct Play for EPUB - Installed Plugins: Bookshelf - Reverse Proxy: caddy - Base URL: none - Networking: - Storage: local **To Reproduce** 1. Open EPUB file with new brower based EPUB reader in Jellyfin 10.6.0 2. Enjoy reading for some time 3. After some time, it will stop responding and the server has crashed **Expected behavior** To be able to read the book without crashing **Logs** ``` [2020-07-20 10:41:23.616 -04:00] [ERR] [62] Emby.Server.Implementations.HttpServer.HttpListenerHost: Could not find handler for "/socket" [2020-07-20 10:41:23.621 -04:00] [ERR] [62] Emby.Server.Implementations.HttpServer.HttpListenerHost: Error processing request: "Unable to find the specified file". URL: "http://streaming.saamoz.duckdns.org/socket?deviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzgzLjAuNDEwMy42MSBTYWZhcmkvNTM3LjM2IEVkZy84My4wLjQ3OC4zN3wxNTkwNjk0NDkyMDA3" [2020-07-20 10:42:12.396 -04:00] [INF] [62] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Jellyfin Web" "10.6.0" playing "Rationality". Stopped at "200" ms [2020-07-20 10:42:12.536 -04:00] [FTL] [62] Main: Unhandled Exception System.ArgumentNullException: Value cannot be null. (Parameter 'type') at Jellyfin.Data.Entities.ActivityLog..ctor(String name, String type, Guid userId) at Emby.Server.Implementations.Activity.ActivityLogEntryPoint.OnPlaybackStopped(Object sender, PlaybackStopEventArgs e) at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__139_1(Object state) at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(QueueUserWorkItemCallback quwi) at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[TState](ExecutionContext executionContext, Action`1 callback, TState& state) at System.Threading.QueueUserWorkItemCallback.Execute() at System.Threading.ThreadPoolWorkQueue.Dispatch() ``` Although it says `unable to find the specified file`, the book does open and I am able to read it for a little while. The crash happens later, in that case it happened at 10:42
backuprepo 2025-12-21 19:38:23 +01:00
  • closed this issue
  • added the
    stale
    bug
    labels
Author
Owner

@dkanada commented on GitHub (Jul 20, 2020):

cc @barronpm since this could be a database issue

@dkanada commented on GitHub (Jul 20, 2020): cc @barronpm since this could be a database issue
Author
Owner

@cvium commented on GitHub (Jul 21, 2020):

We just need a new notification type 15aea76523/Emby.Server.Implementations/Activity/ActivityLogEntryPoint.cs (L231-L244)

@cvium commented on GitHub (Jul 21, 2020): We just need a new notification type https://github.com/jellyfin/jellyfin/blob/15aea76523d1ad36ac4a1c8850bd099882c6325d/Emby.Server.Implementations/Activity/ActivityLogEntryPoint.cs#L231-L244
Author
Owner

@dkanada commented on GitHub (Jul 21, 2020):

I wonder if we even need media-specific playback notifications.

@dkanada commented on GitHub (Jul 21, 2020): I wonder if we even need media-specific playback notifications.
Author
Owner

@stale[bot] commented on GitHub (Nov 19, 2020):

This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.
If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or nightlies, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.
This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.

@stale[bot] commented on GitHub (Nov 19, 2020): This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments. If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or nightlies, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label. This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on [Matrix or Social Media](https://docs.jellyfin.org/general/getting-help.html).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/jellyfin#1891
No description provided.