2024-10-30, 04:27 AM
(This post was last modified: 2024-10-30, 04:29 AM by joaomiguel. Edited 1 time in total.)
Hello! As I described at the beginning, it works fine for several hours, but at some point it crashes. Before crashing it always gives these same messages in the LOG:
It seems that this error occurred after activating HTTPS, the only change I made was to activate HTTPS and change the HTTPS port
Does anyone have any idea how to solve it?
Quote:4-10-30 00:00:00.001 -03:00] [INF] [57] IntroSkipper.ScheduledTasks.DetectIntrosCreditsTask: Scheduled Task is starting
[2024-10-30 00:00:00.032 -03:00] [INF] [57] IntroSkipper.Manager.QueueManager: Running enqueue of items in library "Coleções"
[2024-10-30 00:00:00.033 -03:00] [INF] [57] IntroSkipper.Manager.QueueManager: Running enqueue of items in library "Séries"
[2024-10-30 00:00:00.090 -03:00] [INF] [57] IntroSkipper.Manager.QueueManager: Running enqueue of items in library "Filmes"
[2024-10-30 00:00:00.134 -03:00] [INF] [57] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Detect Intros and Credits" Completed after 0 minute(s) and 0 seconds
[2024-10-30 00:00:01.001 -03:00] [INF] [68] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for "Detect Intros and Credits" set to fire at 2024-10-31 00:00:00.000 -03:00, which is 23:59:58.9983505 from now.
[2024-10-30 00:00:43.030 -03:00] [INF] [63] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2024-10-30 00:01:19.031 -03:00] [INF] [58] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2024-10-30 00:01:31.031 -03:00] [INF] [74] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2024-10-30 00:03:31.031 -03:00] [INF] [70] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2024-10-30 00:04:19.031 -03:00] [INF] [57] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2024-10-30 00:04:43.032 -03:00] [INF] [57] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2024-10-30 00:06:19.030 -03:00] [INF] [67] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2024-10-30 00:07:31.030 -03:00] [INF] [71] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2024-10-30 00:07:43.031 -03:00] [INF] [66] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2024-10-30 00:08:53.097 -03:00] [WRN] [66] Emby.Server.Implementations.HttpServer.WebSocketConnection: WS "192.168.15.7" error receiving data: "The remote party closed the WebSocket connection without completing the close handshake."
[2024-10-30 00:08:53.099 -03:00] [INF] [66] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.15.7" closed
[2024-10-30 00:08:53.100 -03:00] [WRN] [72] Emby.Server.Implementations.HttpServer.WebSocketConnection: WS "192.168.15.7" error receiving data: "The remote party closed the WebSocket connection without completing the close handshake."
[2024-10-30 00:08:53.100 -03:00] [INF] [72] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.15.7" closed
[2024-10-30 00:08:53.105 -03:00] [WRN] [72] Emby.Server.Implementations.HttpServer.WebSocketConnection: WS "192.168.15.7" error receiving data: "The remote party closed the WebSocket connection without completing the close handshake."
[2024-10-30 00:08:53.110 -03:00] [INF] [72] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.15.7" closed
[2024-10-30 00:08:53.380 -03:00] [ERR] [63] Jellyfin.Api.WebSocketListeners.SessionInfoWebSocketListener: Error sending web socket message Sessions
System.Net.WebSockets.WebSocketException (0x80004005): The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived'
at System.Net.WebSockets.ManagedWebSocket.SendAsync(ReadOnlyMemory1 buffer, WebSocketMessageType messageType, WebSocketMessageFlags messageFlags, CancellationToken cancellationToken)
2.SendDataInternal(TReturnDataType data, ValueTuple
--- End of stack trace from previous location ---
at MediaBrowser.Controller.Net.BasePeriodicWebSocketListener3 tuple)
1 source, CancellationToken cancellationToken)
[2024-10-30 00:12:51.620 -03:00] [INF] [66] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.15.7" request
[2024-10-30 00:12:53.587 -03:00] [INF] [70] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.15.7" request
[2024-10-30 00:12:54.603 -03:00] [INF] [66] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.15.7" request
[2024-10-30 00:15:43.030 -03:00] [INF] [67] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 3 inactive WebSockets.
[2024-10-30 00:16:17.727 -03:00] [INF] [47] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.15.7" closed
[2024-10-30 00:19:07.031 -03:00] [INF] [67] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 2 inactive WebSockets.
[2024-10-30 00:21:55.031 -03:00] [INF] [57] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 2 inactive WebSockets.
[2024-10-30 00:24:43.031 -03:00] [INF] [59] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 2 inactive WebSockets.
[2024-10-30 00:27:47.185 -03:00] [INF] [63] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.15.7" closed
[2024-10-30 00:27:47.474 -03:00] [INF] [67] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.15.7" request
[2024-10-30 00:28:07.030 -03:00] [INF] [70] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2024-10-30 00:30:55.031 -03:00] [INF] [58] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2024-10-30 00:33:43.031 -03:00] [INF] [57] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2024-10-30 00:37:07.031 -03:00] [INF] [61] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2024-10-30 00:39:55.030 -03:00] [INF] [74] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2024-10-30 00:42:43.030 -03:00] [INF] [72] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2024-10-30 00:46:07.030 -03:00] [INF] [57] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2024-10-30 00:48:55.030 -03:00] [INF] [47] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2024-10-30 00:51:19.031 -03:00] [INF] [62] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2024-10-30 00:51:31.031 -03:00] [INF] [68] Emby.Server.Implementations.Session.SessionWebSocketListener: Lost 1 WebSockets.
[2024-10-30 00:51:43.031 -03:00] [INF] [57] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2024-10-30 00:51:55.031 -03:00] [INF] [68] Emby.Server.Implementations.Session.SessionWebSocketListener: Lost 1 WebSockets.
[2024-10-30 00:52:12.495 -03:00] [INF] [57] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.15.7" request
[2024-10-30 00:54:07.030 -03:00] [INF] [63] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2024-10-30 00:54:19.030 -03:00] [INF] [62] Emby.Server.Implementations.Session.SessionWebSocketListener: Lost 1 WebSockets.
[2024-10-30 01:02:31.030 -03:00] [INF] [70] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Jellyfin for WebOS" "1.2.2" playing "A descoberta". Stopped at "2468932" ms
[2024-10-30 01:02:31.177 -03:00] [INF] [68] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "Amanda". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: False EnableAudioPlaybackTranscoding: True
[2024-10-30 01:04:16.035 -03:00] [INF] [72] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Limpar pasta de transcodificação" Completed after 0 minute(s) and 0 seconds
[2024-10-30 01:06:42.405 -03:00] [WRN] [78] Emby.Server.Implementations.HttpServer.WebSocketConnection: WS "192.168.15.7" error receiving data: "The remote party closed the WebSocket connection without completing the close handshake."
[2024-10-30 01:06:42.406 -03:00] [INF] [78] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.15.7" closed
[2024-10-30 01:06:42.405 -03:00] [ERR] [58] Microsoft.AspNetCore.Server.Kestrel: Unexpected exception in TimingPipeFlusher.FlushAsync.
System.IO.IOException: The write operation failed, see inner exception.
---> System.Net.Sockets.SocketException (110): Connection timed out
at System.IO.Pipelines.Pipe.WriteAsync(ReadOnlyMemory
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.DuplexPipeStream.WriteAsync(ReadOnlyMemory1 source, CancellationToken cancellationToken)
1 buffer, CancellationToken cancellationToken)
at System.Net.Security.SslStream.WriteSingleChunk[TIOAdapter](ReadOnlyMemory
at System.Net.Security.SslStream.WriteAsyncInternal[TIOAdapter](ReadOnlyMemory1 buffer, CancellationToken cancellationToken)
1 buffer, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Security.SslStream.WriteAsyncInternal[TIOAdapter](ReadOnlyMemory
at System.IO.Pipelines.StreamPipeWriter.FlushAsyncInternal(Boolean writeToStream, ReadOnlyMemory1 data, CancellationToken cancellationToken)
1.StateMachineBox
at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
1 flushTask, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.PipeWriterHelpers.ConcurrentPipeWriter.FlushAsyncAwaited(ValueTask
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.PipeWriterHelpers.TimingPipeFlusher.TimeFlushAsyncAwaited(ValueTask1 pipeFlushTask, MinDataRate minRate, IHttpOutputAborter outputAborter, CancellationToken cancellationToken)
1 source, CancellationToken cancellationToken)
[2024-10-30 01:06:42.408 -03:00] [ERR] [78] Microsoft.AspNetCore.Server.Kestrel: Unhandled exception while processing "0HN7OFIO0F919".
System.IO.IOException: The write operation failed, see inner exception.
---> System.Net.Sockets.SocketException (110): Connection timed out
at System.IO.Pipelines.Pipe.WriteAsync(ReadOnlyMemory
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.DuplexPipeStream.WriteAsync(ReadOnlyMemory1 source, CancellationToken cancellationToken)
1 buffer, CancellationToken cancellationToken)
at System.Net.Security.SslStream.WriteSingleChunk[TIOAdapter](ReadOnlyMemory
at System.Net.Security.SslStream.WriteAsyncInternal[TIOAdapter](ReadOnlyMemory1 buffer, CancellationToken cancellationToken)
1 buffer, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Security.SslStream.WriteAsyncInternal[TIOAdapter](ReadOnlyMemory
at System.IO.Pipelines.StreamPipeWriter.FlushAsyncInternal(Boolean writeToStream, ReadOnlyMemory1 data, CancellationToken cancellationToken)
1.StateMachineBox
at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
1.DisposeAsync()
at System.IO.Pipelines.StreamPipeWriter.CompleteAsync(Exception exception)
at System.IO.Pipelines.StreamPipeWriter.CompleteAsync(Exception exception)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.DuplexPipeStreamAdapter
at Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionMiddleware.OnConnectionAsync(ConnectionContext context)
at Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionMiddleware.OnConnectionAsync(ConnectionContext context)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.KestrelConnection1.ExecuteAsync()
1 payloadBuffer)
[2024-10-30 01:06:42.412 -03:00] [FTL] [57] 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.WriteFrameToSendBuffer(MessageOpcode opcode, Boolean endOfMessage, Boolean disableCompression, ReadOnlySpan
at System.Net.WebSockets.ManagedWebSocket.SendFrameFallbackAsync(MessageOpcode opcode, Boolean endOfMessage, Boolean disableCompression, ReadOnlyMemory1 payloadBuffer, Task lockTask, CancellationToken cancellationToken)
1 payloadBuffer, Task lockTask, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.WebSockets.ManagedWebSocket.SendFrameFallbackAsync(MessageOpcode opcode, Boolean endOfMessage, Boolean disableCompression, ReadOnlyMemory
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()
It seems that this error occurred after activating HTTPS, the only change I made was to activate HTTPS and change the HTTPS port
Does anyone have any idea how to solve it?