2026-02-03 00:52:40.0656 Ocelot.Logging.AspDotNetLogger.LogError Error: requestId: 80003c6c-0006-d700-b63f-84710c7967bb, previousRequestId: no previous request id, message: Exception caught in global error handler, exception message: The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived', exception stack: at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) RequestId: 80003c6c-0006-d700-b63f-84710c7967bb, exception: System.Net.WebSockets.WebSocketException (0x80004005): The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived' at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived' at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) ExecutionContext.RunInternal => d__4.MoveNext => AspDotNetLogger.LogError 2026-02-03 01:43:56.6970 Ocelot.Logging.AspDotNetLogger.LogError Error: requestId: 80003c6e-0006-d700-b63f-84710c7967bb, previousRequestId: no previous request id, message: Exception caught in global error handler, exception message: The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived', exception stack: at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) RequestId: 80003c6e-0006-d700-b63f-84710c7967bb, exception: System.Net.WebSockets.WebSocketException (0x80004005): The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived' at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived' at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) ExecutionContext.RunInternal => d__4.MoveNext => AspDotNetLogger.LogError 2026-02-03 03:17:40.1267 Ocelot.Logging.AspDotNetLogger.LogError Error: requestId: 80003ad3-0000-fd00-b63f-84710c7967bb, previousRequestId: no previous request id, message: Exception caught in global error handler, exception message: The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived', exception stack: at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) RequestId: 80003ad3-0000-fd00-b63f-84710c7967bb, exception: System.Net.WebSockets.WebSocketException (997): The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived' at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived' at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) ExecutionContext.RunInternal => d__4.MoveNext => AspDotNetLogger.LogError 2026-02-03 03:34:10.1071 Ocelot.Logging.AspDotNetLogger.LogError Error: requestId: 80000ca1-0001-fd00-b63f-84710c7967bb, previousRequestId: no previous request id, message: Exception caught in global error handler, exception message: The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived', exception stack: at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) RequestId: 80000ca1-0001-fd00-b63f-84710c7967bb, exception: System.Net.WebSockets.WebSocketException (0x80004005): The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived' at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived' at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) ExecutionContext.RunInternal => d__4.MoveNext => AspDotNetLogger.LogError 2026-02-03 04:28:08.2608 Ocelot.Logging.AspDotNetLogger.LogError Error: requestId: 80003c70-0006-d700-b63f-84710c7967bb, previousRequestId: no previous request id, message: Exception caught in global error handler, exception message: The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived', exception stack: at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) RequestId: 80003c70-0006-d700-b63f-84710c7967bb, exception: System.Net.WebSockets.WebSocketException (0x80004005): The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived' at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived' at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) ExecutionContext.RunInternal => d__4.MoveNext => AspDotNetLogger.LogError 2026-02-03 05:39:20.5861 Ocelot.Logging.AspDotNetLogger.LogError Error: requestId: 80005e39-0008-f300-b63f-84710c7967bb, previousRequestId: no previous request id, message: Exception caught in global error handler, exception message: The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived', exception stack: at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) RequestId: 80005e39-0008-f300-b63f-84710c7967bb, exception: System.Net.WebSockets.WebSocketException (997): The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived' at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived' at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) ExecutionContext.RunInternal => d__4.MoveNext => AspDotNetLogger.LogError 2026-02-03 06:52:27.0561 Ocelot.Logging.AspDotNetLogger.LogError Error: requestId: 80001c2f-000f-fb00-b63f-84710c7967bb, previousRequestId: no previous request id, message: Exception caught in global error handler, exception message: The remote party closed the WebSocket connection without completing the close handshake., exception stack: at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context), inner exception message Cannot access a disposed object. Object name: 'MemoryPool'., inner exception stack at System.Buffers.MemoryPoolThrowHelper.ThrowObjectDisposedException(ExceptionArgument argument) at System.Buffers.SlabMemoryPool.Lease() at System.IO.Pipelines.Pipe.AllocateSegment(Int32 sizeHint) at System.IO.Pipelines.Pipe.AllocateWriteHeadSynchronized(Int32 sizeHint) at Microsoft.AspNetCore.Server.IIS.Core.OutputProducer.WriteAsync(ReadOnlyMemory`1 buffer, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContext.WriteAsync(ReadOnlyMemory`1 memory, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.IIS.Core.HttpResponseStream.WriteAsync(ReadOnlyMemory`1 source, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.IIS.Core.HttpUpgradeStream.WriteAsync(ReadOnlyMemory`1 source, CancellationToken cancellationToken) at System.Net.WebSockets.ManagedWebSocket.SendFrameFallbackAsync(MessageOpcode opcode, Boolean endOfMessage, ReadOnlyMemory`1 payloadBuffer, CancellationToken cancellationToken) RequestId: 80001c2f-000f-fb00-b63f-84710c7967bb, exception: System.Net.WebSockets.WebSocketException (997): The remote party closed the WebSocket connection without completing the close handshake. ---> System.ObjectDisposedException: Cannot access a disposed object. Object name: 'MemoryPool'. at System.Buffers.MemoryPoolThrowHelper.ThrowObjectDisposedException(ExceptionArgument argument) at System.Buffers.SlabMemoryPool.Lease() at System.IO.Pipelines.Pipe.AllocateSegment(Int32 sizeHint) at System.IO.Pipelines.Pipe.AllocateWriteHeadSynchronized(Int32 sizeHint) at Microsoft.AspNetCore.Server.IIS.Core.OutputProducer.WriteAsync(ReadOnlyMemory`1 buffer, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContext.WriteAsync(ReadOnlyMemory`1 memory, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.IIS.Core.HttpResponseStream.WriteAsync(ReadOnlyMemory`1 source, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.IIS.Core.HttpUpgradeStream.WriteAsync(ReadOnlyMemory`1 source, CancellationToken cancellationToken) at System.Net.WebSockets.ManagedWebSocket.SendFrameFallbackAsync(MessageOpcode opcode, Boolean endOfMessage, ReadOnlyMemory`1 payloadBuffer, CancellationToken cancellationToken) at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) The remote party closed the WebSocket connection without completing the close handshake. at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) ExecutionContext.RunInternal => d__4.MoveNext => AspDotNetLogger.LogError 2026-02-03 06:52:27.0894 Panda.ApiGateway.ErrorHandlingMiddleware.HandleExceptionAsync Error: ErrorMsg:An error occurred while writing to logger(s). (Cannot access a disposed object. Object name: 'EventLogInternal'.); StackTrace: at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.OcelotMiddlewareExtensions.<>c__DisplayClass5_0.<b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Microsoft.AspNetCore.MiddlewareAnalysis.AnalysisMiddleware.Invoke(HttpContext httpContext) at Microsoft.AspNetCore.MiddlewareAnalysis.AnalysisMiddleware.Invoke(HttpContext httpContext) at Panda.ApiGateway.ErrorHandlingMiddleware.InvokeAsync(HttpContext context) ExecutionContext.RunInternal => d__4.MoveNext => ErrorHandlingMiddleware.HandleExceptionAsync 2026-02-03 06:52:27.1597 Microsoft.AspNetCore.Server.IIS.Core.IISHttpContext+Log.ApplicationError Error: Connection ID "18086456169555041326", Request ID "80001c2f-000f-fb00-b63f-84710c7967bb": An unhandled exception was thrown by the application. Cannot access a disposed object. Object name: 'EventLogInternal'. at System.Diagnostics.EventLogInternal.OpenForWrite(String currentMachineName) at System.Diagnostics.EventLogInternal.InternalWriteEvent(UInt32 eventID, UInt16 category, EventLogEntryType type, String[] strings, Byte[] rawData, String currentMachineName) at System.Diagnostics.EventLogInternal.WriteEvent(EventInstance instance, Byte[] data, Object[] values) at System.Diagnostics.EventLog.WriteEvent(EventInstance instance, Object[] values) at Microsoft.Extensions.Logging.EventLog.WindowsEventLog.WriteEntry(String message, EventLogEntryType type, Int32 eventID, Int16 category) at Microsoft.Extensions.Logging.EventLog.EventLogLogger.WriteMessage(String message, EventLogEntryType eventLogEntryType, Int32 eventId) at Microsoft.Extensions.Logging.EventLog.EventLogLogger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter) at Microsoft.Extensions.Logging.Logger.g__LoggerLog|12_0[TState](LogLevel logLevel, EventId eventId, ILogger logger, Exception exception, Func`3 formatter, List`1& exceptions, TState& state) d__2.MoveNext => IISHttpContext.ReportApplicationError => Log.ApplicationError 2026-02-03 06:52:27.1597 Microsoft.AspNetCore.Server.IIS.Core.IISHttpContext+d__165.MoveNext Error: Unexpected exception in IISHttpContext.HandleRequest. Cannot access a disposed object. Object name: 'EventLogInternal'. at System.Diagnostics.EventLogInternal.OpenForWrite(String currentMachineName) at System.Diagnostics.EventLogInternal.InternalWriteEvent(UInt32 eventID, UInt16 category, EventLogEntryType type, String[] strings, Byte[] rawData, String currentMachineName) at System.Diagnostics.EventLogInternal.WriteEvent(EventInstance instance, Byte[] data, Object[] values) at System.Diagnostics.EventLog.WriteEvent(EventInstance instance, Object[] values) at Microsoft.Extensions.Logging.EventLog.WindowsEventLog.WriteEntry(String message, EventLogEntryType type, Int32 eventID, Int16 category) at Microsoft.Extensions.Logging.EventLog.EventLogLogger.WriteMessage(String message, EventLogEntryType eventLogEntryType, Int32 eventId) at Microsoft.Extensions.Logging.EventLog.EventLogLogger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter) at Microsoft.Extensions.Logging.Logger.g__LoggerLog|12_0[TState](LogLevel logLevel, EventId eventId, ILogger logger, Exception exception, Func`3 formatter, List`1& exceptions, TState& state) AsyncStateMachineBox`1.MoveNext => ExecutionContext.RunInternal => d__165.MoveNext 2026-02-03 06:52:27.3509 Ocelot.Logging.AspDotNetLogger.LogError Error: requestId: 800031e9-0006-de00-b63f-84710c7967bb, previousRequestId: no previous request id, message: Exception caught in global error handler, exception message: The remote party closed the WebSocket connection without completing the close handshake., exception stack: at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context), inner exception message Cannot access a disposed object. Object name: 'MemoryPool'., inner exception stack at System.Buffers.MemoryPoolThrowHelper.ThrowObjectDisposedException(ExceptionArgument argument) at System.Buffers.SlabMemoryPool.Lease() at System.IO.Pipelines.Pipe.AllocateSegment(Int32 sizeHint) at System.IO.Pipelines.Pipe.AllocateWriteHeadSynchronized(Int32 sizeHint) at Microsoft.AspNetCore.Server.IIS.Core.OutputProducer.WriteAsync(ReadOnlyMemory`1 buffer, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContext.WriteAsync(ReadOnlyMemory`1 memory, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.IIS.Core.HttpResponseStream.WriteAsync(ReadOnlyMemory`1 source, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.IIS.Core.HttpUpgradeStream.WriteAsync(ReadOnlyMemory`1 source, CancellationToken cancellationToken) at System.Net.WebSockets.ManagedWebSocket.SendFrameFallbackAsync(MessageOpcode opcode, Boolean endOfMessage, ReadOnlyMemory`1 payloadBuffer, CancellationToken cancellationToken) RequestId: 800031e9-0006-de00-b63f-84710c7967bb, exception: System.Net.WebSockets.WebSocketException (0x80004005): The remote party closed the WebSocket connection without completing the close handshake. ---> System.ObjectDisposedException: Cannot access a disposed object. Object name: 'MemoryPool'. at System.Buffers.MemoryPoolThrowHelper.ThrowObjectDisposedException(ExceptionArgument argument) at System.Buffers.SlabMemoryPool.Lease() at System.IO.Pipelines.Pipe.AllocateSegment(Int32 sizeHint) at System.IO.Pipelines.Pipe.AllocateWriteHeadSynchronized(Int32 sizeHint) at Microsoft.AspNetCore.Server.IIS.Core.OutputProducer.WriteAsync(ReadOnlyMemory`1 buffer, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContext.WriteAsync(ReadOnlyMemory`1 memory, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.IIS.Core.HttpResponseStream.WriteAsync(ReadOnlyMemory`1 source, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.IIS.Core.HttpUpgradeStream.WriteAsync(ReadOnlyMemory`1 source, CancellationToken cancellationToken) at System.Net.WebSockets.ManagedWebSocket.SendFrameFallbackAsync(MessageOpcode opcode, Boolean endOfMessage, ReadOnlyMemory`1 payloadBuffer, CancellationToken cancellationToken) at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) The remote party closed the WebSocket connection without completing the close handshake. at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) ExecutionContext.RunInternal => d__4.MoveNext => AspDotNetLogger.LogError 2026-02-03 06:52:27.3509 Panda.ApiGateway.ErrorHandlingMiddleware.HandleExceptionAsync Error: ErrorMsg:An error occurred while writing to logger(s). (Cannot access a disposed object. Object name: 'EventLogInternal'.); StackTrace: at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.OcelotMiddlewareExtensions.<>c__DisplayClass5_0.<b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Microsoft.AspNetCore.MiddlewareAnalysis.AnalysisMiddleware.Invoke(HttpContext httpContext) at Microsoft.AspNetCore.MiddlewareAnalysis.AnalysisMiddleware.Invoke(HttpContext httpContext) at Panda.ApiGateway.ErrorHandlingMiddleware.InvokeAsync(HttpContext context) ExecutionContext.RunInternal => d__4.MoveNext => ErrorHandlingMiddleware.HandleExceptionAsync 2026-02-03 06:52:27.3509 Microsoft.AspNetCore.Server.IIS.Core.IISHttpContext+Log.ApplicationError Error: Connection ID "15996785903800431080", Request ID "800031e9-0006-de00-b63f-84710c7967bb": An unhandled exception was thrown by the application. Cannot access a disposed object. Object name: 'EventLogInternal'. at System.Diagnostics.EventLogInternal.OpenForWrite(String currentMachineName) at System.Diagnostics.EventLogInternal.InternalWriteEvent(UInt32 eventID, UInt16 category, EventLogEntryType type, String[] strings, Byte[] rawData, String currentMachineName) at System.Diagnostics.EventLogInternal.WriteEvent(EventInstance instance, Byte[] data, Object[] values) at System.Diagnostics.EventLog.WriteEvent(EventInstance instance, Object[] values) at Microsoft.Extensions.Logging.EventLog.WindowsEventLog.WriteEntry(String message, EventLogEntryType type, Int32 eventID, Int16 category) at Microsoft.Extensions.Logging.EventLog.EventLogLogger.WriteMessage(String message, EventLogEntryType eventLogEntryType, Int32 eventId) at Microsoft.Extensions.Logging.EventLog.EventLogLogger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter) at Microsoft.Extensions.Logging.Logger.g__LoggerLog|12_0[TState](LogLevel logLevel, EventId eventId, ILogger logger, Exception exception, Func`3 formatter, List`1& exceptions, TState& state) d__2.MoveNext => IISHttpContext.ReportApplicationError => Log.ApplicationError 2026-02-03 06:52:27.3509 Microsoft.AspNetCore.Server.IIS.Core.IISHttpContext+d__165.MoveNext Error: Unexpected exception in IISHttpContext.HandleRequest. Cannot access a disposed object. Object name: 'EventLogInternal'. at System.Diagnostics.EventLogInternal.OpenForWrite(String currentMachineName) at System.Diagnostics.EventLogInternal.InternalWriteEvent(UInt32 eventID, UInt16 category, EventLogEntryType type, String[] strings, Byte[] rawData, String currentMachineName) at System.Diagnostics.EventLogInternal.WriteEvent(EventInstance instance, Byte[] data, Object[] values) at System.Diagnostics.EventLog.WriteEvent(EventInstance instance, Object[] values) at Microsoft.Extensions.Logging.EventLog.WindowsEventLog.WriteEntry(String message, EventLogEntryType type, Int32 eventID, Int16 category) at Microsoft.Extensions.Logging.EventLog.EventLogLogger.WriteMessage(String message, EventLogEntryType eventLogEntryType, Int32 eventId) at Microsoft.Extensions.Logging.EventLog.EventLogLogger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter) at Microsoft.Extensions.Logging.Logger.g__LoggerLog|12_0[TState](LogLevel logLevel, EventId eventId, ILogger logger, Exception exception, Func`3 formatter, List`1& exceptions, TState& state) AsyncStateMachineBox`1.MoveNext => ExecutionContext.RunInternal => d__165.MoveNext 2026-02-03 06:52:27.4904 Ocelot.Logging.AspDotNetLogger.LogError Error: requestId: 8000092a-0003-e500-b63f-84710c7967bb, previousRequestId: no previous request id, message: Exception caught in global error handler, exception message: The remote party closed the WebSocket connection without completing the close handshake., exception stack: at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context), inner exception message Cannot access a disposed object. Object name: 'MemoryPool'., inner exception stack at System.Buffers.MemoryPoolThrowHelper.ThrowObjectDisposedException(ExceptionArgument argument) at System.Buffers.SlabMemoryPool.Lease() at System.IO.Pipelines.Pipe.AllocateSegment(Int32 sizeHint) at System.IO.Pipelines.Pipe.AllocateWriteHeadSynchronized(Int32 sizeHint) at Microsoft.AspNetCore.Server.IIS.Core.OutputProducer.WriteAsync(ReadOnlyMemory`1 buffer, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContext.WriteAsync(ReadOnlyMemory`1 memory, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.IIS.Core.HttpResponseStream.WriteAsync(ReadOnlyMemory`1 source, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.IIS.Core.HttpUpgradeStream.WriteAsync(ReadOnlyMemory`1 source, CancellationToken cancellationToken) at System.Net.WebSockets.ManagedWebSocket.SendFrameFallbackAsync(MessageOpcode opcode, Boolean endOfMessage, ReadOnlyMemory`1 payloadBuffer, CancellationToken cancellationToken) RequestId: 8000092a-0003-e500-b63f-84710c7967bb, exception: System.Net.WebSockets.WebSocketException (0x80004005): The remote party closed the WebSocket connection without completing the close handshake. ---> System.ObjectDisposedException: Cannot access a disposed object. Object name: 'MemoryPool'. at System.Buffers.MemoryPoolThrowHelper.ThrowObjectDisposedException(ExceptionArgument argument) at System.Buffers.SlabMemoryPool.Lease() at System.IO.Pipelines.Pipe.AllocateSegment(Int32 sizeHint) at System.IO.Pipelines.Pipe.AllocateWriteHeadSynchronized(Int32 sizeHint) at Microsoft.AspNetCore.Server.IIS.Core.OutputProducer.WriteAsync(ReadOnlyMemory`1 buffer, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContext.WriteAsync(ReadOnlyMemory`1 memory, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.IIS.Core.HttpResponseStream.WriteAsync(ReadOnlyMemory`1 source, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.IIS.Core.HttpUpgradeStream.WriteAsync(ReadOnlyMemory`1 source, CancellationToken cancellationToken) at System.Net.WebSockets.ManagedWebSocket.SendFrameFallbackAsync(MessageOpcode opcode, Boolean endOfMessage, ReadOnlyMemory`1 payloadBuffer, CancellationToken cancellationToken) at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) The remote party closed the WebSocket connection without completing the close handshake. at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) ExecutionContext.RunInternal => d__4.MoveNext => AspDotNetLogger.LogError 2026-02-03 06:52:27.4904 Panda.ApiGateway.ErrorHandlingMiddleware.HandleExceptionAsync Error: ErrorMsg:An error occurred while writing to logger(s). (Cannot access a disposed object. Object name: 'EventLogInternal'.); StackTrace: at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.OcelotMiddlewareExtensions.<>c__DisplayClass5_0.<b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Microsoft.AspNetCore.MiddlewareAnalysis.AnalysisMiddleware.Invoke(HttpContext httpContext) at Microsoft.AspNetCore.MiddlewareAnalysis.AnalysisMiddleware.Invoke(HttpContext httpContext) at Panda.ApiGateway.ErrorHandlingMiddleware.InvokeAsync(HttpContext context) ExecutionContext.RunInternal => d__4.MoveNext => ErrorHandlingMiddleware.HandleExceptionAsync 2026-02-03 06:52:27.4904 Microsoft.AspNetCore.Server.IIS.Core.IISHttpContext+Log.ApplicationError Error: Connection ID "16501189049181014313", Request ID "8000092a-0003-e500-b63f-84710c7967bb": An unhandled exception was thrown by the application. Cannot access a disposed object. Object name: 'EventLogInternal'. at System.Diagnostics.EventLogInternal.OpenForWrite(String currentMachineName) at System.Diagnostics.EventLogInternal.InternalWriteEvent(UInt32 eventID, UInt16 category, EventLogEntryType type, String[] strings, Byte[] rawData, String currentMachineName) at System.Diagnostics.EventLogInternal.WriteEvent(EventInstance instance, Byte[] data, Object[] values) at System.Diagnostics.EventLog.WriteEvent(EventInstance instance, Object[] values) at Microsoft.Extensions.Logging.EventLog.WindowsEventLog.WriteEntry(String message, EventLogEntryType type, Int32 eventID, Int16 category) at Microsoft.Extensions.Logging.EventLog.EventLogLogger.WriteMessage(String message, EventLogEntryType eventLogEntryType, Int32 eventId) at Microsoft.Extensions.Logging.EventLog.EventLogLogger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter) at Microsoft.Extensions.Logging.Logger.g__LoggerLog|12_0[TState](LogLevel logLevel, EventId eventId, ILogger logger, Exception exception, Func`3 formatter, List`1& exceptions, TState& state) d__2.MoveNext => IISHttpContext.ReportApplicationError => Log.ApplicationError 2026-02-03 06:52:27.4904 Microsoft.AspNetCore.Server.IIS.Core.IISHttpContext+d__165.MoveNext Error: Unexpected exception in IISHttpContext.HandleRequest. Cannot access a disposed object. Object name: 'EventLogInternal'. at System.Diagnostics.EventLogInternal.OpenForWrite(String currentMachineName) at System.Diagnostics.EventLogInternal.InternalWriteEvent(UInt32 eventID, UInt16 category, EventLogEntryType type, String[] strings, Byte[] rawData, String currentMachineName) at System.Diagnostics.EventLogInternal.WriteEvent(EventInstance instance, Byte[] data, Object[] values) at System.Diagnostics.EventLog.WriteEvent(EventInstance instance, Object[] values) at Microsoft.Extensions.Logging.EventLog.WindowsEventLog.WriteEntry(String message, EventLogEntryType type, Int32 eventID, Int16 category) at Microsoft.Extensions.Logging.EventLog.EventLogLogger.WriteMessage(String message, EventLogEntryType eventLogEntryType, Int32 eventId) at Microsoft.Extensions.Logging.EventLog.EventLogLogger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter) at Microsoft.Extensions.Logging.Logger.g__LoggerLog|12_0[TState](LogLevel logLevel, EventId eventId, ILogger logger, Exception exception, Func`3 formatter, List`1& exceptions, TState& state) AsyncStateMachineBox`1.MoveNext => ExecutionContext.RunInternal => d__165.MoveNext 2026-02-03 09:10:27.7732 Ocelot.Logging.AspDotNetLogger.LogError Error: requestId: 800031eb-0006-de00-b63f-84710c7967bb, previousRequestId: no previous request id, message: Exception caught in global error handler, exception message: The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived', exception stack: at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) RequestId: 800031eb-0006-de00-b63f-84710c7967bb, exception: System.Net.WebSockets.WebSocketException (0x80004005): The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived' at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived' at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) ExecutionContext.RunInternal => d__4.MoveNext => AspDotNetLogger.LogError 2026-02-03 09:38:57.4630 Ocelot.Logging.AspDotNetLogger.LogError Error: requestId: 800049dd-000a-f200-b63f-84710c7967bb, previousRequestId: no previous request id, message: Exception caught in global error handler, exception message: The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived', exception stack: at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) RequestId: 800049dd-000a-f200-b63f-84710c7967bb, exception: System.Net.WebSockets.WebSocketException (0x80004005): The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived' at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived' at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) ExecutionContext.RunInternal => d__4.MoveNext => AspDotNetLogger.LogError 2026-02-03 10:55:27.7651 Ocelot.Logging.AspDotNetLogger.LogError Error: requestId: 80004646-000a-f500-b63f-84710c7967bb, previousRequestId: no previous request id, message: Exception caught in global error handler, exception message: The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived', exception stack: at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) RequestId: 80004646-000a-f500-b63f-84710c7967bb, exception: System.Net.WebSockets.WebSocketException (0x80004005): The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived' at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived' at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) ExecutionContext.RunInternal => d__4.MoveNext => AspDotNetLogger.LogError 2026-02-03 12:25:11.8752 Ocelot.Logging.AspDotNetLogger.LogError Error: requestId: 80005e69-0008-f300-b63f-84710c7967bb, previousRequestId: no previous request id, message: Exception caught in global error handler, exception message: The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived', exception stack: at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) RequestId: 80005e69-0008-f300-b63f-84710c7967bb, exception: System.Net.WebSockets.WebSocketException (997): The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived' at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived' at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) ExecutionContext.RunInternal => d__4.MoveNext => AspDotNetLogger.LogError 2026-02-03 18:25:40.4906 Ocelot.Logging.AspDotNetLogger.LogError Error: requestId: 80000076-000d-f000-b63f-84710c7967bb, previousRequestId: no previous request id, message: Exception caught in global error handler, exception message: The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived', exception stack: at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) RequestId: 80000076-000d-f000-b63f-84710c7967bb, exception: System.Net.WebSockets.WebSocketException (0x80004005): The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived' at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived' at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) ExecutionContext.RunInternal => d__4.MoveNext => AspDotNetLogger.LogError 2026-02-03 21:25:47.0326 Ocelot.Logging.AspDotNetLogger.LogError Error: requestId: 80005c06-0004-fe00-b63f-84710c7967bb, previousRequestId: no previous request id, message: Exception caught in global error handler, exception message: The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived', exception stack: at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) RequestId: 80005c06-0004-fe00-b63f-84710c7967bb, exception: System.Net.WebSockets.WebSocketException (0x80004005): The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived' at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived' at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) ExecutionContext.RunInternal => d__4.MoveNext => AspDotNetLogger.LogError 2026-02-03 21:39:16.9373 Ocelot.Logging.AspDotNetLogger.LogError Error: requestId: 80005308-0000-f200-b63f-84710c7967bb, previousRequestId: no previous request id, message: Exception caught in global error handler, exception message: The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived', exception stack: at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) RequestId: 80005308-0000-f200-b63f-84710c7967bb, exception: System.Net.WebSockets.WebSocketException (0x80004005): The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived' at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived' at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) ExecutionContext.RunInternal => d__4.MoveNext => AspDotNetLogger.LogError 2026-02-03 22:18:17.0150 Ocelot.Logging.AspDotNetLogger.LogError Error: requestId: 800064fb-0008-f700-b63f-84710c7967bb, previousRequestId: no previous request id, message: Exception caught in global error handler, exception message: The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived', exception stack: at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) RequestId: 800064fb-0008-f700-b63f-84710c7967bb, exception: System.Net.WebSockets.WebSocketException (0x80004005): The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived' at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived' at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) ExecutionContext.RunInternal => d__4.MoveNext => AspDotNetLogger.LogError 2026-02-03 23:25:36.1587 Ocelot.Logging.AspDotNetLogger.LogError Error: requestId: 8000396f-0004-ef00-b63f-84710c7967bb, previousRequestId: no previous request id, message: Exception caught in global error handler, exception message: The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived', exception stack: at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) RequestId: 8000396f-0004-ef00-b63f-84710c7967bb, exception: System.Net.WebSockets.WebSocketException (0x80004005): The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived' at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived' at Ocelot.Middleware.Pipeline.OcelotPipelineBuilderExtensions.<>c__DisplayClass5_2.<b__3>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Ocelot.Middleware.Pipeline.MapWhenMiddleware.Invoke(DownstreamContext context) at Ocelot.Errors.Middleware.ExceptionHandlerMiddleware.Invoke(DownstreamContext context) ExecutionContext.RunInternal => d__4.MoveNext => AspDotNetLogger.LogError