Failed jobs do not become expired to allow you to re-queue them without any
time pressure. You should re-queue or delete them manually, or apply AutomaticRetry(OnAttemptsExceeded = AttemptsExceededAction.Delete)
attribute to delete them automatically.
An exception occurred during performance of the job. Fewer details...
07/22/2025 11:08:28
Microsoft.EntityFrameworkCore.DbUpdateException
An error occurred while saving the entity changes. See the inner exception for details.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details.
---> Npgsql.PostgresException (0x80004005): 22001: value too long for type character varying(5)
at Npgsql.Internal.NpgsqlConnector.<ReadMessage>g__ReadMessageLong|215_0(NpgsqlConnectorconnector, Booleanasync, DataRowLoadingModedataRowLoadingMode, BooleanreadingNotifications, BooleanisReadingPrependedMessage)
at Npgsql.NpgsqlDataReader.NextResult(Booleanasync, BooleanisConsuming, CancellationTokencancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal.NpgsqlModificationCommandBatch.ConsumeAsync(RelationalDataReaderreader, CancellationTokencancellationToken)
Exception data:
Severity: ERROR
SqlState: 22001
MessageText: value too long for type character varying(5)
File: varchar.c
Line: 641
Routine: varchar
--- End of inner exception stack trace ---
at Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal.NpgsqlModificationCommandBatch.ConsumeAsync(RelationalDataReaderreader, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnectionconnection, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnectionconnection, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1commandBatches, IRelationalConnectionconnection, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1commandBatches, IRelationalConnectionconnection, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1commandBatches, IRelationalConnectionconnection, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1entriesToSave, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManagerstateManager, BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.ExecuteAsync[TState,TResult](TStatestate, Func`4operation, Func`4verifySucceeded, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskLog(TaskLogLevellogLevel, String[]messages) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 154
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskError(Exceptionex, String[]msgs) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 146
at EkolPY.Integration.Service.IntegrationTaskService.SetFailedWithException(Stringmessage, Exceptionex) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 247
at EkolPY.Integration.Manager.TaskBase`1.ProcessRecurringAsync(PerformContextcontext, StringqueueName, TaskTypetaskType) in /src/Integration/EkolPY.Integration.Manager/TaskBase.cs:line 162
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
07/22/2025 11:06:10
System.InvalidOperationException
A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
System.InvalidOperationException: A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
at Microsoft.EntityFrameworkCore.Infrastructure.Internal.ConcurrencyDetector.EnterCriticalSection()
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1entriesToSave, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManagerstateManager, BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.ExecuteAsync[TState,TResult](TStatestate, Func`4operation, Func`4verifySucceeded, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskLog(TaskLogLevellogLevel, String[]messages) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 154
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskError(Exceptionex, String[]msgs) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 146
at EkolPY.Integration.Service.IntegrationTaskService.SetFailedWithException(Stringmessage, Exceptionex) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 247
at EkolPY.Integration.Manager.TaskBase`1.ProcessRecurringAsync(PerformContextcontext, StringqueueName, TaskTypetaskType) in /src/Integration/EkolPY.Integration.Manager/TaskBase.cs:line 162
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
07/22/2025 11:00:03
Npgsql.NpgsqlOperationInProgressException
The connection is already in state 'Executing'
Npgsql.NpgsqlOperationInProgressException (0x80004005): The connection is already in state 'Executing'
at Npgsql.Internal.NpgsqlConnector.<StartUserAction>g__DoStartUserAction|259_0(<>c__DisplayClass259_0& )
at Npgsql.Internal.NpgsqlConnector.StartUserAction(ConnectorStatenewState, NpgsqlCommandcommand, CancellationTokencancellationToken, BooleanattemptPgCancellation)
at Npgsql.Internal.NpgsqlConnector.Reset(Booleanasync)
at Npgsql.NpgsqlConnection.CloseAsync(Booleanasync)
at Npgsql.NpgsqlConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.ClearTransaction()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.Dispose()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.ResetState(BooleandisposeDbConnection)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Microsoft.EntityFrameworkCore.DbContext.Dispose()
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Hangfire.JobActivatorScope.Dispose()
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during processing of a background job. More details...
07/22/2025 10:56:15
Npgsql.NpgsqlOperationInProgressException
The connection is already in state 'Executing'
Npgsql.NpgsqlOperationInProgressException (0x80004005): The connection is already in state 'Executing'
at Npgsql.Internal.NpgsqlConnector.<StartUserAction>g__DoStartUserAction|259_0(<>c__DisplayClass259_0& )
at Npgsql.Internal.NpgsqlConnector.StartUserAction(ConnectorStatenewState, NpgsqlCommandcommand, CancellationTokencancellationToken, BooleanattemptPgCancellation)
at Npgsql.Internal.NpgsqlConnector.Reset(Booleanasync)
at Npgsql.NpgsqlConnection.CloseAsync(Booleanasync)
at Npgsql.NpgsqlConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.ClearTransaction()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.Dispose()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.ResetState(BooleandisposeDbConnection)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Microsoft.EntityFrameworkCore.DbContext.Dispose()
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Hangfire.JobActivatorScope.Dispose()
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during processing of a background job. More details...
07/22/2025 10:56:01
Npgsql.NpgsqlOperationInProgressException
The connection is already in state 'Executing'
Npgsql.NpgsqlOperationInProgressException (0x80004005): The connection is already in state 'Executing'
at Npgsql.Internal.NpgsqlConnector.<StartUserAction>g__DoStartUserAction|259_0(<>c__DisplayClass259_0& )
at Npgsql.Internal.NpgsqlConnector.StartUserAction(ConnectorStatenewState, NpgsqlCommandcommand, CancellationTokencancellationToken, BooleanattemptPgCancellation)
at Npgsql.Internal.NpgsqlConnector.Reset(Booleanasync)
at Npgsql.NpgsqlConnection.CloseAsync(Booleanasync)
at Npgsql.NpgsqlConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.ClearTransaction()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.Dispose()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.ResetState(BooleandisposeDbConnection)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Microsoft.EntityFrameworkCore.DbContext.Dispose()
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Hangfire.JobActivatorScope.Dispose()
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
07/22/2025 10:39:11
Microsoft.EntityFrameworkCore.DbUpdateException
An error occurred while saving the entity changes. See the inner exception for details.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details.
---> Npgsql.PostgresException (0x80004005): 22001: value too long for type character varying(5)
at Npgsql.Internal.NpgsqlConnector.<ReadMessage>g__ReadMessageLong|215_0(NpgsqlConnectorconnector, Booleanasync, DataRowLoadingModedataRowLoadingMode, BooleanreadingNotifications, BooleanisReadingPrependedMessage)
at Npgsql.NpgsqlDataReader.NextResult(Booleanasync, BooleanisConsuming, CancellationTokencancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal.NpgsqlModificationCommandBatch.ConsumeAsync(RelationalDataReaderreader, CancellationTokencancellationToken)
Exception data:
Severity: ERROR
SqlState: 22001
MessageText: value too long for type character varying(5)
File: varchar.c
Line: 641
Routine: varchar
--- End of inner exception stack trace ---
at Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal.NpgsqlModificationCommandBatch.ConsumeAsync(RelationalDataReaderreader, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnectionconnection, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnectionconnection, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1commandBatches, IRelationalConnectionconnection, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1commandBatches, IRelationalConnectionconnection, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1commandBatches, IRelationalConnectionconnection, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1entriesToSave, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManagerstateManager, BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.ExecuteAsync[TState,TResult](TStatestate, Func`4operation, Func`4verifySucceeded, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskLog(TaskLogLevellogLevel, String[]messages) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 154
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskError(Exceptionex, String[]msgs) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 146
at EkolPY.Integration.Service.IntegrationTaskService.SetFailedWithException(Stringmessage, Exceptionex) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 247
at EkolPY.Integration.Manager.TaskBase`1.ProcessRecurringAsync(PerformContextcontext, StringqueueName, TaskTypetaskType) in /src/Integration/EkolPY.Integration.Manager/TaskBase.cs:line 162
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
07/22/2025 10:38:24
Npgsql.NpgsqlOperationInProgressException
The connection is already in state 'Executing'
Npgsql.NpgsqlOperationInProgressException (0x80004005): The connection is already in state 'Executing'
at Npgsql.Internal.NpgsqlConnector.<StartUserAction>g__DoStartUserAction|259_0(<>c__DisplayClass259_0& )
at Npgsql.Internal.NpgsqlConnector.StartUserAction(ConnectorStatenewState, NpgsqlCommandcommand, CancellationTokencancellationToken, BooleanattemptPgCancellation)
at Npgsql.Internal.NpgsqlConnector.Reset(Booleanasync)
at Npgsql.NpgsqlConnection.CloseAsync(Booleanasync)
at Npgsql.NpgsqlConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.ClearTransaction()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.Dispose()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.ResetState(BooleandisposeDbConnection)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Microsoft.EntityFrameworkCore.DbContext.Dispose()
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Hangfire.JobActivatorScope.Dispose()
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during processing of a background job. More details...
07/22/2025 10:32:15
Npgsql.NpgsqlOperationInProgressException
The connection is already in state 'Executing'
Npgsql.NpgsqlOperationInProgressException (0x80004005): The connection is already in state 'Executing'
at Npgsql.Internal.NpgsqlConnector.<StartUserAction>g__DoStartUserAction|259_0(<>c__DisplayClass259_0& )
at Npgsql.Internal.NpgsqlConnector.StartUserAction(ConnectorStatenewState, NpgsqlCommandcommand, CancellationTokencancellationToken, BooleanattemptPgCancellation)
at Npgsql.Internal.NpgsqlConnector.Reset(Booleanasync)
at Npgsql.NpgsqlConnection.CloseAsync(Booleanasync)
at Npgsql.NpgsqlConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.ClearTransaction()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.Dispose()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.ResetState(BooleandisposeDbConnection)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Microsoft.EntityFrameworkCore.DbContext.Dispose()
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Hangfire.JobActivatorScope.Dispose()
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
07/22/2025 10:30:31
System.InvalidOperationException
A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
System.InvalidOperationException: A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
at Microsoft.EntityFrameworkCore.Infrastructure.Internal.ConcurrencyDetector.EnterCriticalSection()
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1entriesToSave, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManagerstateManager, BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.ExecuteAsync[TState,TResult](TStatestate, Func`4operation, Func`4verifySucceeded, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskLog(TaskLogLevellogLevel, String[]messages) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 154
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskError(Exceptionex, String[]msgs) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 146
at EkolPY.Integration.Service.IntegrationTaskService.SetFailedWithException(Stringmessage, Exceptionex) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 247
at EkolPY.Integration.Manager.TaskBase`1.ProcessRecurringAsync(PerformContextcontext, StringqueueName, TaskTypetaskType) in /src/Integration/EkolPY.Integration.Manager/TaskBase.cs:line 162
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
07/22/2025 10:30:14
Npgsql.NpgsqlOperationInProgressException
The connection is already in state 'Executing'
Npgsql.NpgsqlOperationInProgressException (0x80004005): The connection is already in state 'Executing'
at Npgsql.Internal.NpgsqlConnector.<StartUserAction>g__DoStartUserAction|259_0(<>c__DisplayClass259_0& )
at Npgsql.Internal.NpgsqlConnector.StartUserAction(ConnectorStatenewState, NpgsqlCommandcommand, CancellationTokencancellationToken, BooleanattemptPgCancellation)
at Npgsql.Internal.NpgsqlConnector.Reset(Booleanasync)
at Npgsql.NpgsqlConnection.CloseAsync(Booleanasync)
at Npgsql.NpgsqlConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.ClearTransaction()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.Dispose()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.ResetState(BooleandisposeDbConnection)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Microsoft.EntityFrameworkCore.DbContext.Dispose()
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Hangfire.JobActivatorScope.Dispose()
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
07/22/2025 10:30:30
Microsoft.EntityFrameworkCore.DbUpdateException
An error occurred while saving the entity changes. See the inner exception for details.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details.
---> Npgsql.PostgresException (0x80004005): 22001: value too long for type character varying(5)
at Npgsql.Internal.NpgsqlConnector.<ReadMessage>g__ReadMessageLong|215_0(NpgsqlConnectorconnector, Booleanasync, DataRowLoadingModedataRowLoadingMode, BooleanreadingNotifications, BooleanisReadingPrependedMessage)
at Npgsql.NpgsqlDataReader.NextResult(Booleanasync, BooleanisConsuming, CancellationTokencancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal.NpgsqlModificationCommandBatch.ConsumeAsync(RelationalDataReaderreader, CancellationTokencancellationToken)
Exception data:
Severity: ERROR
SqlState: 22001
MessageText: value too long for type character varying(5)
File: varchar.c
Line: 641
Routine: varchar
--- End of inner exception stack trace ---
at Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal.NpgsqlModificationCommandBatch.ConsumeAsync(RelationalDataReaderreader, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnectionconnection, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnectionconnection, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1commandBatches, IRelationalConnectionconnection, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1commandBatches, IRelationalConnectionconnection, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1commandBatches, IRelationalConnectionconnection, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1entriesToSave, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManagerstateManager, BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.ExecuteAsync[TState,TResult](TStatestate, Func`4operation, Func`4verifySucceeded, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskLog(TaskLogLevellogLevel, String[]messages) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 154
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskError(Exceptionex, String[]msgs) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 146
at EkolPY.Integration.Service.IntegrationTaskService.SetFailedWithException(Stringmessage, Exceptionex) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 247
at EkolPY.Integration.Manager.TaskBase`1.ProcessRecurringAsync(PerformContextcontext, StringqueueName, TaskTypetaskType) in /src/Integration/EkolPY.Integration.Manager/TaskBase.cs:line 162
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
07/22/2025 10:30:12
Npgsql.NpgsqlOperationInProgressException
The connection is already in state 'Executing'
Npgsql.NpgsqlOperationInProgressException (0x80004005): The connection is already in state 'Executing'
at Npgsql.Internal.NpgsqlConnector.<StartUserAction>g__DoStartUserAction|259_0(<>c__DisplayClass259_0& )
at Npgsql.Internal.NpgsqlConnector.StartUserAction(ConnectorStatenewState, NpgsqlCommandcommand, CancellationTokencancellationToken, BooleanattemptPgCancellation)
at Npgsql.Internal.NpgsqlConnector.Reset(Booleanasync)
at Npgsql.NpgsqlConnection.CloseAsync(Booleanasync)
at Npgsql.NpgsqlConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.ClearTransaction()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.Dispose()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.ResetState(BooleandisposeDbConnection)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Microsoft.EntityFrameworkCore.DbContext.Dispose()
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Hangfire.JobActivatorScope.Dispose()
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during processing of a background job. More details...
07/22/2025 10:29:12
Npgsql.NpgsqlOperationInProgressException
The connection is already in state 'Executing'
Npgsql.NpgsqlOperationInProgressException (0x80004005): The connection is already in state 'Executing'
at Npgsql.Internal.NpgsqlConnector.<StartUserAction>g__DoStartUserAction|259_0(<>c__DisplayClass259_0& )
at Npgsql.Internal.NpgsqlConnector.StartUserAction(ConnectorStatenewState, NpgsqlCommandcommand, CancellationTokencancellationToken, BooleanattemptPgCancellation)
at Npgsql.Internal.NpgsqlConnector.Reset(Booleanasync)
at Npgsql.NpgsqlConnection.CloseAsync(Booleanasync)
at Npgsql.NpgsqlConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.ClearTransaction()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.Dispose()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.ResetState(BooleandisposeDbConnection)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Microsoft.EntityFrameworkCore.DbContext.Dispose()
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Hangfire.JobActivatorScope.Dispose()
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during processing of a background job. More details...
07/22/2025 10:28:12
Npgsql.NpgsqlOperationInProgressException
The connection is already in state 'Executing'
Npgsql.NpgsqlOperationInProgressException (0x80004005): The connection is already in state 'Executing'
at Npgsql.Internal.NpgsqlConnector.<StartUserAction>g__DoStartUserAction|259_0(<>c__DisplayClass259_0& )
at Npgsql.Internal.NpgsqlConnector.StartUserAction(ConnectorStatenewState, NpgsqlCommandcommand, CancellationTokencancellationToken, BooleanattemptPgCancellation)
at Npgsql.Internal.NpgsqlConnector.Reset(Booleanasync)
at Npgsql.NpgsqlConnection.CloseAsync(Booleanasync)
at Npgsql.NpgsqlConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.ClearTransaction()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.Dispose()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.ResetState(BooleandisposeDbConnection)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Microsoft.EntityFrameworkCore.DbContext.Dispose()
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Hangfire.JobActivatorScope.Dispose()
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
07/22/2025 10:20:26
Microsoft.EntityFrameworkCore.DbUpdateException
An error occurred while saving the entity changes. See the inner exception for details.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details.
---> Npgsql.PostgresException (0x80004005): 22001: value too long for type character varying(5)
at Npgsql.Internal.NpgsqlConnector.<ReadMessage>g__ReadMessageLong|215_0(NpgsqlConnectorconnector, Booleanasync, DataRowLoadingModedataRowLoadingMode, BooleanreadingNotifications, BooleanisReadingPrependedMessage)
at Npgsql.NpgsqlDataReader.NextResult(Booleanasync, BooleanisConsuming, CancellationTokencancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal.NpgsqlModificationCommandBatch.ConsumeAsync(RelationalDataReaderreader, CancellationTokencancellationToken)
Exception data:
Severity: ERROR
SqlState: 22001
MessageText: value too long for type character varying(5)
File: varchar.c
Line: 641
Routine: varchar
--- End of inner exception stack trace ---
at Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal.NpgsqlModificationCommandBatch.ConsumeAsync(RelationalDataReaderreader, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnectionconnection, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnectionconnection, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1commandBatches, IRelationalConnectionconnection, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1commandBatches, IRelationalConnectionconnection, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1commandBatches, IRelationalConnectionconnection, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1entriesToSave, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManagerstateManager, BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.ExecuteAsync[TState,TResult](TStatestate, Func`4operation, Func`4verifySucceeded, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskLog(TaskLogLevellogLevel, String[]messages) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 154
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskError(Exceptionex, String[]msgs) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 146
at EkolPY.Integration.Service.IntegrationTaskService.SetFailedWithException(Stringmessage, Exceptionex) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 247
at EkolPY.Integration.Manager.TaskBase`1.ProcessRecurringAsync(PerformContextcontext, StringqueueName, TaskTypetaskType) in /src/Integration/EkolPY.Integration.Manager/TaskBase.cs:line 162
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
07/22/2025 09:16:27
Microsoft.EntityFrameworkCore.DbUpdateException
An error occurred while saving the entity changes. See the inner exception for details.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details.
---> Npgsql.PostgresException (0x80004005): 22001: value too long for type character varying(5)
at Npgsql.Internal.NpgsqlConnector.<ReadMessage>g__ReadMessageLong|215_0(NpgsqlConnectorconnector, Booleanasync, DataRowLoadingModedataRowLoadingMode, BooleanreadingNotifications, BooleanisReadingPrependedMessage)
at Npgsql.NpgsqlDataReader.NextResult(Booleanasync, BooleanisConsuming, CancellationTokencancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal.NpgsqlModificationCommandBatch.ConsumeAsync(RelationalDataReaderreader, CancellationTokencancellationToken)
Exception data:
Severity: ERROR
SqlState: 22001
MessageText: value too long for type character varying(5)
File: varchar.c
Line: 641
Routine: varchar
--- End of inner exception stack trace ---
at Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal.NpgsqlModificationCommandBatch.ConsumeAsync(RelationalDataReaderreader, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnectionconnection, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnectionconnection, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1commandBatches, IRelationalConnectionconnection, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1commandBatches, IRelationalConnectionconnection, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1commandBatches, IRelationalConnectionconnection, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1entriesToSave, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManagerstateManager, BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.ExecuteAsync[TState,TResult](TStatestate, Func`4operation, Func`4verifySucceeded, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskLog(TaskLogLevellogLevel, String[]messages) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 154
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskError(Exceptionex, String[]msgs) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 144
at EkolPY.Integration.Service.IntegrationTaskService.SetFailedWithException(Stringmessage, Exceptionex) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 245
at EkolPY.Integration.Manager.TaskBase`1.ProcessRecurringAsync(PerformContextcontext, StringqueueName, TaskTypetaskType) in /src/Integration/EkolPY.Integration.Manager/TaskBase.cs:line 162
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
07/22/2025 09:05:15
Microsoft.EntityFrameworkCore.DbUpdateException
An error occurred while saving the entity changes. See the inner exception for details.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details.
---> Npgsql.PostgresException (0x80004005): 22001: value too long for type character varying(5)
at Npgsql.Internal.NpgsqlConnector.<ReadMessage>g__ReadMessageLong|215_0(NpgsqlConnectorconnector, Booleanasync, DataRowLoadingModedataRowLoadingMode, BooleanreadingNotifications, BooleanisReadingPrependedMessage)
at Npgsql.NpgsqlDataReader.NextResult(Booleanasync, BooleanisConsuming, CancellationTokencancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal.NpgsqlModificationCommandBatch.ConsumeAsync(RelationalDataReaderreader, CancellationTokencancellationToken)
Exception data:
Severity: ERROR
SqlState: 22001
MessageText: value too long for type character varying(5)
File: varchar.c
Line: 641
Routine: varchar
--- End of inner exception stack trace ---
at Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal.NpgsqlModificationCommandBatch.ConsumeAsync(RelationalDataReaderreader, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnectionconnection, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnectionconnection, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1commandBatches, IRelationalConnectionconnection, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1commandBatches, IRelationalConnectionconnection, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1commandBatches, IRelationalConnectionconnection, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1entriesToSave, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManagerstateManager, BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.ExecuteAsync[TState,TResult](TStatestate, Func`4operation, Func`4verifySucceeded, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskLog(TaskLogLevellogLevel, String[]messages) in /Users/hakancicek/Repos/ekol360/marketplaceintegration/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 154
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskError(Exceptionex, String[]msgs) in /Users/hakancicek/Repos/ekol360/marketplaceintegration/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 144
at EkolPY.Integration.Service.IntegrationTaskService.SetFailedWithException(Stringmessage, Exceptionex) in /Users/hakancicek/Repos/ekol360/marketplaceintegration/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 244
at EkolPY.Integration.Manager.TaskBase`1.ProcessRecurringAsync(PerformContextcontext, StringqueueName, TaskTypetaskType) in /Users/hakancicek/Repos/ekol360/marketplaceintegration/Integration/EkolPY.Integration.Manager/TaskBase.cs:line 162
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
An exception occurred during performance of the job. More details...
07/24/2025 07:38:02
Microsoft.EntityFrameworkCore.DbUpdateException
An error occurred while saving the entity changes. See the inner exception for details.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details.
---> Npgsql.PostgresException (0x80004005): 22001: value too long for type character varying(5)
at Npgsql.Internal.NpgsqlConnector.<ReadMessage>g__ReadMessageLong|215_0(NpgsqlConnectorconnector, Booleanasync, DataRowLoadingModedataRowLoadingMode, BooleanreadingNotifications, BooleanisReadingPrependedMessage)
at Npgsql.NpgsqlDataReader.NextResult(Booleanasync, BooleanisConsuming, CancellationTokencancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal.NpgsqlModificationCommandBatch.ConsumeAsync(RelationalDataReaderreader, CancellationTokencancellationToken)
Exception data:
Severity: ERROR
SqlState: 22001
MessageText: value too long for type character varying(5)
File: varchar.c
Line: 641
Routine: varchar
--- End of inner exception stack trace ---
at Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal.NpgsqlModificationCommandBatch.ConsumeAsync(RelationalDataReaderreader, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnectionconnection, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnectionconnection, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1commandBatches, IRelationalConnectionconnection, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1commandBatches, IRelationalConnectionconnection, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1commandBatches, IRelationalConnectionconnection, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1entriesToSave, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManagerstateManager, BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.ExecuteAsync[TState,TResult](TStatestate, Func`4operation, Func`4verifySucceeded, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskLog(TaskLogLevellogLevel, String[]messages) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 154
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskError(Exceptionex, String[]msgs) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 146
at EkolPY.Integration.Service.IntegrationTaskService.SetFailedWithException(Stringmessage, Exceptionex) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 247
at EkolPY.Integration.Manager.TaskBase`1.ProcessRecurringAsync(PerformContextcontext, StringqueueName, TaskTypetaskType) in /src/Integration/EkolPY.Integration.Manager/TaskBase.cs:line 162
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
07/21/2025 10:15:11
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at Npgsql.NpgsqlTransaction.Dispose(Booleandisposing)
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.Dispose()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.ResetState(BooleandisposeDbConnection)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Microsoft.EntityFrameworkCore.DbContext.Dispose()
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Hangfire.JobActivatorScope.Dispose()
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
07/21/2025 10:02:15
System.InvalidOperationException
A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
System.InvalidOperationException: A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
at Microsoft.EntityFrameworkCore.Infrastructure.Internal.ConcurrencyDetector.EnterCriticalSection()
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1entriesToSave, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManagerstateManager, BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.ExecuteAsync[TState,TResult](TStatestate, Func`4operation, Func`4verifySucceeded, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskLog(TaskLogLevellogLevel, String[]messages) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 154
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskError(Exceptionex, String[]msgs) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 146
at EkolPY.Integration.Service.IntegrationTaskService.SetFailedWithException(Stringmessage, Exceptionex) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 246
at EkolPY.Integration.Manager.TaskBase`1.ProcessRecurringAsync(PerformContextcontext, StringqueueName, TaskTypetaskType) in /src/Integration/EkolPY.Integration.Manager/TaskBase.cs:line 162
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
07/21/2025 10:02:30
Npgsql.NpgsqlOperationInProgressException
The connection is already in state 'Executing'
Npgsql.NpgsqlOperationInProgressException (0x80004005): The connection is already in state 'Executing'
at Npgsql.Internal.NpgsqlConnector.<StartUserAction>g__DoStartUserAction|259_0(<>c__DisplayClass259_0& )
at Npgsql.Internal.NpgsqlConnector.StartUserAction(ConnectorStatenewState, NpgsqlCommandcommand, CancellationTokencancellationToken, BooleanattemptPgCancellation)
at Npgsql.Internal.NpgsqlConnector.Reset(Booleanasync)
at Npgsql.NpgsqlConnection.CloseAsync(Booleanasync)
at Npgsql.NpgsqlConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.ClearTransaction()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.Dispose()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.ResetState(BooleandisposeDbConnection)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Microsoft.EntityFrameworkCore.DbContext.Dispose()
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Hangfire.JobActivatorScope.Dispose()
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during processing of a background job. More details...
07/21/2025 10:01:17
Npgsql.NpgsqlOperationInProgressException
The connection is already in state 'Executing'
Npgsql.NpgsqlOperationInProgressException (0x80004005): The connection is already in state 'Executing'
at Npgsql.Internal.NpgsqlConnector.<StartUserAction>g__DoStartUserAction|259_0(<>c__DisplayClass259_0& )
at Npgsql.Internal.NpgsqlConnector.StartUserAction(ConnectorStatenewState, NpgsqlCommandcommand, CancellationTokencancellationToken, BooleanattemptPgCancellation)
at Npgsql.Internal.NpgsqlConnector.Reset(Booleanasync)
at Npgsql.NpgsqlConnection.CloseAsync(Booleanasync)
at Npgsql.NpgsqlConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.ClearTransaction()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.Dispose()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.ResetState(BooleandisposeDbConnection)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Microsoft.EntityFrameworkCore.DbContext.Dispose()
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Hangfire.JobActivatorScope.Dispose()
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during processing of a background job. More details...
07/21/2025 10:00:13
Npgsql.NpgsqlOperationInProgressException
The connection is already in state 'Executing'
Npgsql.NpgsqlOperationInProgressException (0x80004005): The connection is already in state 'Executing'
at Npgsql.Internal.NpgsqlConnector.<StartUserAction>g__DoStartUserAction|259_0(<>c__DisplayClass259_0& )
at Npgsql.Internal.NpgsqlConnector.StartUserAction(ConnectorStatenewState, NpgsqlCommandcommand, CancellationTokencancellationToken, BooleanattemptPgCancellation)
at Npgsql.Internal.NpgsqlConnector.Reset(Booleanasync)
at Npgsql.NpgsqlConnection.CloseAsync(Booleanasync)
at Npgsql.NpgsqlConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.ClearTransaction()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.Dispose()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.ResetState(BooleandisposeDbConnection)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Microsoft.EntityFrameworkCore.DbContext.Dispose()
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Hangfire.JobActivatorScope.Dispose()
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
07/21/2025 10:00:14
System.InvalidOperationException
A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
System.InvalidOperationException: A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
at Microsoft.EntityFrameworkCore.Infrastructure.Internal.ConcurrencyDetector.EnterCriticalSection()
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1entriesToSave, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManagerstateManager, BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.ExecuteAsync[TState,TResult](TStatestate, Func`4operation, Func`4verifySucceeded, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskLog(TaskLogLevellogLevel, String[]messages) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 154
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskError(Exceptionex, String[]msgs) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 146
at EkolPY.Integration.Service.IntegrationTaskService.SetFailedWithException(Stringmessage, Exceptionex) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 246
at EkolPY.Integration.Manager.TaskBase`1.ProcessRecurringAsync(PerformContextcontext, StringqueueName, TaskTypetaskType) in /src/Integration/EkolPY.Integration.Manager/TaskBase.cs:line 162
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
07/21/2025 10:00:13
System.InvalidOperationException
A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
System.InvalidOperationException: A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
at Microsoft.EntityFrameworkCore.Infrastructure.Internal.ConcurrencyDetector.EnterCriticalSection()
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1entriesToSave, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManagerstateManager, BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.ExecuteAsync[TState,TResult](TStatestate, Func`4operation, Func`4verifySucceeded, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskLog(TaskLogLevellogLevel, String[]messages) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 154
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskError(Exceptionex, String[]msgs) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 146
at EkolPY.Integration.Service.IntegrationTaskService.SetFailedWithException(Stringmessage, Exceptionex) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 246
at EkolPY.Integration.Manager.TaskBase`1.ProcessRecurringAsync(PerformContextcontext, StringqueueName, TaskTypetaskType) in /src/Integration/EkolPY.Integration.Manager/TaskBase.cs:line 162
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
07/21/2025 10:00:14
System.InvalidOperationException
A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
System.InvalidOperationException: A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
at Microsoft.EntityFrameworkCore.Infrastructure.Internal.ConcurrencyDetector.EnterCriticalSection()
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1entriesToSave, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManagerstateManager, BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.ExecuteAsync[TState,TResult](TStatestate, Func`4operation, Func`4verifySucceeded, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskLog(TaskLogLevellogLevel, String[]messages) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 154
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskError(Exceptionex, String[]msgs) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 146
at EkolPY.Integration.Service.IntegrationTaskService.SetFailedWithException(Stringmessage, Exceptionex) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 246
at EkolPY.Integration.Manager.TaskBase`1.ProcessRecurringAsync(PerformContextcontext, StringqueueName, TaskTypetaskType) in /src/Integration/EkolPY.Integration.Manager/TaskBase.cs:line 162
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
07/21/2025 07:10:08
Npgsql.NpgsqlOperationInProgressException
The connection is already in state 'Executing'
Npgsql.NpgsqlOperationInProgressException (0x80004005): The connection is already in state 'Executing'
at Npgsql.Internal.NpgsqlConnector.<StartUserAction>g__DoStartUserAction|259_0(<>c__DisplayClass259_0& )
at Npgsql.Internal.NpgsqlConnector.StartUserAction(ConnectorStatenewState, NpgsqlCommandcommand, CancellationTokencancellationToken, BooleanattemptPgCancellation)
at Npgsql.Internal.NpgsqlConnector.Reset(Booleanasync)
at Npgsql.NpgsqlConnection.CloseAsync(Booleanasync)
at Npgsql.NpgsqlConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.ClearTransaction()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.Dispose()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.ResetState(BooleandisposeDbConnection)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Microsoft.EntityFrameworkCore.DbContext.Dispose()
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Hangfire.JobActivatorScope.Dispose()
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
07/20/2025 12:30:12
System.InvalidOperationException
A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
System.InvalidOperationException: A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
at Microsoft.EntityFrameworkCore.Infrastructure.Internal.ConcurrencyDetector.EnterCriticalSection()
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1entriesToSave, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManagerstateManager, BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.ExecuteAsync[TState,TResult](TStatestate, Func`4operation, Func`4verifySucceeded, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskLog(TaskLogLevellogLevel, String[]messages) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 154
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskError(Exceptionex, String[]msgs) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 146
at EkolPY.Integration.Service.IntegrationTaskService.SetFailedWithException(Stringmessage, Exceptionex) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 246
at EkolPY.Integration.Manager.TaskBase`1.ProcessRecurringAsync(PerformContextcontext, StringqueueName, TaskTypetaskType) in /src/Integration/EkolPY.Integration.Manager/TaskBase.cs:line 162
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
07/20/2025 12:10:24
System.InvalidOperationException
The property 'IntegrationTaskLog.Id' has a temporary value while attempting to change the entity's state to 'Unchanged'. Either set a permanent value explicitly, or ensure that the database is configured to generate values for this property.
System.InvalidOperationException: The property 'IntegrationTaskLog.Id' has a temporary value while attempting to change the entity's state to 'Unchanged'. Either set a permanent value explicitly, or ensure that the database is configured to generate values for this property.
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityStateoldState, EntityStatenewState, BooleanacceptChanges, BooleanmodifyProperties)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.AcceptChanges()
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.AcceptAllChanges(IReadOnlyList`1changedEntries)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManagerstateManager, BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.ExecuteAsync[TState,TResult](TStatestate, Func`4operation, Func`4verifySucceeded, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskLog(TaskLogLevellogLevel, String[]messages) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 154
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskError(Exceptionex, String[]msgs) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 146
at EkolPY.Integration.Service.IntegrationTaskService.SetFailedWithException(Stringmessage, Exceptionex) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 246
at EkolPY.Integration.Manager.TaskBase`1.ProcessRecurringAsync(PerformContextcontext, StringqueueName, TaskTypetaskType) in /src/Integration/EkolPY.Integration.Manager/TaskBase.cs:line 162
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
07/20/2025 12:00:16
System.InvalidOperationException
A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
System.InvalidOperationException: A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
at Microsoft.EntityFrameworkCore.Infrastructure.Internal.ConcurrencyDetector.EnterCriticalSection()
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1entriesToSave, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManagerstateManager, BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.ExecuteAsync[TState,TResult](TStatestate, Func`4operation, Func`4verifySucceeded, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskLog(TaskLogLevellogLevel, String[]messages) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 154
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskError(Exceptionex, String[]msgs) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 146
at EkolPY.Integration.Service.IntegrationTaskService.SetFailedWithException(Stringmessage, Exceptionex) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 246
at EkolPY.Integration.Manager.TaskBase`1.ProcessRecurringAsync(PerformContextcontext, StringqueueName, TaskTypetaskType) in /src/Integration/EkolPY.Integration.Manager/TaskBase.cs:line 162
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
07/20/2025 11:48:06
System.InvalidOperationException
A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
System.InvalidOperationException: A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
at Microsoft.EntityFrameworkCore.Infrastructure.Internal.ConcurrencyDetector.EnterCriticalSection()
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1entriesToSave, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManagerstateManager, BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.ExecuteAsync[TState,TResult](TStatestate, Func`4operation, Func`4verifySucceeded, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskLog(TaskLogLevellogLevel, String[]messages) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 154
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskError(Exceptionex, String[]msgs) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 146
at EkolPY.Integration.Service.IntegrationTaskService.SetFailedWithException(Stringmessage, Exceptionex) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 246
at EkolPY.Integration.Manager.TaskBase`1.ProcessRecurringAsync(PerformContextcontext, StringqueueName, TaskTypetaskType) in /src/Integration/EkolPY.Integration.Manager/TaskBase.cs:line 162
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
07/20/2025 11:46:04
Npgsql.NpgsqlOperationInProgressException
The connection is already in state 'Executing'
Npgsql.NpgsqlOperationInProgressException (0x80004005): The connection is already in state 'Executing'
at Npgsql.Internal.NpgsqlConnector.<StartUserAction>g__DoStartUserAction|259_0(<>c__DisplayClass259_0& )
at Npgsql.Internal.NpgsqlConnector.StartUserAction(ConnectorStatenewState, NpgsqlCommandcommand, CancellationTokencancellationToken, BooleanattemptPgCancellation)
at Npgsql.Internal.NpgsqlConnector.Reset(Booleanasync)
at Npgsql.NpgsqlConnection.CloseAsync(Booleanasync)
at Npgsql.NpgsqlConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.ClearTransaction()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.Dispose()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.ResetState(BooleandisposeDbConnection)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Microsoft.EntityFrameworkCore.DbContext.Dispose()
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Hangfire.JobActivatorScope.Dispose()
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during processing of a background job. More details...
07/20/2025 11:46:14
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at Npgsql.NpgsqlTransaction.Dispose(Booleandisposing)
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.Dispose()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.ResetState(BooleandisposeDbConnection)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Microsoft.EntityFrameworkCore.DbContext.Dispose()
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Hangfire.JobActivatorScope.Dispose()
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during processing of a background job. More details...
07/20/2025 11:45:03
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at Npgsql.NpgsqlTransaction.Dispose(Booleandisposing)
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.Dispose()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.ResetState(BooleandisposeDbConnection)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Microsoft.EntityFrameworkCore.DbContext.Dispose()
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Hangfire.JobActivatorScope.Dispose()
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
07/20/2025 11:42:16
System.InvalidOperationException
A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
System.InvalidOperationException: A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
at Microsoft.EntityFrameworkCore.Infrastructure.Internal.ConcurrencyDetector.EnterCriticalSection()
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1entriesToSave, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManagerstateManager, BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.ExecuteAsync[TState,TResult](TStatestate, Func`4operation, Func`4verifySucceeded, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskLog(TaskLogLevellogLevel, String[]messages) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 154
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskError(Exceptionex, String[]msgs) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 146
at EkolPY.Integration.Service.IntegrationTaskService.SetFailedWithException(Stringmessage, Exceptionex) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 246
at EkolPY.Integration.Manager.TaskBase`1.ProcessRecurringAsync(PerformContextcontext, StringqueueName, TaskTypetaskType) in /src/Integration/EkolPY.Integration.Manager/TaskBase.cs:line 162
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
07/20/2025 11:40:15
System.InvalidOperationException
A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
System.InvalidOperationException: A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
at Microsoft.EntityFrameworkCore.Infrastructure.Internal.ConcurrencyDetector.EnterCriticalSection()
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1entriesToSave, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManagerstateManager, BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.ExecuteAsync[TState,TResult](TStatestate, Func`4operation, Func`4verifySucceeded, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskLog(TaskLogLevellogLevel, String[]messages) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 154
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskError(Exceptionex, String[]msgs) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 144
at EkolPY.Integration.Service.IntegrationTaskService.SetFailedWithException(Stringmessage, Exceptionex) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 244
at EkolPY.Integration.Manager.TaskBase`1.ProcessRecurringAsync(PerformContextcontext, StringqueueName, TaskTypetaskType) in /src/Integration/EkolPY.Integration.Manager/TaskBase.cs:line 162
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
07/20/2025 11:40:15
System.InvalidOperationException
A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
System.InvalidOperationException: A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
at Microsoft.EntityFrameworkCore.Infrastructure.Internal.ConcurrencyDetector.EnterCriticalSection()
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1entriesToSave, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManagerstateManager, BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.ExecuteAsync[TState,TResult](TStatestate, Func`4operation, Func`4verifySucceeded, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskLog(TaskLogLevellogLevel, String[]messages) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 154
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskError(Exceptionex, String[]msgs) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 144
at EkolPY.Integration.Service.IntegrationTaskService.SetFailedWithException(Stringmessage, Exceptionex) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 244
at EkolPY.Integration.Manager.TaskBase`1.ProcessRecurringAsync(PerformContextcontext, StringqueueName, TaskTypetaskType) in /src/Integration/EkolPY.Integration.Manager/TaskBase.cs:line 162
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
07/18/2025 13:30:04
Npgsql.NpgsqlOperationInProgressException
The connection is already in state 'Executing'
Npgsql.NpgsqlOperationInProgressException (0x80004005): The connection is already in state 'Executing'
at Npgsql.Internal.NpgsqlConnector.<StartUserAction>g__DoStartUserAction|259_0(<>c__DisplayClass259_0& )
at Npgsql.Internal.NpgsqlConnector.StartUserAction(ConnectorStatenewState, NpgsqlCommandcommand, CancellationTokencancellationToken, BooleanattemptPgCancellation)
at Npgsql.Internal.NpgsqlConnector.Reset(Booleanasync)
at Npgsql.NpgsqlConnection.CloseAsync(Booleanasync)
at Npgsql.NpgsqlConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.ClearTransaction()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.Dispose()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.ResetState(BooleandisposeDbConnection)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Microsoft.EntityFrameworkCore.DbContext.Dispose()
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Hangfire.JobActivatorScope.Dispose()
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during processing of a background job. More details...
07/18/2025 13:29:11
Npgsql.NpgsqlOperationInProgressException
The connection is already in state 'Executing'
Npgsql.NpgsqlOperationInProgressException (0x80004005): The connection is already in state 'Executing'
at Npgsql.Internal.NpgsqlConnector.<StartUserAction>g__DoStartUserAction|259_0(<>c__DisplayClass259_0& )
at Npgsql.Internal.NpgsqlConnector.StartUserAction(ConnectorStatenewState, NpgsqlCommandcommand, CancellationTokencancellationToken, BooleanattemptPgCancellation)
at Npgsql.Internal.NpgsqlConnector.Reset(Booleanasync)
at Npgsql.NpgsqlConnection.CloseAsync(Booleanasync)
at Npgsql.NpgsqlConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.ClearTransaction()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.Dispose()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.ResetState(BooleandisposeDbConnection)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Microsoft.EntityFrameworkCore.DbContext.Dispose()
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Hangfire.JobActivatorScope.Dispose()
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during processing of a background job. More details...
07/18/2025 13:26:03
Npgsql.NpgsqlOperationInProgressException
The connection is already in state 'Executing'
Npgsql.NpgsqlOperationInProgressException (0x80004005): The connection is already in state 'Executing'
at Npgsql.Internal.NpgsqlConnector.<StartUserAction>g__DoStartUserAction|259_0(<>c__DisplayClass259_0& )
at Npgsql.Internal.NpgsqlConnector.StartUserAction(ConnectorStatenewState, NpgsqlCommandcommand, CancellationTokencancellationToken, BooleanattemptPgCancellation)
at Npgsql.Internal.NpgsqlConnector.Reset(Booleanasync)
at Npgsql.NpgsqlConnection.CloseAsync(Booleanasync)
at Npgsql.NpgsqlConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.ClearTransaction()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.Dispose()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.ResetState(BooleandisposeDbConnection)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Microsoft.EntityFrameworkCore.DbContext.Dispose()
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Hangfire.JobActivatorScope.Dispose()
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
07/18/2025 13:26:02
System.InvalidOperationException
A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
System.InvalidOperationException: A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
at Microsoft.EntityFrameworkCore.Infrastructure.Internal.ConcurrencyDetector.EnterCriticalSection()
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1entriesToSave, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManagerstateManager, BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.ExecuteAsync[TState,TResult](TStatestate, Func`4operation, Func`4verifySucceeded, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskLog(TaskLogLevellogLevel, String[]messages) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 154
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskError(Exceptionex, String[]msgs) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 146
at EkolPY.Integration.Service.IntegrationTaskService.SetFailedWithException(Stringmessage, Exceptionex) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 246
at EkolPY.Integration.Manager.TaskBase`1.ProcessRecurringAsync(PerformContextcontext, StringqueueName, TaskTypetaskType) in /src/Integration/EkolPY.Integration.Manager/TaskBase.cs:line 162
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
Can not change the state to 'Processing': target method was not found. More details...
07/18/2025 09:40:59
System.IO.FileNotFoundException
Could not load file or assembly 'EkolPY.Integration.BackgroundTask, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
System.IO.FileNotFoundException: Could not load file or assembly 'EkolPY.Integration.BackgroundTask, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'EkolPY.Integration.BackgroundTask, Culture=neutral, PublicKeyToken=null'
at System.Reflection.RuntimeAssembly.InternalLoad(ObjectHandleOnStackassemblyName, ObjectHandleOnStackrequestingAssembly, StackCrawlMarkHandlestackMark, BooleanthrowOnFileNotFound, ObjectHandleOnStackassemblyLoadContext, ObjectHandleOnStackretAssembly)
at System.Reflection.Assembly.Load(AssemblyNameassemblyRef)
at Hangfire.Common.TypeHelper.AssemblyResolver(StringassemblyString)
at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKeykey, Func`2valueFactory)
at System.TypeNameParser.ResolveAssembly(StringasmName, Func`2assemblyResolver, BooleanthrowOnError, StackCrawlMark&stackMark)
at System.TypeNameParser.ConstructType(Func`2assemblyResolver, Func`4typeResolver, BooleanthrowOnError, BooleanignoreCase, StackCrawlMark&stackMark)
at System.TypeNameParser.GetType(StringtypeName, Func`2assemblyResolver, Func`4typeResolver, BooleanthrowOnError, BooleanignoreCase, StackCrawlMark&stackMark)
at System.Type.GetType(StringtypeName, Func`2assemblyResolver, Func`4typeResolver, BooleanthrowOnError)
at Hangfire.Common.TypeHelper.DefaultTypeResolver(StringtypeName)
at Hangfire.Storage.InvocationData.DeserializeJob()
An exception occurred during performance of the job. More details...
07/17/2025 12:08:44
System.InvalidOperationException
A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
System.InvalidOperationException: A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
at Microsoft.EntityFrameworkCore.Infrastructure.Internal.ConcurrencyDetector.EnterCriticalSection()
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1entriesToSave, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManagerstateManager, BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.ExecuteAsync[TState,TResult](TStatestate, Func`4operation, Func`4verifySucceeded, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskLog(TaskLogLevellogLevel, String[]messages) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 154
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskError(Exceptionex, String[]msgs) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 146
at EkolPY.Integration.Service.IntegrationTaskService.SetFailedWithException(Stringmessage, Exceptionex) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 246
at EkolPY.Integration.Manager.TaskBase`1.ProcessRecurringAsync(PerformContextcontext, StringqueueName, TaskTypetaskType) in /src/Integration/EkolPY.Integration.Manager/TaskBase.cs:line 162
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
07/17/2025 11:32:21
Npgsql.NpgsqlOperationInProgressException
The connection is already in state 'Executing'
Npgsql.NpgsqlOperationInProgressException (0x80004005): The connection is already in state 'Executing'
at Npgsql.Internal.NpgsqlConnector.<StartUserAction>g__DoStartUserAction|259_0(<>c__DisplayClass259_0& )
at Npgsql.Internal.NpgsqlConnector.StartUserAction(ConnectorStatenewState, NpgsqlCommandcommand, CancellationTokencancellationToken, BooleanattemptPgCancellation)
at Npgsql.Internal.NpgsqlConnector.Reset(Booleanasync)
at Npgsql.NpgsqlConnection.CloseAsync(Booleanasync)
at Npgsql.NpgsqlConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.ClearTransaction()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.Dispose()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.ResetState(BooleandisposeDbConnection)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Microsoft.EntityFrameworkCore.DbContext.Dispose()
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Hangfire.JobActivatorScope.Dispose()
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during processing of a background job. More details...
07/17/2025 11:30:02
Npgsql.NpgsqlOperationInProgressException
The connection is already in state 'Executing'
Npgsql.NpgsqlOperationInProgressException (0x80004005): The connection is already in state 'Executing'
at Npgsql.Internal.NpgsqlConnector.<StartUserAction>g__DoStartUserAction|259_0(<>c__DisplayClass259_0& )
at Npgsql.Internal.NpgsqlConnector.StartUserAction(ConnectorStatenewState, NpgsqlCommandcommand, CancellationTokencancellationToken, BooleanattemptPgCancellation)
at Npgsql.Internal.NpgsqlConnector.Reset(Booleanasync)
at Npgsql.NpgsqlConnection.CloseAsync(Booleanasync)
at Npgsql.NpgsqlConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.ClearTransaction()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.Dispose()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.ResetState(BooleandisposeDbConnection)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Microsoft.EntityFrameworkCore.DbContext.Dispose()
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Hangfire.JobActivatorScope.Dispose()
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during processing of a background job. More details...
07/17/2025 11:28:03
Npgsql.NpgsqlOperationInProgressException
The connection is already in state 'Executing'
Npgsql.NpgsqlOperationInProgressException (0x80004005): The connection is already in state 'Executing'
at Npgsql.Internal.NpgsqlConnector.<StartUserAction>g__DoStartUserAction|259_0(<>c__DisplayClass259_0& )
at Npgsql.Internal.NpgsqlConnector.StartUserAction(ConnectorStatenewState, NpgsqlCommandcommand, CancellationTokencancellationToken, BooleanattemptPgCancellation)
at Npgsql.Internal.NpgsqlConnector.Reset(Booleanasync)
at Npgsql.NpgsqlConnection.CloseAsync(Booleanasync)
at Npgsql.NpgsqlConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.ClearTransaction()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.Dispose()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.ResetState(BooleandisposeDbConnection)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Microsoft.EntityFrameworkCore.DbContext.Dispose()
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Hangfire.JobActivatorScope.Dispose()
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
07/17/2025 11:27:10
System.InvalidOperationException
A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
System.InvalidOperationException: A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
at Microsoft.EntityFrameworkCore.Infrastructure.Internal.ConcurrencyDetector.EnterCriticalSection()
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1entriesToSave, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManagerstateManager, BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.ExecuteAsync[TState,TResult](TStatestate, Func`4operation, Func`4verifySucceeded, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskLog(TaskLogLevellogLevel, String[]messages) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 154
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskError(Exceptionex, String[]msgs) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 146
at EkolPY.Integration.Service.IntegrationTaskService.SetFailedWithException(Stringmessage, Exceptionex) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 246
at EkolPY.Integration.Manager.TaskBase`1.ProcessRecurringAsync(PerformContextcontext, StringqueueName, TaskTypetaskType) in /src/Integration/EkolPY.Integration.Manager/TaskBase.cs:line 162
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
07/17/2025 11:26:16
System.InvalidOperationException
A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
System.InvalidOperationException: A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
at Microsoft.EntityFrameworkCore.Infrastructure.Internal.ConcurrencyDetector.EnterCriticalSection()
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1entriesToSave, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManagerstateManager, BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.ExecuteAsync[TState,TResult](TStatestate, Func`4operation, Func`4verifySucceeded, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskLog(TaskLogLevellogLevel, String[]messages) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 154
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskError(Exceptionex, String[]msgs) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 146
at EkolPY.Integration.Service.IntegrationTaskService.SetFailedWithException(Stringmessage, Exceptionex) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 246
at EkolPY.Integration.Manager.TaskBase`1.ProcessRecurringAsync(PerformContextcontext, StringqueueName, TaskTypetaskType) in /src/Integration/EkolPY.Integration.Manager/TaskBase.cs:line 162
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
07/17/2025 11:26:15
System.InvalidOperationException
A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
System.InvalidOperationException: A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
at Microsoft.EntityFrameworkCore.Infrastructure.Internal.ConcurrencyDetector.EnterCriticalSection()
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1entriesToSave, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManagerstateManager, BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.ExecuteAsync[TState,TResult](TStatestate, Func`4operation, Func`4verifySucceeded, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskLog(TaskLogLevellogLevel, String[]messages) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 154
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskError(Exceptionex, String[]msgs) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 146
at EkolPY.Integration.Service.IntegrationTaskService.SetFailedWithException(Stringmessage, Exceptionex) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 246
at EkolPY.Integration.Manager.TaskBase`1.ProcessRecurringAsync(PerformContextcontext, StringqueueName, TaskTypetaskType) in /src/Integration/EkolPY.Integration.Manager/TaskBase.cs:line 162
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
07/17/2025 08:15:13
Npgsql.NpgsqlOperationInProgressException
The connection is already in state 'Executing'
Npgsql.NpgsqlOperationInProgressException (0x80004005): The connection is already in state 'Executing'
at Npgsql.Internal.NpgsqlConnector.<StartUserAction>g__DoStartUserAction|259_0(<>c__DisplayClass259_0& )
at Npgsql.Internal.NpgsqlConnector.StartUserAction(ConnectorStatenewState, NpgsqlCommandcommand, CancellationTokencancellationToken, BooleanattemptPgCancellation)
at Npgsql.Internal.NpgsqlConnector.Reset(Booleanasync)
at Npgsql.NpgsqlConnection.CloseAsync(Booleanasync)
at Npgsql.NpgsqlConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.ClearTransaction()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.Dispose()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.ResetState(BooleandisposeDbConnection)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Microsoft.EntityFrameworkCore.DbContext.Dispose()
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Hangfire.JobActivatorScope.Dispose()
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during processing of a background job. More details...
07/17/2025 08:00:02
Npgsql.NpgsqlOperationInProgressException
The connection is already in state 'Executing'
Npgsql.NpgsqlOperationInProgressException (0x80004005): The connection is already in state 'Executing'
at Npgsql.Internal.NpgsqlConnector.<StartUserAction>g__DoStartUserAction|259_0(<>c__DisplayClass259_0& )
at Npgsql.Internal.NpgsqlConnector.StartUserAction(ConnectorStatenewState, NpgsqlCommandcommand, CancellationTokencancellationToken, BooleanattemptPgCancellation)
at Npgsql.Internal.NpgsqlConnector.Reset(Booleanasync)
at Npgsql.NpgsqlConnection.CloseAsync(Booleanasync)
at Npgsql.NpgsqlConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.ClearTransaction()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.Dispose()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.ResetState(BooleandisposeDbConnection)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Microsoft.EntityFrameworkCore.DbContext.Dispose()
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Hangfire.AspNetCore.AspNetCoreJobActivatorScope.DisposeScope()
at Hangfire.JobActivatorScope.Dispose()
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_1.<PerformJobWithFilters>b__2()
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during processing of a background job. More details...
07/17/2025 08:00:03
Npgsql.NpgsqlOperationInProgressException
The connection is already in state 'Executing'
Npgsql.NpgsqlOperationInProgressException (0x80004005): The connection is already in state 'Executing'
at Npgsql.Internal.NpgsqlConnector.<StartUserAction>g__DoStartUserAction|259_0(<>c__DisplayClass259_0& )
at Npgsql.Internal.NpgsqlConnector.StartUserAction(ConnectorStatenewState, NpgsqlCommandcommand, CancellationTokencancellationToken, BooleanattemptPgCancellation)
at Npgsql.Internal.NpgsqlConnector.Reset(Booleanasync)
at Npgsql.NpgsqlConnection.CloseAsync(Booleanasync)
at Npgsql.NpgsqlConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Close()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.ClearTransaction()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.Dispose()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.ResetState(BooleandisposeDbConnection)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Microsoft.EntityFrameworkCore.DbContext.Dispose()
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Hangfire.JobActivatorScope.Dispose()
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_1.<PerformJobWithFilters>b__2()
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during processing of a background job. More details...
07/17/2025 07:58:02
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at Npgsql.NpgsqlTransaction.Dispose(Booleandisposing)
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.Dispose()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.ResetState(BooleandisposeDbConnection)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Dispose()
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Microsoft.EntityFrameworkCore.DbContext.Dispose()
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Hangfire.AspNetCore.AspNetCoreJobActivatorScope.DisposeScope()
at Hangfire.JobActivatorScope.Dispose()
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_1.<PerformJobWithFilters>b__2()
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during processing of a background job. More details...
07/17/2025 07:58:00
System.InvalidOperationException
Can't close, connection is in state Connecting
System.InvalidOperationException: Can't close, connection is in state Connecting
at Npgsql.NpgsqlConnection.Close(Booleanasync)
at Npgsql.NpgsqlConnection.Close()
at Npgsql.NpgsqlConnection.Dispose(Booleandisposing)
at System.ComponentModel.Component.Dispose()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.DisposeDbConnection()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.ResetState(BooleandisposeDbConnection)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Dispose()
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Microsoft.EntityFrameworkCore.DbContext.Dispose()
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.Dispose()
at Hangfire.AspNetCore.AspNetCoreJobActivatorScope.DisposeScope()
at Hangfire.JobActivatorScope.Dispose()
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_1.<PerformJobWithFilters>b__2()
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
07/17/2025 07:58:00
System.InvalidOperationException
A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
System.InvalidOperationException: A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
at Microsoft.EntityFrameworkCore.Infrastructure.Internal.ConcurrencyDetector.EnterCriticalSection()
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1entriesToSave, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManagerstateManager, BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.ExecuteAsync[TState,TResult](TStatestate, Func`4operation, Func`4verifySucceeded, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskLog(TaskLogLevellogLevel, String[]messages) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 153
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskError(Exceptionex, String[]msgs) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 143
at EkolPY.Integration.Service.IntegrationTaskService.SetFailedWithException(Stringmessage, Exceptionex) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 243
at EkolPY.Integration.Manager.TaskBase`1.ProcessRecurringAsync(PerformContextcontext, StringqueueName, TaskTypetaskType) in /src/Integration/EkolPY.Integration.Manager/TaskBase.cs:line 162
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)