{"Timestamp":"2025-01-14T00:53:14.7143379+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Started {@Timestamp}","Properties":{"Timestamp":"2025-01-14T00:53:14.7143209Z"}} {"Timestamp":"2025-01-14T00:53:14.7237631+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Completed {@Timestamp}","Properties":{"Timestamp":"2025-01-14T00:53:14.7237463Z"}} {"Timestamp":"2025-01-14T01:53:14.7212183+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Started {@Timestamp}","Properties":{"Timestamp":"2025-01-14T01:53:14.7212002Z"}} {"Timestamp":"2025-01-14T01:53:14.7302074+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Completed {@Timestamp}","Properties":{"Timestamp":"2025-01-14T01:53:14.7301878Z"}} {"Timestamp":"2025-01-14T02:53:14.7122147+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Started {@Timestamp}","Properties":{"Timestamp":"2025-01-14T02:53:14.7121966Z"}} {"Timestamp":"2025-01-14T02:53:14.7253889+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Completed {@Timestamp}","Properties":{"Timestamp":"2025-01-14T02:53:14.7253521Z"}} {"Timestamp":"2025-01-14T03:53:14.7065753+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Started {@Timestamp}","Properties":{"Timestamp":"2025-01-14T03:53:14.7065606Z"}} {"Timestamp":"2025-01-14T03:53:14.7138181+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Completed {@Timestamp}","Properties":{"Timestamp":"2025-01-14T03:53:14.7138035Z"}} {"Timestamp":"2025-01-14T04:53:14.7149162+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Started {@Timestamp}","Properties":{"Timestamp":"2025-01-14T04:53:14.7146686Z"}} {"Timestamp":"2025-01-14T04:53:14.7244493+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Completed {@Timestamp}","Properties":{"Timestamp":"2025-01-14T04:53:14.7244278Z"}} {"Timestamp":"2025-01-14T05:53:14.7098754+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Started {@Timestamp}","Properties":{"Timestamp":"2025-01-14T05:53:14.7098592Z"}} {"Timestamp":"2025-01-14T05:53:14.7193294+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Completed {@Timestamp}","Properties":{"Timestamp":"2025-01-14T05:53:14.7193031Z"}} {"Timestamp":"2025-01-14T06:53:14.7136889+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Started {@Timestamp}","Properties":{"Timestamp":"2025-01-14T06:53:14.7136737Z"}} {"Timestamp":"2025-01-14T06:53:14.7227864+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Completed {@Timestamp}","Properties":{"Timestamp":"2025-01-14T06:53:14.7227628Z"}} {"Timestamp":"2025-01-14T07:51:06.5754780+00:00","Level":"Information","MessageTemplate":"User Signed in Successfully:{@Username}, {@Email} ,{@TimestampUTC} ","TraceId":"5bf60b0dc867c9f850e0f273110e1ab3","SpanId":"20fe9a596d531c27","Properties":{"Username":"patient test","Email":"patient@gmail.com","TimestampUTC":"2025-01-14T07:51:06.5754552Z","ActionName":"UserController.Signin ","RequestPath":"/api/User/Signin"}} {"Timestamp":"2025-01-14T07:51:06.5773052+00:00","Level":"Error","MessageTemplate":"Failed executing DbCommand ({elapsed}ms) [Parameters=[{parameters}], CommandType='{commandType}', CommandTimeout='{commandTimeout}']{newLine}{commandText}","TraceId":"5bf60b0dc867c9f850e0f273110e1ab3","SpanId":"20fe9a596d531c27","Properties":{"elapsed":"74","parameters":"@__user_Id_0='?' (Size = 255)","commandType":"Text","commandTimeout":30,"newLine":"\n","commandText":"SELECT `a`.`Id`, `a`.`ClaimType`, `a`.`ClaimValue`, `a`.`UserId`\nFROM `AspNetUserClaims` AS `a`\nWHERE `a`.`UserId` = @__user_Id_0","EventId":{"Id":20102,"Name":"Microsoft.EntityFrameworkCore.Database.Command.CommandError"},"ActionName":"UserController.Signin ","RequestPath":"/api/User/Signin"}} {"Timestamp":"2025-01-14T07:51:06.5786125+00:00","Level":"Error","MessageTemplate":"An exception occurred while iterating over the results of a query for context type '{contextType}'.{newline}{error}","TraceId":"5bf60b0dc867c9f850e0f273110e1ab3","SpanId":"20fe9a596d531c27","Exception":"System.NullReferenceException: Object reference not set to an instance of an object.\n at MySqlConnector.MySqlDataReader.ActivateResultSet(CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 133\n at MySqlConnector.MySqlDataReader.CreateAsync(CommandListPosition commandListPosition, ICommandPayloadCreator payloadCreator, IDictionary`2 cachedProcedures, IMySqlCommand command, CommandBehavior behavior, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 493\n at MySqlConnector.Core.CommandExecutor.ExecuteReaderAsync(IReadOnlyList`1 commands, ICommandPayloadCreator payloadCreator, CommandBehavior behavior, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/CommandExecutor.cs:line 77\n at MySqlConnector.MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 345\n at MySqlConnector.MySqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 337\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)\n at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()","Properties":{"contextType":"OnlineClinic.DAL.OC_DBContext","newline":"\n","error":"System.NullReferenceException: Object reference not set to an instance of an object.\n at MySqlConnector.MySqlDataReader.ActivateResultSet(CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 133\n at MySqlConnector.MySqlDataReader.CreateAsync(CommandListPosition commandListPosition, ICommandPayloadCreator payloadCreator, IDictionary`2 cachedProcedures, IMySqlCommand command, CommandBehavior behavior, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 493\n at MySqlConnector.Core.CommandExecutor.ExecuteReaderAsync(IReadOnlyList`1 commands, ICommandPayloadCreator payloadCreator, CommandBehavior behavior, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/CommandExecutor.cs:line 77\n at MySqlConnector.MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 345\n at MySqlConnector.MySqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 337\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)\n at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()","EventId":{"Id":10100,"Name":"Microsoft.EntityFrameworkCore.Query.QueryIterationFailed"},"ActionName":"UserController.Signin ","RequestPath":"/api/User/Signin"}} {"Timestamp":"2025-01-14T07:51:10.5183475+00:00","Level":"Error","MessageTemplate":"An error occurred using the connection to database '{database}' on server '{server}'.","TraceId":"e25a10522f1ad3ef58ec6c78a6aa5ec7","SpanId":"5850962bcdd9b2bd","Properties":{"database":"sokoun","server":"localhost","EventId":{"Id":20004,"Name":"Microsoft.EntityFrameworkCore.Database.Connection.ConnectionError"},"ActionName":"BookSessionController.GetBookSessionByPatientId ","RequestPath":"/api/BookSession/GetAllBookSessionByPatient"}} {"Timestamp":"2025-01-14T07:51:10.5194391+00:00","Level":"Error","MessageTemplate":"An exception occurred while iterating over the results of a query for context type '{contextType}'.{newline}{error}","TraceId":"e25a10522f1ad3ef58ec6c78a6aa5ec7","SpanId":"5850962bcdd9b2bd","Exception":"MySqlConnector.MySqlProtocolException: Packet received out-of-order. Expected 1; got 2.\n at MySqlConnector.Protocol.Serialization.ProtocolUtility.g__AddContinuation|5_0(ValueTask`1 readPacketTask, BufferedByteReader bufferedByteReader, IByteHandler byteHandler, Func`1 getNextSequenceNumber, ArraySegmentHolder`1 previousPayloads, ProtocolErrorBehavior protocolErrorBehavior, IOBehavior ioBehavior) in /_/src/MySqlConnector/Protocol/Serialization/ProtocolUtility.cs:line 498\n at MySqlConnector.Core.ServerSession.ReceiveReplyAsyncAwaited(ValueTask`1 task) in /_/src/MySqlConnector/Core/ServerSession.cs:line 964\n at MySqlConnector.Core.ServerSession.TryResetConnectionAsync(ConnectionSettings cs, MySqlConnection connection, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 696\n at MySqlConnector.Core.ConnectionPool.GetSessionAsync(MySqlConnection connection, Int32 startTickCount, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ConnectionPool.cs:line 130\n at MySqlConnector.Core.ConnectionPool.GetSessionAsync(MySqlConnection connection, Int32 startTickCount, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ConnectionPool.cs:line 130\n at MySqlConnector.MySqlConnection.CreateSessionAsync(ConnectionPool pool, Int32 startTickCount, Activity activity, Nullable`1 ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlConnection.cs:line 966\n at MySqlConnector.MySqlConnection.OpenAsync(Nullable`1 ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlConnection.cs:line 457\n at MySqlConnector.MySqlConnection.Open() in /_/src/MySqlConnector/MySqlConnection.cs:line 382\n at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)\n at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)\n at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlRelationalConnection.Open(Boolean errorsExpected)\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)\n at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)\n at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)\n at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()","Properties":{"contextType":"OnlineClinic.DAL.OC_DBContext","newline":"\n","error":"MySqlConnector.MySqlProtocolException: Packet received out-of-order. Expected 1; got 2.\n at MySqlConnector.Protocol.Serialization.ProtocolUtility.g__AddContinuation|5_0(ValueTask`1 readPacketTask, BufferedByteReader bufferedByteReader, IByteHandler byteHandler, Func`1 getNextSequenceNumber, ArraySegmentHolder`1 previousPayloads, ProtocolErrorBehavior protocolErrorBehavior, IOBehavior ioBehavior) in /_/src/MySqlConnector/Protocol/Serialization/ProtocolUtility.cs:line 498\n at MySqlConnector.Core.ServerSession.ReceiveReplyAsyncAwaited(ValueTask`1 task) in /_/src/MySqlConnector/Core/ServerSession.cs:line 964\n at MySqlConnector.Core.ServerSession.TryResetConnectionAsync(ConnectionSettings cs, MySqlConnection connection, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 696\n at MySqlConnector.Core.ConnectionPool.GetSessionAsync(MySqlConnection connection, Int32 startTickCount, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ConnectionPool.cs:line 130\n at MySqlConnector.Core.ConnectionPool.GetSessionAsync(MySqlConnection connection, Int32 startTickCount, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ConnectionPool.cs:line 130\n at MySqlConnector.MySqlConnection.CreateSessionAsync(ConnectionPool pool, Int32 startTickCount, Activity activity, Nullable`1 ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlConnection.cs:line 966\n at MySqlConnector.MySqlConnection.OpenAsync(Nullable`1 ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlConnection.cs:line 457\n at MySqlConnector.MySqlConnection.Open() in /_/src/MySqlConnector/MySqlConnection.cs:line 382\n at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)\n at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)\n at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlRelationalConnection.Open(Boolean errorsExpected)\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)\n at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)\n at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)\n at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()","EventId":{"Id":10100,"Name":"Microsoft.EntityFrameworkCore.Query.QueryIterationFailed"},"ActionName":"BookSessionController.GetBookSessionByPatientId ","RequestPath":"/api/BookSession/GetAllBookSessionByPatient"}} {"Timestamp":"2025-01-14T07:53:14.6762404+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Started {@Timestamp}","Properties":{"Timestamp":"2025-01-14T07:53:14.6762229Z"}} {"Timestamp":"2025-01-14T07:53:14.6820920+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Completed {@Timestamp}","Properties":{"Timestamp":"2025-01-14T07:53:14.6820731Z"}} {"Timestamp":"2025-01-14T08:53:14.6781611+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Started {@Timestamp}","Properties":{"Timestamp":"2025-01-14T08:53:14.6781400Z"}} {"Timestamp":"2025-01-14T08:53:14.6847599+00:00","Level":"Information","MessageTemplate":"Sending Session One Hour Reminder Emails to Patient and Doctor {@PatientId} {@DocotrId} {@Date} {@Time} {@Timestamp}","Properties":{"PatientId":"b20b8192-d77b-46d0-8e95-8eaf736c3ede","DocotrId":"350f212d-27ab-483a-a9c5-01b2c58fdb35","Date":"2025-01-14T00:00:00.0000000","Time":"13:00:00","Timestamp":"2025-01-14T08:53:14.6847382Z"}} {"Timestamp":"2025-01-14T08:53:14.9361128+00:00","Level":"Information","MessageTemplate":"Email Sent Successfully :{@Reciever}, {@Subject}, {@Timestamp}","Properties":{"Reciever":"patient@gmail.com","Subject":"Reminder Session","Timestamp":"2025-01-14T08:53:14.9360714Z"}} {"Timestamp":"2025-01-14T08:53:15.4866098+00:00","Level":"Information","MessageTemplate":"Email Sent Successfully :{@Reciever}, {@Subject}, {@Timestamp}","Properties":{"Reciever":"doctor2@3awaafi.com","Subject":"Reminder Session","Timestamp":"2025-01-14T08:53:15.4865669Z"}} {"Timestamp":"2025-01-14T08:53:15.7163657+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Completed {@Timestamp}","Properties":{"Timestamp":"2025-01-14T08:53:15.7163393Z"}} {"Timestamp":"2025-01-14T09:16:56.7140703+00:00","Level":"Information","MessageTemplate":"Email Sent Successfully :{@Reciever}, {@Subject}, {@Timestamp}","TraceId":"f058d63dbd212efb947be4251d772d15","SpanId":"7491fe279b078aee","Properties":{"Reciever":"patient@gmail.com","Subject":"Your message have been recieved","Timestamp":"2025-01-14T09:16:56.7140193Z","ActionName":"MessageController.CreateMessage ","RequestPath":"/api/Message"}} {"Timestamp":"2025-01-14T09:20:11.8579939+00:00","Level":"Information","MessageTemplate":"User Signed in Successfully:{@Username}, {@Email} ,{@TimestampUTC} ","TraceId":"6cc6b9f7ee0ebf3a46c0b11ba53453cc","SpanId":"0a4ef62a7bef0f2a","Properties":{"Username":"Motaz Siam","Email":"mutaz.s@nxt-level.co","TimestampUTC":"2025-01-14T09:20:11.8579399Z","ActionName":"UserController.Signin ","RequestPath":"/api/User/Signin"}} {"Timestamp":"2025-01-14T09:20:11.8596091+00:00","Level":"Error","MessageTemplate":"Failed executing DbCommand ({elapsed}ms) [Parameters=[{parameters}], CommandType='{commandType}', CommandTimeout='{commandTimeout}']{newLine}{commandText}","TraceId":"6cc6b9f7ee0ebf3a46c0b11ba53453cc","SpanId":"0a4ef62a7bef0f2a","Properties":{"elapsed":"90","parameters":"@__user_Id_0='?' (Size = 255)","commandType":"Text","commandTimeout":30,"newLine":"\n","commandText":"SELECT `a`.`Id`, `a`.`ClaimType`, `a`.`ClaimValue`, `a`.`UserId`\nFROM `AspNetUserClaims` AS `a`\nWHERE `a`.`UserId` = @__user_Id_0","EventId":{"Id":20102,"Name":"Microsoft.EntityFrameworkCore.Database.Command.CommandError"},"ActionName":"UserController.Signin ","RequestPath":"/api/User/Signin"}} {"Timestamp":"2025-01-14T09:20:11.8606687+00:00","Level":"Error","MessageTemplate":"An exception occurred while iterating over the results of a query for context type '{contextType}'.{newline}{error}","TraceId":"6cc6b9f7ee0ebf3a46c0b11ba53453cc","SpanId":"0a4ef62a7bef0f2a","Exception":"System.NullReferenceException: Object reference not set to an instance of an object.\n at MySqlConnector.MySqlDataReader.ActivateResultSet(CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 133\n at MySqlConnector.MySqlDataReader.CreateAsync(CommandListPosition commandListPosition, ICommandPayloadCreator payloadCreator, IDictionary`2 cachedProcedures, IMySqlCommand command, CommandBehavior behavior, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 493\n at MySqlConnector.Core.CommandExecutor.ExecuteReaderAsync(IReadOnlyList`1 commands, ICommandPayloadCreator payloadCreator, CommandBehavior behavior, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/CommandExecutor.cs:line 77\n at MySqlConnector.MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 345\n at MySqlConnector.MySqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 337\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)\n at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()","Properties":{"contextType":"OnlineClinic.DAL.OC_DBContext","newline":"\n","error":"System.NullReferenceException: Object reference not set to an instance of an object.\n at MySqlConnector.MySqlDataReader.ActivateResultSet(CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 133\n at MySqlConnector.MySqlDataReader.CreateAsync(CommandListPosition commandListPosition, ICommandPayloadCreator payloadCreator, IDictionary`2 cachedProcedures, IMySqlCommand command, CommandBehavior behavior, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 493\n at MySqlConnector.Core.CommandExecutor.ExecuteReaderAsync(IReadOnlyList`1 commands, ICommandPayloadCreator payloadCreator, CommandBehavior behavior, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/CommandExecutor.cs:line 77\n at MySqlConnector.MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 345\n at MySqlConnector.MySqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 337\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)\n at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()","EventId":{"Id":10100,"Name":"Microsoft.EntityFrameworkCore.Query.QueryIterationFailed"},"ActionName":"UserController.Signin ","RequestPath":"/api/User/Signin"}} {"Timestamp":"2025-01-14T09:20:13.5038190+00:00","Level":"Error","MessageTemplate":"An error occurred using the connection to database '{database}' on server '{server}'.","TraceId":"baa19f0c95c604fe6802250194e17a40","SpanId":"a230e3619b682ffc","Properties":{"database":"sokoun","server":"localhost","EventId":{"Id":20004,"Name":"Microsoft.EntityFrameworkCore.Database.Connection.ConnectionError"},"ActionName":"BookSessionController.GetBooksession ","RequestPath":"/api/BookSession/GetallBookSessions"}} {"Timestamp":"2025-01-14T09:20:13.5050257+00:00","Level":"Error","MessageTemplate":"An exception occurred while iterating over the results of a query for context type '{contextType}'.{newline}{error}","TraceId":"baa19f0c95c604fe6802250194e17a40","SpanId":"a230e3619b682ffc","Exception":"MySqlConnector.MySqlProtocolException: Packet received out-of-order. Expected 1; got 2.\n at MySqlConnector.Protocol.Serialization.ProtocolUtility.g__AddContinuation|5_0(ValueTask`1 readPacketTask, BufferedByteReader bufferedByteReader, IByteHandler byteHandler, Func`1 getNextSequenceNumber, ArraySegmentHolder`1 previousPayloads, ProtocolErrorBehavior protocolErrorBehavior, IOBehavior ioBehavior) in /_/src/MySqlConnector/Protocol/Serialization/ProtocolUtility.cs:line 498\n at MySqlConnector.Core.ServerSession.ReceiveReplyAsyncAwaited(ValueTask`1 task) in /_/src/MySqlConnector/Core/ServerSession.cs:line 964\n at MySqlConnector.Core.ServerSession.TryResetConnectionAsync(ConnectionSettings cs, MySqlConnection connection, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 696\n at MySqlConnector.Core.ConnectionPool.GetSessionAsync(MySqlConnection connection, Int32 startTickCount, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ConnectionPool.cs:line 130\n at MySqlConnector.Core.ConnectionPool.GetSessionAsync(MySqlConnection connection, Int32 startTickCount, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ConnectionPool.cs:line 130\n at MySqlConnector.MySqlConnection.CreateSessionAsync(ConnectionPool pool, Int32 startTickCount, Activity activity, Nullable`1 ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlConnection.cs:line 966\n at MySqlConnector.MySqlConnection.OpenAsync(Nullable`1 ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlConnection.cs:line 457\n at MySqlConnector.MySqlConnection.Open() in /_/src/MySqlConnector/MySqlConnection.cs:line 382\n at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)\n at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)\n at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlRelationalConnection.Open(Boolean errorsExpected)\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)\n at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)\n at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)\n at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()","Properties":{"contextType":"OnlineClinic.DAL.OC_DBContext","newline":"\n","error":"MySqlConnector.MySqlProtocolException: Packet received out-of-order. Expected 1; got 2.\n at MySqlConnector.Protocol.Serialization.ProtocolUtility.g__AddContinuation|5_0(ValueTask`1 readPacketTask, BufferedByteReader bufferedByteReader, IByteHandler byteHandler, Func`1 getNextSequenceNumber, ArraySegmentHolder`1 previousPayloads, ProtocolErrorBehavior protocolErrorBehavior, IOBehavior ioBehavior) in /_/src/MySqlConnector/Protocol/Serialization/ProtocolUtility.cs:line 498\n at MySqlConnector.Core.ServerSession.ReceiveReplyAsyncAwaited(ValueTask`1 task) in /_/src/MySqlConnector/Core/ServerSession.cs:line 964\n at MySqlConnector.Core.ServerSession.TryResetConnectionAsync(ConnectionSettings cs, MySqlConnection connection, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 696\n at MySqlConnector.Core.ConnectionPool.GetSessionAsync(MySqlConnection connection, Int32 startTickCount, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ConnectionPool.cs:line 130\n at MySqlConnector.Core.ConnectionPool.GetSessionAsync(MySqlConnection connection, Int32 startTickCount, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ConnectionPool.cs:line 130\n at MySqlConnector.MySqlConnection.CreateSessionAsync(ConnectionPool pool, Int32 startTickCount, Activity activity, Nullable`1 ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlConnection.cs:line 966\n at MySqlConnector.MySqlConnection.OpenAsync(Nullable`1 ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlConnection.cs:line 457\n at MySqlConnector.MySqlConnection.Open() in /_/src/MySqlConnector/MySqlConnection.cs:line 382\n at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)\n at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)\n at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlRelationalConnection.Open(Boolean errorsExpected)\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)\n at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)\n at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)\n at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()","EventId":{"Id":10100,"Name":"Microsoft.EntityFrameworkCore.Query.QueryIterationFailed"},"ActionName":"BookSessionController.GetBooksession ","RequestPath":"/api/BookSession/GetallBookSessions"}} {"Timestamp":"2025-01-14T09:49:00.8444043+00:00","Level":"Information","MessageTemplate":"User Signed in Successfully:{@Username}, {@Email} ,{@TimestampUTC} ","TraceId":"1ea13b04f8cf62e9aeec3c28eec533c5","SpanId":"b05aae7d5545139f","Properties":{"Username":"Motaz Siam","Email":"mutaz.s@nxt-level.co","TimestampUTC":"2025-01-14T09:49:00.8443775Z","ActionName":"UserController.Signin ","RequestPath":"/api/User/Signin"}} {"Timestamp":"2025-01-14T09:49:00.8463661+00:00","Level":"Error","MessageTemplate":"Failed executing DbCommand ({elapsed}ms) [Parameters=[{parameters}], CommandType='{commandType}', CommandTimeout='{commandTimeout}']{newLine}{commandText}","TraceId":"1ea13b04f8cf62e9aeec3c28eec533c5","SpanId":"b05aae7d5545139f","Properties":{"elapsed":"82","parameters":"@__user_Id_0='?' (Size = 255)","commandType":"Text","commandTimeout":30,"newLine":"\n","commandText":"SELECT `a`.`Id`, `a`.`ClaimType`, `a`.`ClaimValue`, `a`.`UserId`\nFROM `AspNetUserClaims` AS `a`\nWHERE `a`.`UserId` = @__user_Id_0","EventId":{"Id":20102,"Name":"Microsoft.EntityFrameworkCore.Database.Command.CommandError"},"ActionName":"UserController.Signin ","RequestPath":"/api/User/Signin"}} {"Timestamp":"2025-01-14T09:49:00.8473282+00:00","Level":"Error","MessageTemplate":"An exception occurred while iterating over the results of a query for context type '{contextType}'.{newline}{error}","TraceId":"1ea13b04f8cf62e9aeec3c28eec533c5","SpanId":"b05aae7d5545139f","Exception":"System.NullReferenceException: Object reference not set to an instance of an object.\n at MySqlConnector.MySqlDataReader.ActivateResultSet(CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 133\n at MySqlConnector.MySqlDataReader.CreateAsync(CommandListPosition commandListPosition, ICommandPayloadCreator payloadCreator, IDictionary`2 cachedProcedures, IMySqlCommand command, CommandBehavior behavior, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 493\n at MySqlConnector.Core.CommandExecutor.ExecuteReaderAsync(IReadOnlyList`1 commands, ICommandPayloadCreator payloadCreator, CommandBehavior behavior, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/CommandExecutor.cs:line 77\n at MySqlConnector.MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 345\n at MySqlConnector.MySqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 337\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)\n at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()","Properties":{"contextType":"OnlineClinic.DAL.OC_DBContext","newline":"\n","error":"System.NullReferenceException: Object reference not set to an instance of an object.\n at MySqlConnector.MySqlDataReader.ActivateResultSet(CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 133\n at MySqlConnector.MySqlDataReader.CreateAsync(CommandListPosition commandListPosition, ICommandPayloadCreator payloadCreator, IDictionary`2 cachedProcedures, IMySqlCommand command, CommandBehavior behavior, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 493\n at MySqlConnector.Core.CommandExecutor.ExecuteReaderAsync(IReadOnlyList`1 commands, ICommandPayloadCreator payloadCreator, CommandBehavior behavior, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/CommandExecutor.cs:line 77\n at MySqlConnector.MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 345\n at MySqlConnector.MySqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 337\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)\n at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()","EventId":{"Id":10100,"Name":"Microsoft.EntityFrameworkCore.Query.QueryIterationFailed"},"ActionName":"UserController.Signin ","RequestPath":"/api/User/Signin"}} {"Timestamp":"2025-01-14T09:49:36.1955603+00:00","Level":"Information","MessageTemplate":"User Signed in Successfully:{@Username}, {@Email} ,{@TimestampUTC} ","TraceId":"9aea4ad3893e5592080b441989690df6","SpanId":"a0d82ce276cce693","Properties":{"Username":"د.أميـن الفـاضل الأميـن ديـاب","Email":"doctor1@3awaafi.com","TimestampUTC":"2025-01-14T09:49:36.1955321Z","ActionName":"UserController.Signin ","RequestPath":"/api/User/Signin"}} {"Timestamp":"2025-01-14T09:49:36.1965615+00:00","Level":"Error","MessageTemplate":"Failed executing DbCommand ({elapsed}ms) [Parameters=[{parameters}], CommandType='{commandType}', CommandTimeout='{commandTimeout}']{newLine}{commandText}","TraceId":"9aea4ad3893e5592080b441989690df6","SpanId":"a0d82ce276cce693","Properties":{"elapsed":"78","parameters":"@__user_Id_0='?' (Size = 255)","commandType":"Text","commandTimeout":30,"newLine":"\n","commandText":"SELECT `a`.`Id`, `a`.`ClaimType`, `a`.`ClaimValue`, `a`.`UserId`\nFROM `AspNetUserClaims` AS `a`\nWHERE `a`.`UserId` = @__user_Id_0","EventId":{"Id":20102,"Name":"Microsoft.EntityFrameworkCore.Database.Command.CommandError"},"ActionName":"UserController.Signin ","RequestPath":"/api/User/Signin"}} {"Timestamp":"2025-01-14T09:49:36.1973268+00:00","Level":"Error","MessageTemplate":"An exception occurred while iterating over the results of a query for context type '{contextType}'.{newline}{error}","TraceId":"9aea4ad3893e5592080b441989690df6","SpanId":"a0d82ce276cce693","Exception":"System.NullReferenceException: Object reference not set to an instance of an object.\n at MySqlConnector.MySqlDataReader.ActivateResultSet(CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 133\n at MySqlConnector.MySqlDataReader.CreateAsync(CommandListPosition commandListPosition, ICommandPayloadCreator payloadCreator, IDictionary`2 cachedProcedures, IMySqlCommand command, CommandBehavior behavior, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 493\n at MySqlConnector.Core.CommandExecutor.ExecuteReaderAsync(IReadOnlyList`1 commands, ICommandPayloadCreator payloadCreator, CommandBehavior behavior, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/CommandExecutor.cs:line 77\n at MySqlConnector.MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 345\n at MySqlConnector.MySqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 337\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)\n at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()","Properties":{"contextType":"OnlineClinic.DAL.OC_DBContext","newline":"\n","error":"System.NullReferenceException: Object reference not set to an instance of an object.\n at MySqlConnector.MySqlDataReader.ActivateResultSet(CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 133\n at MySqlConnector.MySqlDataReader.CreateAsync(CommandListPosition commandListPosition, ICommandPayloadCreator payloadCreator, IDictionary`2 cachedProcedures, IMySqlCommand command, CommandBehavior behavior, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 493\n at MySqlConnector.Core.CommandExecutor.ExecuteReaderAsync(IReadOnlyList`1 commands, ICommandPayloadCreator payloadCreator, CommandBehavior behavior, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/CommandExecutor.cs:line 77\n at MySqlConnector.MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 345\n at MySqlConnector.MySqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 337\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)\n at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()","EventId":{"Id":10100,"Name":"Microsoft.EntityFrameworkCore.Query.QueryIterationFailed"},"ActionName":"UserController.Signin ","RequestPath":"/api/User/Signin"}} {"Timestamp":"2025-01-14T09:49:36.1965261+00:00","Level":"Error","MessageTemplate":"Connection id \"{ConnectionId}\", Request id \"{TraceIdentifier}\": An unhandled exception was thrown by the application.","TraceId":"9aea4ad3893e5592080b441989690df6","SpanId":"a0d82ce276cce693","Exception":"System.NullReferenceException: Object reference not set to an instance of an object.\n at MySqlConnector.MySqlConnection.FinishQuerying(Boolean hasWarnings) in /_/src/MySqlConnector/MySqlConnection.cs:line 906\n at MySqlConnector.MySqlDataReader.DisposeAsync(IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 639\n at MySqlConnector.MySqlConnection.CloseDatabaseAsync(IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlConnection.cs:line 1101\n at MySqlConnector.MySqlConnection.DoCloseAsync(Boolean changeState, IOBehavior ioBehavior) in /_/src/MySqlConnector/MySqlConnection.cs:line 1075\n at MySqlConnector.MySqlConnection.DoCloseAsync(Boolean changeState, IOBehavior ioBehavior) in /_/src/MySqlConnector/MySqlConnection.cs:line 1094\n at MySqlConnector.MySqlConnection.CloseAsync(Boolean changeState, IOBehavior ioBehavior) in /_/src/MySqlConnector/MySqlConnection.cs:line 1026\n at MySqlConnector.MySqlConnection.DisposeAsync() in /_/src/MySqlConnector/MySqlConnection.cs:line 704\n at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.DisposeDbConnectionAsync()\n at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.ResetStateAsync(Boolean disposeDbConnection)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.g__Await|26_0(Int32 i, ValueTask vt, List`1 toDispose)\n at Microsoft.EntityFrameworkCore.DbContext.DisposeAsync()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.g__Await|26_0(Int32 i, ValueTask vt, List`1 toDispose)\n at Microsoft.AspNetCore.Http.Features.RequestServicesFeature.g__Awaited|9_0(RequestServicesFeature servicesFeature, ValueTask vt)\n at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.g__ProcessEvents|242_0(HttpProtocol protocol, Stack`1 events)","Properties":{"TraceIdentifier":"0HN8FNHIBIPOI:00000004","EventId":{"Id":13,"Name":"ApplicationError"},"RequestPath":"/api/User/Signin"}} {"Timestamp":"2025-01-14T09:53:14.6760075+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Started {@Timestamp}","Properties":{"Timestamp":"2025-01-14T09:53:14.6759885Z"}} {"Timestamp":"2025-01-14T09:53:14.6820647+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Completed {@Timestamp}","Properties":{"Timestamp":"2025-01-14T09:53:14.6820285Z"}} {"Timestamp":"2025-01-14T09:55:19.5495798+00:00","Level":"Information","MessageTemplate":"Clip Rate Updated {@ClipId }{@ClipType} {@Rate} {@Timestamp}","TraceId":"f384d9b207ed184c5302f5e4bb3ac850","SpanId":"23f2d3d803b5dfd3","Properties":{"ClipId ":28,"ClipType":"audio","Rate":5,"Timestamp":"2025-01-14T09:55:19.5492746Z","ActionName":"ClipRateController.CreateRate ","RequestPath":"/api/ClipRate"}} {"Timestamp":"2025-01-14T09:55:25.7893794+00:00","Level":"Information","MessageTemplate":"Clip Rate Updated {@ClipId }{@ClipType} {@Rate} {@Timestamp}","TraceId":"f08ae25375a6a6bf3fed1d6723723baf","SpanId":"180958f0ddfa9af1","Properties":{"ClipId ":28,"ClipType":"audio","Rate":5,"Timestamp":"2025-01-14T09:55:25.7893549Z","ActionName":"ClipRateController.CreateRate ","RequestPath":"/api/ClipRate"}} {"Timestamp":"2025-01-14T09:55:32.4887618+00:00","Level":"Information","MessageTemplate":"Clip Rate Updated {@ClipId }{@ClipType} {@Rate} {@Timestamp}","TraceId":"e2bd7a23103969a6c8393a7ac4ac684e","SpanId":"e15fee3a7dc96148","Properties":{"ClipId ":29,"ClipType":"audio","Rate":5,"Timestamp":"2025-01-14T09:55:32.4887298Z","ActionName":"ClipRateController.CreateRate ","RequestPath":"/api/ClipRate"}} {"Timestamp":"2025-01-14T10:53:14.7175962+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Started {@Timestamp}","Properties":{"Timestamp":"2025-01-14T10:53:14.7175809Z"}} {"Timestamp":"2025-01-14T10:53:14.7260985+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Completed {@Timestamp}","Properties":{"Timestamp":"2025-01-14T10:53:14.7260809Z"}} {"Timestamp":"2025-01-14T11:53:14.7148832+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Started {@Timestamp}","Properties":{"Timestamp":"2025-01-14T11:53:14.7148688Z"}} {"Timestamp":"2025-01-14T11:53:14.7285528+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Completed {@Timestamp}","Properties":{"Timestamp":"2025-01-14T11:53:14.7285276Z"}} {"Timestamp":"2025-01-14T12:35:53.6968860+00:00","Level":"Information","MessageTemplate":"User Signed in Successfully:{@Username}, {@Email} ,{@TimestampUTC} ","TraceId":"a83b59b741886d7d8be22c909cdaf3a0","SpanId":"16e47106cc66e790","Properties":{"Username":"Motaz Siam","Email":"mutaz.s@nxt-level.co","TimestampUTC":"2025-01-14T12:35:53.6968619Z","ActionName":"UserController.Signin ","RequestPath":"/api/User/Signin"}} {"Timestamp":"2025-01-14T12:35:53.6982328+00:00","Level":"Error","MessageTemplate":"Failed executing DbCommand ({elapsed}ms) [Parameters=[{parameters}], CommandType='{commandType}', CommandTimeout='{commandTimeout}']{newLine}{commandText}","TraceId":"a83b59b741886d7d8be22c909cdaf3a0","SpanId":"16e47106cc66e790","Properties":{"elapsed":"85","parameters":"@__user_Id_0='?' (Size = 255)","commandType":"Text","commandTimeout":30,"newLine":"\n","commandText":"SELECT `a`.`Id`, `a`.`ClaimType`, `a`.`ClaimValue`, `a`.`UserId`\nFROM `AspNetUserClaims` AS `a`\nWHERE `a`.`UserId` = @__user_Id_0","EventId":{"Id":20102,"Name":"Microsoft.EntityFrameworkCore.Database.Command.CommandError"},"ActionName":"UserController.Signin ","RequestPath":"/api/User/Signin"}} {"Timestamp":"2025-01-14T12:35:53.6991742+00:00","Level":"Error","MessageTemplate":"An exception occurred while iterating over the results of a query for context type '{contextType}'.{newline}{error}","TraceId":"a83b59b741886d7d8be22c909cdaf3a0","SpanId":"16e47106cc66e790","Exception":"System.ObjectDisposedException: Cannot access a disposed object.\nObject name: 'MySqlConnection'.\n at MySqlConnector.MySqlConnection.VerifyNotDisposed() in /_/src/MySqlConnector/MySqlConnection.cs:line 1002\n at MySqlConnector.MySqlConnection.get_Session() in /_/src/MySqlConnector/MySqlConnection.cs:line 745\n at MySqlConnector.Core.ICancellableCommandExtensions.ResetCommandTimeout(ICancellableCommand command) in /_/src/MySqlConnector/Core/ICancellableCommand.cs:line 79\n at MySqlConnector.MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 345\n at MySqlConnector.MySqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 337\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)\n at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()","Properties":{"contextType":"OnlineClinic.DAL.OC_DBContext","newline":"\n","error":"System.ObjectDisposedException: Cannot access a disposed object.\nObject name: 'MySqlConnection'.\n at MySqlConnector.MySqlConnection.VerifyNotDisposed() in /_/src/MySqlConnector/MySqlConnection.cs:line 1002\n at MySqlConnector.MySqlConnection.get_Session() in /_/src/MySqlConnector/MySqlConnection.cs:line 745\n at MySqlConnector.Core.ICancellableCommandExtensions.ResetCommandTimeout(ICancellableCommand command) in /_/src/MySqlConnector/Core/ICancellableCommand.cs:line 79\n at MySqlConnector.MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 345\n at MySqlConnector.MySqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 337\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)\n at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()","EventId":{"Id":10100,"Name":"Microsoft.EntityFrameworkCore.Query.QueryIterationFailed"},"ActionName":"UserController.Signin ","RequestPath":"/api/User/Signin"}} {"Timestamp":"2025-01-14T12:53:14.7197600+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Started {@Timestamp}","Properties":{"Timestamp":"2025-01-14T12:53:14.7197435Z"}} {"Timestamp":"2025-01-14T12:53:14.7284196+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Completed {@Timestamp}","Properties":{"Timestamp":"2025-01-14T12:53:14.7284002Z"}} {"Timestamp":"2025-01-14T13:53:14.7085029+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Started {@Timestamp}","Properties":{"Timestamp":"2025-01-14T13:53:14.7084865Z"}} {"Timestamp":"2025-01-14T13:53:14.7172029+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Completed {@Timestamp}","Properties":{"Timestamp":"2025-01-14T13:53:14.7171852Z"}} {"Timestamp":"2025-01-14T14:53:14.7165108+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Started {@Timestamp}","Properties":{"Timestamp":"2025-01-14T14:53:14.7164930Z"}} {"Timestamp":"2025-01-14T14:53:14.7257385+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Completed {@Timestamp}","Properties":{"Timestamp":"2025-01-14T14:53:14.7257175Z"}} {"Timestamp":"2025-01-14T15:53:14.7082096+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Started {@Timestamp}","Properties":{"Timestamp":"2025-01-14T15:53:14.7081945Z"}} {"Timestamp":"2025-01-14T15:53:14.7163548+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Completed {@Timestamp}","Properties":{"Timestamp":"2025-01-14T15:53:14.7163373Z"}} {"Timestamp":"2025-01-14T16:39:28.9272289+00:00","Level":"Information","MessageTemplate":"User Signed in Successfully:{@Username}, {@Email} ,{@TimestampUTC} ","TraceId":"c429744fdba9fa89da9ce93bf347629d","SpanId":"b1f131ed2cd0e55e","Properties":{"Username":"دكتور احمد ","Email":"abushoukahmed@gmail.com","TimestampUTC":"2025-01-14T16:39:28.9272087Z","ActionName":"UserController.Signin ","RequestPath":"/api/User/Signin"}} {"Timestamp":"2025-01-14T16:39:28.9380903+00:00","Level":"Error","MessageTemplate":"Failed executing DbCommand ({elapsed}ms) [Parameters=[{parameters}], CommandType='{commandType}', CommandTimeout='{commandTimeout}']{newLine}{commandText}","TraceId":"c429744fdba9fa89da9ce93bf347629d","SpanId":"b1f131ed2cd0e55e","Properties":{"elapsed":"97","parameters":"@__user_Id_0='?' (Size = 255)","commandType":"Text","commandTimeout":30,"newLine":"\n","commandText":"SELECT `a`.`Id`, `a`.`ClaimType`, `a`.`ClaimValue`, `a`.`UserId`\nFROM `AspNetUserClaims` AS `a`\nWHERE `a`.`UserId` = @__user_Id_0","EventId":{"Id":20102,"Name":"Microsoft.EntityFrameworkCore.Database.Command.CommandError"},"ActionName":"UserController.Signin ","RequestPath":"/api/User/Signin"}} {"Timestamp":"2025-01-14T16:39:28.9390090+00:00","Level":"Error","MessageTemplate":"An exception occurred while iterating over the results of a query for context type '{contextType}'.{newline}{error}","TraceId":"c429744fdba9fa89da9ce93bf347629d","SpanId":"b1f131ed2cd0e55e","Exception":"System.IO.IOException: The encryption operation failed, see inner exception.\n ---> System.ObjectDisposedException: Safe handle has been closed.\nObject name: 'SafeHandle'.\n at Interop.Crypto.BioCtrlPending(SafeBioHandle bio)\n at Interop.OpenSsl.Encrypt(SafeSslHandle context, ReadOnlySpan`1 input, Byte[]& output, SslErrorCode& errorCode)\n at System.Net.Security.SslStreamPal.EncryptMessage(SafeDeleteSslContext securityContext, ReadOnlyMemory`1 input, Int32 headerSize, Int32 trailerSize, Byte[]& output, Int32& resultSize)\n --- End of inner exception stack trace ---\n at System.Net.Security.SslStream.WriteSingleChunk[TIOAdapter](ReadOnlyMemory`1 buffer, CancellationToken cancellationToken)\n at System.Net.Security.SslStream.WriteAsyncInternal[TIOAdapter](ReadOnlyMemory`1 buffer, CancellationToken cancellationToken)\n at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\n at System.Net.Security.SslStream.WriteAsync(ReadOnlyMemory`1 buffer, CancellationToken cancellationToken)\n at MySqlConnector.Protocol.Serialization.StreamByteHandler.g__DoWriteBytesAsync|7_0(ReadOnlyMemory`1 data) in /_/src/MySqlConnector/Protocol/Serialization/StreamByteHandler.cs:line 104\n at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\n at MySqlConnector.Protocol.Serialization.StreamByteHandler.g__DoWriteBytesAsync|7_0(ReadOnlyMemory`1 data)\n at MySqlConnector.Protocol.Serialization.StreamByteHandler.WriteBytesAsync(ReadOnlyMemory`1 data, IOBehavior ioBehavior) in /_/src/MySqlConnector/Protocol/Serialization/StreamByteHandler.cs:line 91\n at MySqlConnector.Protocol.Serialization.ProtocolUtility.WritePacketAsync(IByteHandler byteHandler, Int32 sequenceNumber, ReadOnlyMemory`1 contents, IOBehavior ioBehavior) in /_/src/MySqlConnector/Protocol/Serialization/ProtocolUtility.cs:line 550\n at MySqlConnector.Protocol.Serialization.StandardPayloadHandler.WritePayloadAsync(ReadOnlyMemory`1 payload, IOBehavior ioBehavior) in /_/src/MySqlConnector/Protocol/Serialization/StandardPayloadHandler.cs:line 46\n at MySqlConnector.Core.ServerSession.SendReplyAsync(PayloadData payload, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 973\n at MySqlConnector.Core.CommandExecutor.ExecuteReaderAsync(IReadOnlyList`1 commands, ICommandPayloadCreator payloadCreator, CommandBehavior behavior, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/CommandExecutor.cs:line 55\n at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\n at MySqlConnector.MySqlCommand.ExecuteReaderNoResetTimeoutAsync(CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 355\n at MySqlConnector.MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 344\n at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\n at MySqlConnector.MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken)\n at MySqlConnector.MySqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)\n at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\n at MySqlConnector.MySqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\n at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)\n at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)\n at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)\n at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlRelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\n at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)\n at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)\n at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)\n at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\n at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)\n at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)\n at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)\n at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\n at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)\n at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)\n at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)\n at MySqlConnector.MySqlConnection.OpenAsync(Nullable`1 ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlConnection.cs:line 457\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\n at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)\n at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)\n at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)\n at System.Threading.Tasks.Task`1.TrySetResult(TResult result)\n at MySqlConnector.MySqlConnection.CreateSessionAsync(ConnectionPool pool, Int32 startTickCount, Activity activity, Nullable`1 ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlConnection.cs:line 966\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\n at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)\n at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)\n at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)\n at System.Threading.Tasks.Task`1.TrySetResult(TResult result)\n at MySqlConnector.Core.ConnectionPool.GetSessionAsync(MySqlConnection connection, Int32 startTickCount, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ConnectionPool.cs:line 130\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\n at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)\n at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)\n at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)\n at System.Threading.Tasks.Task`1.TrySetResult(TResult result)\n at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetExistingTaskResult(Task`1 task, TResult result)\n at MySqlConnector.Core.ServerSession.TryResetConnectionAsync(ConnectionSettings cs, MySqlConnection connection, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 696\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\n at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)\n at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)\n at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)\n at MySqlConnector.Core.ServerSession.ReceiveReplyAsyncAwaited(ValueTask`1 task) in /_/src/MySqlConnector/Core/ServerSession.cs:line 964\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\n at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)\n at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)\n at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)\n at MySqlConnector.Protocol.Serialization.ProtocolUtility.g__AddContinuation|5_0(ValueTask`1 readPacketTask, BufferedByteReader bufferedByteReader, IByteHandler byteHandler, Func`1 getNextSequenceNumber, ArraySegmentHolder`1 previousPayloads, ProtocolErrorBehavior protocolErrorBehavior, IOBehavior ioBehavior) in /_/src/MySqlConnector/Protocol/Serialization/ProtocolUtility.cs:line 498\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\n at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)\n at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)\n at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)\n at MySqlConnector.Protocol.Serialization.ProtocolUtility.g__AddContinuation|1_0(ValueTask`1 headerBytes, BufferedByteReader bufferedByteReader, IByteHandler byteHandler, Func`1 getNextSequenceNumber, ProtocolErrorBehavior protocolErrorBehavior, IOBehavior ioBehavior) in /_/src/MySqlConnector/Protocol/Serialization/ProtocolUtility.cs:line 423\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\n at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)\n at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)\n at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)\n at MySqlConnector.Protocol.Serialization.BufferedByteReader.ReadBytesAsync(IByteHandler byteHandler, ArraySegment`1 buffer, Int32 totalBytesToRead, IOBehavior ioBehavior) in /_/src/MySqlConnector/Protocol/Serialization/BufferedByteReader.cs:line 53\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\n at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)\n at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)\n at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)\n at System.Threading.Tasks.Task`1.TrySetResult(TResult result)\n at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetExistingTaskResult(Task`1 task, TResult result)\n at MySqlConnector.Protocol.Serialization.StreamByteHandler.g__DoReadBytesAsync|6_2(Memory`1 buffer) in /_/src/MySqlConnector/Protocol/Serialization/StreamByteHandler.cs:line 85\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\n at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)\n at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](Memory`1 buffer, CancellationToken cancellationToken)\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\n at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](CancellationToken cancellationToken)\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\n at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.InvokeContinuation(Action`1 continuation, Object state, Boolean forceAsync, Boolean requiresExecutionContextFlow)\n at System.Net.Sockets.SocketAsyncEngine.System.Threading.IThreadPoolWorkItem.Execute()\n at System.Threading.ThreadPoolWorkQueue.Dispatch()\n at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()\n--- End of stack trace from previous location ---\n at System.Net.Security.SslStream.WriteAsyncInternal[TIOAdapter](ReadOnlyMemory`1 buffer, CancellationToken cancellationToken)\n at MySqlConnector.Protocol.Serialization.StreamByteHandler.g__DoWriteBytesAsync|7_0(ReadOnlyMemory`1 data) in /_/src/MySqlConnector/Protocol/Serialization/StreamByteHandler.cs:line 104\n at MySqlConnector.Protocol.Serialization.ProtocolUtility.g__WritePacketAsyncAwaited|8_0(ValueTask task, Byte[] buffer) in /_/src/MySqlConnector/Protocol/Serialization/ProtocolUtility.cs:line 560\n at MySqlConnector.Core.ServerSession.SendReplyAsyncAwaited(ValueTask task) in /_/src/MySqlConnector/Core/ServerSession.cs:line 991\n at MySqlConnector.Core.CommandExecutor.ExecuteReaderAsync(IReadOnlyList`1 commands, ICommandPayloadCreator payloadCreator, CommandBehavior behavior, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/CommandExecutor.cs:line 77\n at MySqlConnector.MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 345\n at MySqlConnector.MySqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 337\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)\n at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()","Properties":{"contextType":"OnlineClinic.DAL.OC_DBContext","newline":"\n","error":"System.IO.IOException: The encryption operation failed, see inner exception.\n ---> System.ObjectDisposedException: Safe handle has been closed.\nObject name: 'SafeHandle'.\n at Interop.Crypto.BioCtrlPending(SafeBioHandle bio)\n at Interop.OpenSsl.Encrypt(SafeSslHandle context, ReadOnlySpan`1 input, Byte[]& output, SslErrorCode& errorCode)\n at System.Net.Security.SslStreamPal.EncryptMessage(SafeDeleteSslContext securityContext, ReadOnlyMemory`1 input, Int32 headerSize, Int32 trailerSize, Byte[]& output, Int32& resultSize)\n --- End of inner exception stack trace ---\n at System.Net.Security.SslStream.WriteSingleChunk[TIOAdapter](ReadOnlyMemory`1 buffer, CancellationToken cancellationToken)\n at System.Net.Security.SslStream.WriteAsyncInternal[TIOAdapter](ReadOnlyMemory`1 buffer, CancellationToken cancellationToken)\n at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\n at System.Net.Security.SslStream.WriteAsync(ReadOnlyMemory`1 buffer, CancellationToken cancellationToken)\n at MySqlConnector.Protocol.Serialization.StreamByteHandler.g__DoWriteBytesAsync|7_0(ReadOnlyMemory`1 data) in /_/src/MySqlConnector/Protocol/Serialization/StreamByteHandler.cs:line 104\n at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\n at MySqlConnector.Protocol.Serialization.StreamByteHandler.g__DoWriteBytesAsync|7_0(ReadOnlyMemory`1 data)\n at MySqlConnector.Protocol.Serialization.StreamByteHandler.WriteBytesAsync(ReadOnlyMemory`1 data, IOBehavior ioBehavior) in /_/src/MySqlConnector/Protocol/Serialization/StreamByteHandler.cs:line 91\n at MySqlConnector.Protocol.Serialization.ProtocolUtility.WritePacketAsync(IByteHandler byteHandler, Int32 sequenceNumber, ReadOnlyMemory`1 contents, IOBehavior ioBehavior) in /_/src/MySqlConnector/Protocol/Serialization/ProtocolUtility.cs:line 550\n at MySqlConnector.Protocol.Serialization.StandardPayloadHandler.WritePayloadAsync(ReadOnlyMemory`1 payload, IOBehavior ioBehavior) in /_/src/MySqlConnector/Protocol/Serialization/StandardPayloadHandler.cs:line 46\n at MySqlConnector.Core.ServerSession.SendReplyAsync(PayloadData payload, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 973\n at MySqlConnector.Core.CommandExecutor.ExecuteReaderAsync(IReadOnlyList`1 commands, ICommandPayloadCreator payloadCreator, CommandBehavior behavior, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/CommandExecutor.cs:line 55\n at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\n at MySqlConnector.MySqlCommand.ExecuteReaderNoResetTimeoutAsync(CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 355\n at MySqlConnector.MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 344\n at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\n at MySqlConnector.MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken)\n at MySqlConnector.MySqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)\n at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)\n at MySqlConnector.MySqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\n at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)\n at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)\n at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)\n at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlRelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\n at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)\n at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)\n at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)\n at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\n at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)\n at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)\n at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)\n at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\n at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)\n at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)\n at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)\n at MySqlConnector.MySqlConnection.OpenAsync(Nullable`1 ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlConnection.cs:line 457\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\n at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)\n at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)\n at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)\n at System.Threading.Tasks.Task`1.TrySetResult(TResult result)\n at MySqlConnector.MySqlConnection.CreateSessionAsync(ConnectionPool pool, Int32 startTickCount, Activity activity, Nullable`1 ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlConnection.cs:line 966\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\n at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)\n at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)\n at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)\n at System.Threading.Tasks.Task`1.TrySetResult(TResult result)\n at MySqlConnector.Core.ConnectionPool.GetSessionAsync(MySqlConnection connection, Int32 startTickCount, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ConnectionPool.cs:line 130\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\n at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)\n at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)\n at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)\n at System.Threading.Tasks.Task`1.TrySetResult(TResult result)\n at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetExistingTaskResult(Task`1 task, TResult result)\n at MySqlConnector.Core.ServerSession.TryResetConnectionAsync(ConnectionSettings cs, MySqlConnection connection, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 696\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\n at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)\n at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)\n at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)\n at MySqlConnector.Core.ServerSession.ReceiveReplyAsyncAwaited(ValueTask`1 task) in /_/src/MySqlConnector/Core/ServerSession.cs:line 964\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\n at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)\n at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)\n at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)\n at MySqlConnector.Protocol.Serialization.ProtocolUtility.g__AddContinuation|5_0(ValueTask`1 readPacketTask, BufferedByteReader bufferedByteReader, IByteHandler byteHandler, Func`1 getNextSequenceNumber, ArraySegmentHolder`1 previousPayloads, ProtocolErrorBehavior protocolErrorBehavior, IOBehavior ioBehavior) in /_/src/MySqlConnector/Protocol/Serialization/ProtocolUtility.cs:line 498\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\n at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)\n at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)\n at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)\n at MySqlConnector.Protocol.Serialization.ProtocolUtility.g__AddContinuation|1_0(ValueTask`1 headerBytes, BufferedByteReader bufferedByteReader, IByteHandler byteHandler, Func`1 getNextSequenceNumber, ProtocolErrorBehavior protocolErrorBehavior, IOBehavior ioBehavior) in /_/src/MySqlConnector/Protocol/Serialization/ProtocolUtility.cs:line 423\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\n at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)\n at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)\n at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)\n at MySqlConnector.Protocol.Serialization.BufferedByteReader.ReadBytesAsync(IByteHandler byteHandler, ArraySegment`1 buffer, Int32 totalBytesToRead, IOBehavior ioBehavior) in /_/src/MySqlConnector/Protocol/Serialization/BufferedByteReader.cs:line 53\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\n at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)\n at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)\n at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)\n at System.Threading.Tasks.Task`1.TrySetResult(TResult result)\n at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetExistingTaskResult(Task`1 task, TResult result)\n at MySqlConnector.Protocol.Serialization.StreamByteHandler.g__DoReadBytesAsync|6_2(Memory`1 buffer) in /_/src/MySqlConnector/Protocol/Serialization/StreamByteHandler.cs:line 85\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\n at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)\n at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](Memory`1 buffer, CancellationToken cancellationToken)\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\n at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](CancellationToken cancellationToken)\n at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\n at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.InvokeContinuation(Action`1 continuation, Object state, Boolean forceAsync, Boolean requiresExecutionContextFlow)\n at System.Net.Sockets.SocketAsyncEngine.System.Threading.IThreadPoolWorkItem.Execute()\n at System.Threading.ThreadPoolWorkQueue.Dispatch()\n at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()\n--- End of stack trace from previous location ---\n at System.Net.Security.SslStream.WriteAsyncInternal[TIOAdapter](ReadOnlyMemory`1 buffer, CancellationToken cancellationToken)\n at MySqlConnector.Protocol.Serialization.StreamByteHandler.g__DoWriteBytesAsync|7_0(ReadOnlyMemory`1 data) in /_/src/MySqlConnector/Protocol/Serialization/StreamByteHandler.cs:line 104\n at MySqlConnector.Protocol.Serialization.ProtocolUtility.g__WritePacketAsyncAwaited|8_0(ValueTask task, Byte[] buffer) in /_/src/MySqlConnector/Protocol/Serialization/ProtocolUtility.cs:line 560\n at MySqlConnector.Core.ServerSession.SendReplyAsyncAwaited(ValueTask task) in /_/src/MySqlConnector/Core/ServerSession.cs:line 991\n at MySqlConnector.Core.CommandExecutor.ExecuteReaderAsync(IReadOnlyList`1 commands, ICommandPayloadCreator payloadCreator, CommandBehavior behavior, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/CommandExecutor.cs:line 77\n at MySqlConnector.MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 345\n at MySqlConnector.MySqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 337\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)\n at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()","EventId":{"Id":10100,"Name":"Microsoft.EntityFrameworkCore.Query.QueryIterationFailed"},"ActionName":"UserController.Signin ","RequestPath":"/api/User/Signin"}} {"Timestamp":"2025-01-14T16:39:34.8381000+00:00","Level":"Information","MessageTemplate":"User Signed in Successfully:{@Username}, {@Email} ,{@TimestampUTC} ","TraceId":"c6d74264b31fc7b6d58cb8a78c0858ca","SpanId":"a933a2b7653a672f","Properties":{"Username":"د.ابرار يس عبد القادر","Email":"doctor2@3awaafi.com","TimestampUTC":"2025-01-14T16:39:34.8380746Z","ActionName":"UserController.Signin ","RequestPath":"/api/User/Signin"}} {"Timestamp":"2025-01-14T16:39:34.8393643+00:00","Level":"Error","MessageTemplate":"Failed executing DbCommand ({elapsed}ms) [Parameters=[{parameters}], CommandType='{commandType}', CommandTimeout='{commandTimeout}']{newLine}{commandText}","TraceId":"c6d74264b31fc7b6d58cb8a78c0858ca","SpanId":"a933a2b7653a672f","Properties":{"elapsed":"77","parameters":"@__user_Id_0='?' (Size = 255)","commandType":"Text","commandTimeout":30,"newLine":"\n","commandText":"SELECT `a`.`Id`, `a`.`ClaimType`, `a`.`ClaimValue`, `a`.`UserId`\nFROM `AspNetUserClaims` AS `a`\nWHERE `a`.`UserId` = @__user_Id_0","EventId":{"Id":20102,"Name":"Microsoft.EntityFrameworkCore.Database.Command.CommandError"},"ActionName":"UserController.Signin ","RequestPath":"/api/User/Signin"}} {"Timestamp":"2025-01-14T16:39:34.8392091+00:00","Level":"Error","MessageTemplate":"Connection id \"{ConnectionId}\", Request id \"{TraceIdentifier}\": An unhandled exception was thrown by the application.","TraceId":"c6d74264b31fc7b6d58cb8a78c0858ca","SpanId":"a933a2b7653a672f","Exception":"System.NullReferenceException: Object reference not set to an instance of an object.\n at MySqlConnector.MySqlConnection.FinishQuerying(Boolean hasWarnings) in /_/src/MySqlConnector/MySqlConnection.cs:line 906\n at MySqlConnector.MySqlDataReader.DisposeAsync(IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 639\n at MySqlConnector.MySqlConnection.CloseDatabaseAsync(IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlConnection.cs:line 1101\n at MySqlConnector.MySqlConnection.DoCloseAsync(Boolean changeState, IOBehavior ioBehavior) in /_/src/MySqlConnector/MySqlConnection.cs:line 1075\n at MySqlConnector.MySqlConnection.DoCloseAsync(Boolean changeState, IOBehavior ioBehavior) in /_/src/MySqlConnector/MySqlConnection.cs:line 1094\n at MySqlConnector.MySqlConnection.CloseAsync(Boolean changeState, IOBehavior ioBehavior) in /_/src/MySqlConnector/MySqlConnection.cs:line 1026\n at MySqlConnector.MySqlConnection.DisposeAsync() in /_/src/MySqlConnector/MySqlConnection.cs:line 704\n at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.DisposeDbConnectionAsync()\n at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.ResetStateAsync(Boolean disposeDbConnection)\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.g__Await|26_0(Int32 i, ValueTask vt, List`1 toDispose)\n at Microsoft.EntityFrameworkCore.DbContext.DisposeAsync()\n at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.g__Await|26_0(Int32 i, ValueTask vt, List`1 toDispose)\n at Microsoft.AspNetCore.Http.Features.RequestServicesFeature.g__Awaited|9_0(RequestServicesFeature servicesFeature, ValueTask vt)\n at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.g__ProcessEvents|242_0(HttpProtocol protocol, Stack`1 events)","Properties":{"TraceIdentifier":"0HN8FNHIBIPR1:00000004","EventId":{"Id":13,"Name":"ApplicationError"},"RequestPath":"/api/User/Signin"}} {"Timestamp":"2025-01-14T16:39:34.8401855+00:00","Level":"Error","MessageTemplate":"An exception occurred while iterating over the results of a query for context type '{contextType}'.{newline}{error}","TraceId":"c6d74264b31fc7b6d58cb8a78c0858ca","SpanId":"a933a2b7653a672f","Exception":"System.NullReferenceException: Object reference not set to an instance of an object.\n at MySqlConnector.MySqlDataReader.ActivateResultSet(CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 133\n at MySqlConnector.MySqlDataReader.CreateAsync(CommandListPosition commandListPosition, ICommandPayloadCreator payloadCreator, IDictionary`2 cachedProcedures, IMySqlCommand command, CommandBehavior behavior, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 493\n at MySqlConnector.Core.CommandExecutor.ExecuteReaderAsync(IReadOnlyList`1 commands, ICommandPayloadCreator payloadCreator, CommandBehavior behavior, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/CommandExecutor.cs:line 77\n at MySqlConnector.MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 345\n at MySqlConnector.MySqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 337\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)\n at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()","Properties":{"contextType":"OnlineClinic.DAL.OC_DBContext","newline":"\n","error":"System.NullReferenceException: Object reference not set to an instance of an object.\n at MySqlConnector.MySqlDataReader.ActivateResultSet(CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 133\n at MySqlConnector.MySqlDataReader.CreateAsync(CommandListPosition commandListPosition, ICommandPayloadCreator payloadCreator, IDictionary`2 cachedProcedures, IMySqlCommand command, CommandBehavior behavior, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 493\n at MySqlConnector.Core.CommandExecutor.ExecuteReaderAsync(IReadOnlyList`1 commands, ICommandPayloadCreator payloadCreator, CommandBehavior behavior, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/CommandExecutor.cs:line 77\n at MySqlConnector.MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 345\n at MySqlConnector.MySqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 337\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)\n at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)\n at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()","EventId":{"Id":10100,"Name":"Microsoft.EntityFrameworkCore.Query.QueryIterationFailed"},"ActionName":"UserController.Signin ","RequestPath":"/api/User/Signin"}} {"Timestamp":"2025-01-14T16:53:14.7108335+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Started {@Timestamp}","Properties":{"Timestamp":"2025-01-14T16:53:14.7108184Z"}} {"Timestamp":"2025-01-14T16:53:14.7202534+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Completed {@Timestamp}","Properties":{"Timestamp":"2025-01-14T16:53:14.7202318Z"}} {"Timestamp":"2025-01-14T17:53:14.7223685+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Started {@Timestamp}","Properties":{"Timestamp":"2025-01-14T17:53:14.7223492Z"}} {"Timestamp":"2025-01-14T17:53:14.7318889+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Completed {@Timestamp}","Properties":{"Timestamp":"2025-01-14T17:53:14.7318712Z"}} {"Timestamp":"2025-01-14T18:53:14.7038161+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Started {@Timestamp}","Properties":{"Timestamp":"2025-01-14T18:53:14.7037997Z"}} {"Timestamp":"2025-01-14T18:53:14.7116088+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Completed {@Timestamp}","Properties":{"Timestamp":"2025-01-14T18:53:14.7115131Z"}} {"Timestamp":"2025-01-14T19:53:14.7200367+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Started {@Timestamp}","Properties":{"Timestamp":"2025-01-14T19:53:14.7200208Z"}} {"Timestamp":"2025-01-14T19:53:14.7287096+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Completed {@Timestamp}","Properties":{"Timestamp":"2025-01-14T19:53:14.7286917Z"}} {"Timestamp":"2025-01-14T20:53:14.7082319+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Started {@Timestamp}","Properties":{"Timestamp":"2025-01-14T20:53:14.7082146Z"}} {"Timestamp":"2025-01-14T20:53:14.7170190+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Completed {@Timestamp}","Properties":{"Timestamp":"2025-01-14T20:53:14.7170014Z"}} {"Timestamp":"2025-01-14T21:53:14.7121191+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Started {@Timestamp}","Properties":{"Timestamp":"2025-01-14T21:53:14.7121015Z"}} {"Timestamp":"2025-01-14T21:53:14.7218673+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Completed {@Timestamp}","Properties":{"Timestamp":"2025-01-14T21:53:14.7218440Z"}} {"Timestamp":"2025-01-14T22:53:14.7107039+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Started {@Timestamp}","Properties":{"Timestamp":"2025-01-14T22:53:14.7106886Z"}} {"Timestamp":"2025-01-14T22:53:14.7183194+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Completed {@Timestamp}","Properties":{"Timestamp":"2025-01-14T22:53:14.7183029Z"}} {"Timestamp":"2025-01-14T23:53:14.7058325+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Started {@Timestamp}","Properties":{"Timestamp":"2025-01-14T23:53:14.7058186Z"}} {"Timestamp":"2025-01-14T23:53:14.7139202+00:00","Level":"Information","MessageTemplate":" Background Task: Refresh Session Booking Status Completed {@Timestamp}","Properties":{"Timestamp":"2025-01-14T23:53:14.7139005Z"}}