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 processing of a background job. Fewer details...
08/18/2025 09:15: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...
08/18/2025 09:00:05
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...
08/18/2025 08:56:17
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...
08/18/2025 08:54:16
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...
08/18/2025 08:53:43
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...
08/18/2025 08:52: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...
08/18/2025 08:52: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...
08/18/2025 09:12:07
System.IndexOutOfRangeException
Index was outside the bounds of the array.
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.Dictionary`2.TryInsert(TKeykey, TValuevalue, InsertionBehaviorbehavior)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IdentityMap`1.Add(TKeykey, InternalEntityEntryentry, BooleanupdateDuplicate)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.StartTracking(InternalEntityEntryentry)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityStateoldState, EntityStatenewState, BooleanacceptChanges, BooleanmodifyProperties)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityStateAsync(EntityStateentityState, BooleanacceptChanges, BooleanmodifyProperties, Nullable`1forceStateWhenUnknownKey, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.EntityGraphAttacher.PaintActionAsync(EntityEntryGraphNode`1node, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.EntityEntryGraphIterator.TraverseGraphAsync[TState](EntityEntryGraphNode`1node, Func`3handleNode, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.EntityGraphAttacher.AttachGraphAsync(InternalEntityEntryrootEntry, EntityStatetargetState, EntityStatestoreGeneratedWithKeySetTargetState, BooleanforceStateWhenUnknownKey, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.AddAsync(TEntityentity, CancellationTokencancellationToken)
at EkolPY.Integration.Data.Repository.Repository`1.AddAsync(TEntityentity) in /src/Integration/EkolPY.Integration.Data/Repository/Repository.cs:line 30
at EkolPY.Integration.Service.IntegrationTaskService.AddTaskLog(TaskLogLevellogLevel, String[]messages) in /src/Integration/EkolPY.Integration.Service/IntegrationService.cs:line 152
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...
08/18/2025 08:52: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 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...
08/18/2025 08:52: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 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...
08/18/2025 08:52:44
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...
08/18/2025 08:49: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...
08/18/2025 08:30:05
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...
08/18/2025 08:15:06
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...
08/18/2025 08:14:05
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...
08/18/2025 08:14: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 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...
08/18/2025 08:12: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...
08/18/2025 08:10:18
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.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...
08/18/2025 08:10:18
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 performance of the job. More details...
08/18/2025 08:08: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 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)