• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting intermittent crashes

     
    • 0 Vote(s) - 0 Average

    intermittent crashes

    intermittent crashes
    kubislav
    Online

    Junior Member

    Posts: 2
    Threads: 2
    Joined: 2024 Oct
    Reputation: 0
    #1
    1 hour ago (This post was last modified: 1 hour ago by kubislav. Edited 1 time in total.)
    Hi,

    since upgrading to new version, it seems I have an issue where server crashes randomly during playback sessions.


    Jellyfin installed on synology ds420 throu synocommunity package with reverse proxy. During playback via reverse proxy, playback stops and upon checking the service itself, its not in running state anymore.

    I did not notice this behavior on playing locally on my network yet.

    I tried to do few changes and testing with reverse proxy by extending WebSocket timeouts, but I guess this is not the main issue here, because I have read on different thread, that WebSockets are being used only for updating the playback stats and loosing the WebSocket should not crash the playback itself.

    The fatal "Unhandled Exception" always comes with the closed WebSocket though.

    Currently I have scheduled script to check service status and start it if its not running, but not ideal.

    The way I use jellyfin is 

    Server: jellyfin host
    Client PC: for playback installed with MPV Shim
    Android phone: Using Jellyfin app basically just as an interface, everything is being played in Shim on client.



    LOG:
    [2025-12-01 22:53:05.523 +01:00] [WRN] [30] Emby.Server.Implementations.HttpServer.WebSocketConnection: WS "192.168.1.1" error receiving data: "The remote party closed the WebSocket connection without completing the close handshake."
    [2025-12-01 22:53:05.524 +01:00] [INF] [30] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.1.1" closed
    [2025-12-01 22:53:05.527 +01:00] [FTL] [24] Main: Unhandled Exception
    System.OperationCanceledException: The operation was canceled.
    ---> System.ObjectDisposedException: Cannot access a disposed object.
    Object name: 'System.Net.WebSockets.WebSocket'.
      at System.Net.WebSockets.ManagedWebSocket.ThrowIfInvalidState(WebSocketState[] validStates)
      at System.Net.WebSockets.ManagedWebSocket.WriteFrameToSendBuffer(MessageOpcode opcode, Boolean endOfMessage, Boolean disableCompression, ReadOnlySpan1 payloadBuffer)
      at System.Net.WebSockets.ManagedWebSocket.SendFrameFallbackAsync(MessageOpcode opcode, Boolean endOfMessage, Boolean disableCompression, ReadOnlyMemory
    1 payloadBuffer, Task lockTask, CancellationToken cancellationToken)
      --- End of inner exception stack trace ---
      at System.Net.WebSockets.ManagedWebSocket.SendFrameFallbackAsync(MessageOpcode opcode, Boolean endOfMessage, Boolean disableCompression, ReadOnlyMemory1 payloadBuffer, Task lockTask, CancellationToken cancellationToken)
      at Emby.Server.Implementations.HttpServer.WebSocketConnection.SendAsync[T](OutboundWebSocketMessage
    1 message, CancellationToken cancellationToken)
      at Emby.Server.Implementations.Session.SessionWebSocketListener.SendForceKeepAlive(IWebSocketConnection webSocket)
      at Emby.Server.Implementations.Session.SessionWebSocketListener.KeepAliveSockets(Object o, EventArgs e)
      at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
      at System.Threading.QueueUserWorkItemCallback.Execute()
      at System.Threading.ThreadPoolWorkQueue.Dispatch()
      at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
    [2025-12-01 22:54:04.382 +01:00] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/volume1/@appdata/jellyfin/cache"

    Edit: I also completelly disabled transcoding of video.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    intermittent crashes - by kubislav - 1 hour ago

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode