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/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)