2026-02-02 00:35:26.6679 Ocelot.Logging.AspDotNetLogger.LogError Error: requestId: 8000517e-000a-fa00-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: 8000517e-000a-fa00-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-02 01:34:56.7635 Ocelot.Logging.AspDotNetLogger.LogError Error: requestId: 80002816-000a-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: 80002816-000a-f300-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-02 01:52:24.6215 Ocelot.Logging.AspDotNetLogger.LogError Error: requestId: 80005499-0006-d500-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: 80005499-0006-d500-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-02 01:52:24.6561 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-02 01:52:24.7442 Microsoft.AspNetCore.Server.IIS.Core.IISHttpContext+Log.ApplicationError Error: Connection ID "15348267557459088536", Request ID "80005499-0006-d500-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-02 01:52:24.7442 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-02 01:52:24.7802 Ocelot.Logging.AspDotNetLogger.LogError Error: requestId: 8000336c-000c-f300-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: 8000336c-000c-f300-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-02 01:52:24.7802 Ocelot.Logging.AspDotNetLogger.LogError Error: requestId: 8000488f-000a-f200-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: 8000488f-000a-f200-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-02 01:52:24.7802 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-02 01:52:24.7802 Ocelot.Logging.AspDotNetLogger.LogError Error: requestId: 80005299-0000-f200-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: 80005299-0000-f200-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-02 01:52:24.7802 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-02 01:52:24.7996 Microsoft.AspNetCore.Server.IIS.Core.IISHttpContext+Log.ApplicationError Error: Connection ID "17509995404366721899", Request ID "8000336c-000c-f300-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-02 01:52:24.7996 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-02 01:52:24.7996 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-02 01:52:24.7996 Microsoft.AspNetCore.Server.IIS.Core.IISHttpContext+Log.ApplicationError Error: Connection ID "17437937801738864782", Request ID "8000488f-000a-f200-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-02 01:52:24.7996 Microsoft.AspNetCore.Server.IIS.Core.IISHttpContext+Log.ApplicationError Error: Connection ID "17437937758789194392", Request ID "80005299-0000-f200-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-02 01:52:24.8122 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-02 01:52:24.8122 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-02 02:54:25.0634 Ocelot.Logging.AspDotNetLogger.LogError Error: requestId: 800062a8-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: 800062a8-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-02 04:16:00.3146 Ocelot.Logging.AspDotNetLogger.LogError Error: requestId: 800062aa-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: 800062aa-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-02 05:28:29.7939 Ocelot.Logging.AspDotNetLogger.LogError Error: requestId: 8000549b-0006-d500-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: 8000549b-0006-d500-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-02 05:28:29.8316 Ocelot.Logging.AspDotNetLogger.LogError Error: requestId: 80003059-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, CloseSent', 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: 80003059-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, CloseSent' 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, CloseSent' 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-02 05:28:32.1745 Ocelot.Logging.AspDotNetLogger.LogError Error: requestId: 80002eff-0008-ed00-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: 80002eff-0008-ed00-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-02 05:28:32.1907 Ocelot.Logging.AspDotNetLogger.LogError Error: requestId: 80003b68-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: 80003b68-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-02 10:47:30.2571 Ocelot.Logging.AspDotNetLogger.LogError Error: requestId: 800052e0-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: 800052e0-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-02 12:12:30.2351 Ocelot.Logging.AspDotNetLogger.LogError Error: requestId: 80006153-0000-f800-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: 80006153-0000-f800-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-02 13:31:19.1985 Ocelot.Logging.AspDotNetLogger.LogError Error: requestId: 8000309d-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: 8000309d-0006-de00-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-02 21:01:41.7547 Ocelot.Logging.AspDotNetLogger.LogError Error: requestId: 80003b4e-0004-fa00-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: 80003b4e-0004-fa00-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