2024-08-04, 02:53 AM
The logs indicate that the Jellyfin server encountered an unhandled exception related to WebSocket connections, specifically an
ArgumentOutOfRangeException
. This exception suggests that the server attempted to access an index in a collection that does not exist, which led to the crash.
ArgumentOutOfRangeException
. This exception suggests that the server attempted to access an index in a collection that does not exist, which led to the crash.
Code:
[23:46:27] [INF] [297] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 187.189.246.111 closed
[23:55:06] [INF] [310] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 187.189.246.111 request
[23:55:18] [INF] [303] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 187.189.246.111 request
[23:57:21] [INF] [298] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for Anime. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[23:57:54] [INF] [310] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[23:59:06] [WRN] [301] Emby.Server.Implementations.HttpServer.WebSocketConnection: WS 187.189.246.111 error receiving data: The remote party closed the WebSocket connection without completing the close handshake.
[23:59:06] [WRN] [298] Emby.Server.Implementations.HttpServer.WebSocketConnection: WS 187.189.246.111 error receiving data: The remote party closed the WebSocket connection without completing the close handshake.
[23:59:06] [INF] [298] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 187.189.246.111 closed
[23:59:06] [INF] [301] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 187.189.246.111 closed
[23:59:06] [FTL] [301] Main: Unhandled Exception
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
at Emby.Server.Implementations.Session.WebSocketController.OnConnectionClosed(Object sender, 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()
Unhandled exception. System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
at Emby.Server.Implementations.Session.WebSocketController.OnConnectionClosed(Object sender, 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()