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/16/2026 23:04:44
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. ---> MySqlConnector.MySqlException: Cannot add or update a child row: a foreign key constraint fails (`smartpdi_homolog`.`notificacao`, CONSTRAINT `fk_notificacao_notificacao_origem` FOREIGN KEY (`notificacao_origem_id`) REFERENCES `notificacao_origem` (`notificacao_origem_id`))
at MySqlConnector.Core.ServerSession.ReceiveReplyAsync(IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 894
at MySqlConnector.Core.ResultSet.ReadResultSetHeaderAsync(IOBehaviorioBehavior) in /_/src/MySqlConnector/Core/ResultSet.cs:line 37
at MySqlConnector.MySqlDataReader.ActivateResultSet(CancellationTokencancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 130
at MySqlConnector.MySqlDataReader.InitAsync(CommandListPositioncommandListPosition, ICommandPayloadCreatorpayloadCreator, IDictionary`2cachedProcedures, IMySqlCommandcommand, CommandBehaviorbehavior, Activityactivity, IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 483
at MySqlConnector.Core.CommandExecutor.ExecuteReaderAsync(CommandListPositioncommandListPosition, ICommandPayloadCreatorpayloadCreator, CommandBehaviorbehavior, Activityactivity, IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/CommandExecutor.cs:line 56
at MySqlConnector.MySqlCommand.ExecuteReaderAsync(CommandBehaviorbehavior, IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 357
at MySqlConnector.MySqlCommand.ExecuteDbDataReaderAsync(CommandBehaviorbehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 350
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObjectparameterObject, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObjectparameterObject, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnectionconnection, CancellationTokencancellationToken)
--- End of inner exception stack trace ---
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 Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlExecutionStrategy.ExecuteAsync[TState,TResult](TStatestate, Func`4operation, Func`4verifySucceeded, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at PD_Api.Infraestructure.Context.MainDBContext.SaveChangesAsync(CancellationTokencancellationToken) in /home/vsts/work/1/s/PD_Api/Infraestructure/Context/MainDBContext.cs:line 788
at PD_Api.Infraestructure.Context.MainDBContext.RunInTransactionAsync(Func`1operations, Func`1errorCallback, CancellationTokencancellationToken) in /home/vsts/work/1/s/PD_Api/Infraestructure/Context/MainDBContext.cs:line 62
at PD_Api.Infraestructure.Context.MainDBContext.RunInTransactionAsync(Func`1operations, Func`1errorCallback, CancellationTokencancellationToken) in /home/vsts/work/1/s/PD_Api/Infraestructure/Context/MainDBContext.cs:line 68
at PD_Api.Infraestructure.Context.MainDBContext.RunInTransactionAsync(Func`1operations, Func`1errorCallback, CancellationTokencancellationToken) in /home/vsts/work/1/s/PD_Api/Infraestructure/Context/MainDBContext.cs:line 68
at PD_Api.Jobs.NotificarPromocaoJob.<>c__DisplayClass3_1.<<ExecuteAsync>b__0>d.MoveNext() in /home/vsts/work/1/s/PD_Api/Jobs/NotificarPromocaoJob.cs:line 100
--- End of stack trace from previous location ---
at PD_Api.Infraestructure.Context.MainDBContext.ExecturaComOutraEmpresaAsync(UInt32outraEmpresaId, Func`1func) in /home/vsts/work/1/s/PD_Api/Infraestructure/Context/MainDBContext.cs:line 885
at PD_Api.Jobs.NotificarPromocaoJob.ExecuteAsync(UInt32projetoId, UInt32usuarioPromotorId, UInt32empresaId, StringfaseDestino) in /home/vsts/work/1/s/PD_Api/Jobs/NotificarPromocaoJob.cs:line 61
at PD_Api.Jobs.NotificarPromocaoJob.ExecuteAsync(UInt32projetoId, UInt32usuarioPromotorId, UInt32empresaId, StringfaseDestino) in /home/vsts/work/1/s/PD_Api/Jobs/NotificarPromocaoJob.cs:line 61
at InvokeStub_TaskAwaiter.GetResult(Object,Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Objectobj, BindingFlagsinvokeAttr)
An exception occurred during performance of the job. More details...
07/08/2026 21:41: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. ---> MySqlConnector.MySqlException: Cannot add or update a child row: a foreign key constraint fails (`smartpdi_homolog`.`notificacao`, CONSTRAINT `fk_notificacao_notificacao_origem` FOREIGN KEY (`notificacao_origem_id`) REFERENCES `notificacao_origem` (`notificacao_origem_id`))
at MySqlConnector.Core.ServerSession.ReceiveReplyAsync(IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 894
at MySqlConnector.Core.ResultSet.ReadResultSetHeaderAsync(IOBehaviorioBehavior) in /_/src/MySqlConnector/Core/ResultSet.cs:line 37
at MySqlConnector.MySqlDataReader.ActivateResultSet(CancellationTokencancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 130
at MySqlConnector.MySqlDataReader.InitAsync(CommandListPositioncommandListPosition, ICommandPayloadCreatorpayloadCreator, IDictionary`2cachedProcedures, IMySqlCommandcommand, CommandBehaviorbehavior, Activityactivity, IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 483
at MySqlConnector.Core.CommandExecutor.ExecuteReaderAsync(CommandListPositioncommandListPosition, ICommandPayloadCreatorpayloadCreator, CommandBehaviorbehavior, Activityactivity, IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/CommandExecutor.cs:line 56
at MySqlConnector.MySqlCommand.ExecuteReaderAsync(CommandBehaviorbehavior, IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 357
at MySqlConnector.MySqlCommand.ExecuteDbDataReaderAsync(CommandBehaviorbehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/MySqlCommand.cs:line 350
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObjectparameterObject, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObjectparameterObject, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnectionconnection, CancellationTokencancellationToken)
--- End of inner exception stack trace ---
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 Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlExecutionStrategy.ExecuteAsync[TState,TResult](TStatestate, Func`4operation, Func`4verifySucceeded, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(BooleanacceptAllChangesOnSuccess, CancellationTokencancellationToken)
at PD_Api.Infraestructure.Context.MainDBContext.SaveChangesAsync(CancellationTokencancellationToken) in /home/vsts/work/1/s/PD_Api/Infraestructure/Context/MainDBContext.cs:line 780
at PD_Api.Infraestructure.Context.MainDBContext.RunInTransactionAsync(Func`1operations, Func`1errorCallback, CancellationTokencancellationToken) in /home/vsts/work/1/s/PD_Api/Infraestructure/Context/MainDBContext.cs:line 62
at PD_Api.Infraestructure.Context.MainDBContext.RunInTransactionAsync(Func`1operations, Func`1errorCallback, CancellationTokencancellationToken) in /home/vsts/work/1/s/PD_Api/Infraestructure/Context/MainDBContext.cs:line 68
at PD_Api.Infraestructure.Context.MainDBContext.RunInTransactionAsync(Func`1operations, Func`1errorCallback, CancellationTokencancellationToken) in /home/vsts/work/1/s/PD_Api/Infraestructure/Context/MainDBContext.cs:line 68
at PD_Api.Jobs.NotificarPromocaoJob.<>c__DisplayClass3_1.<<ExecuteAsync>b__0>d.MoveNext() in /home/vsts/work/1/s/PD_Api/Jobs/NotificarPromocaoJob.cs:line 100
--- End of stack trace from previous location ---
at PD_Api.Infraestructure.Context.MainDBContext.ExecturaComOutraEmpresaAsync(UInt32outraEmpresaId, Func`1func) in /home/vsts/work/1/s/PD_Api/Infraestructure/Context/MainDBContext.cs:line 877
at PD_Api.Jobs.NotificarPromocaoJob.ExecuteAsync(UInt32projetoId, UInt32usuarioPromotorId, UInt32empresaId, StringfaseDestino) in /home/vsts/work/1/s/PD_Api/Jobs/NotificarPromocaoJob.cs:line 61
at PD_Api.Jobs.NotificarPromocaoJob.ExecuteAsync(UInt32projetoId, UInt32usuarioPromotorId, UInt32empresaId, StringfaseDestino) in /home/vsts/work/1/s/PD_Api/Jobs/NotificarPromocaoJob.cs:line 61
at InvokeStub_TaskAwaiter.GetResult(Object,Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Objectobj, BindingFlagsinvokeAttr)
An exception occurred during performance of the job. More details...
05/28/2026 19:45:05
MySqlConnector.MySqlException
The Command Timeout expired before the operation completed.
MySqlConnector.MySqlException: The Command Timeout expired before the operation completed. ---> MySqlConnector.MySqlException: Query execution was interrupted
at MySqlConnector.Core.ServerSession.ReceiveReplyAsync(IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 894
at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehaviorioBehavior, Rowrow, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 244
--- End of inner exception stack trace ---
at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehaviorioBehavior, Rowrow, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 252
at MySqlConnector.Core.ResultSet.ReadAsync(IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 207
at MySqlConnector.MySqlDataReader.ReadAsync(CancellationTokencancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 38
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1source, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1source, CancellationTokencancellationToken)
at PD_Api.Infraestructure.Repository.LancamentoRep.GetDadosBrutosPlanejadosKr9Async(List`1projetosVersaoIds, Nullable`1ano) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 908
at PD_Api.Infraestructure.Repository.LancamentoRep.GetIndicadorKr9(List`1projetosIds, Nullable`1ano, StringcacheTag, List`1projetosVersaoIds) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 967
at PD_Api.Services.DashboardKr.DashboardKrService.CalcularIndiceAmpereCoreSemCacheAsync(List`1projetosIds, Nullable`1ano, List`1projetosVersaoIds, CancellationTokencancellationToken, Nullable`1empresaId) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 266
at PD_Api.Services.DashboardKr.DashboardKrService.RecalcularEmpresaAsync(UInt32empresaId, Usuariousuario, IReadOnlyList`1projetoIds, CancellationTokencancellationToken) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 172
at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32empresaId, Nullable`1usuarioIniciadorId, Nullable`1projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32empresaId, Nullable`1usuarioIniciadorId, Nullable`1projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
at InvokeStub_TaskAwaiter.GetResult(Object,Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Objectobj, BindingFlagsinvokeAttr)
An exception occurred during performance of the job. More details...
05/28/2026 19:38:41
MySqlConnector.MySqlException
The Command Timeout expired before the operation completed.
MySqlConnector.MySqlException: The Command Timeout expired before the operation completed. ---> MySqlConnector.MySqlException: Query execution was interrupted
at MySqlConnector.Core.ServerSession.ReceiveReplyAsync(IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 894
at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehaviorioBehavior, Rowrow, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 244
--- End of inner exception stack trace ---
at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehaviorioBehavior, Rowrow, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 252
at MySqlConnector.Core.ResultSet.ReadAsync(IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 207
at MySqlConnector.MySqlDataReader.ReadAsync(CancellationTokencancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 38
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1source, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1source, CancellationTokencancellationToken)
at PD_Api.Infraestructure.Repository.LancamentoRep.GetDadosBrutosPlanejadosKr9Async(List`1projetosVersaoIds, Nullable`1ano) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 908
at PD_Api.Infraestructure.Repository.LancamentoRep.GetIndicadorKr9(List`1projetosIds, Nullable`1ano, StringcacheTag, List`1projetosVersaoIds) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 967
at PD_Api.Services.DashboardKr.DashboardKrService.CalcularIndiceAmpereCoreSemCacheAsync(List`1projetosIds, Nullable`1ano, List`1projetosVersaoIds, CancellationTokencancellationToken, Nullable`1empresaId) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 266
at PD_Api.Services.DashboardKr.DashboardKrService.RecalcularEmpresaAsync(UInt32empresaId, Usuariousuario, IReadOnlyList`1projetoIds, CancellationTokencancellationToken) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 172
at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32empresaId, Nullable`1usuarioIniciadorId, Nullable`1projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32empresaId, Nullable`1usuarioIniciadorId, Nullable`1projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
at InvokeStub_TaskAwaiter.GetResult(Object,Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Objectobj, BindingFlagsinvokeAttr)
An exception occurred during performance of the job. More details...
05/28/2026 19:36:34
MySqlConnector.MySqlException
The Command Timeout expired before the operation completed.
MySqlConnector.MySqlException: The Command Timeout expired before the operation completed. ---> MySqlConnector.MySqlException: Query execution was interrupted
at MySqlConnector.Core.ServerSession.ReceiveReplyAsync(IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 894
at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehaviorioBehavior, Rowrow, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 244
--- End of inner exception stack trace ---
at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehaviorioBehavior, Rowrow, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 252
at MySqlConnector.Core.ResultSet.ReadAsync(IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 207
at MySqlConnector.MySqlDataReader.ReadAsync(CancellationTokencancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 38
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1source, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1source, CancellationTokencancellationToken)
at PD_Api.Infraestructure.Repository.LancamentoRep.GetDadosBrutosPlanejadosKr9Async(List`1projetosVersaoIds, Nullable`1ano) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 908
at PD_Api.Infraestructure.Repository.LancamentoRep.GetIndicadorKr9(List`1projetosIds, Nullable`1ano, StringcacheTag, List`1projetosVersaoIds) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 967
at PD_Api.Services.DashboardKr.DashboardKrService.CalcularIndiceAmpereCoreSemCacheAsync(List`1projetosIds, Nullable`1ano, List`1projetosVersaoIds, CancellationTokencancellationToken, Nullable`1empresaId) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 266
at PD_Api.Services.DashboardKr.DashboardKrService.RecalcularEmpresaAsync(UInt32empresaId, Usuariousuario, IReadOnlyList`1projetoIds, CancellationTokencancellationToken) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 172
at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32empresaId, Nullable`1usuarioIniciadorId, Nullable`1projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32empresaId, Nullable`1usuarioIniciadorId, Nullable`1projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
at InvokeStub_TaskAwaiter.GetResult(Object,Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Objectobj, BindingFlagsinvokeAttr)
An exception occurred during performance of the job. More details...
05/26/2026 18:39:00
MySqlConnector.MySqlException
The Command Timeout expired before the operation completed.
MySqlConnector.MySqlException: The Command Timeout expired before the operation completed. ---> MySqlConnector.MySqlException: Query execution was interrupted
at MySqlConnector.Core.ServerSession.ReceiveReplyAsync(IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 894
at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehaviorioBehavior, Rowrow, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 244
--- End of inner exception stack trace ---
at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehaviorioBehavior, Rowrow, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 252
at MySqlConnector.Core.ResultSet.ReadAsync(IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 207
at MySqlConnector.MySqlDataReader.ReadAsync(CancellationTokencancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 38
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1source, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1source, CancellationTokencancellationToken)
at PD_Api.Infraestructure.Repository.LancamentoRep.GetDadosBrutosPlanejadosKr9Async(List`1projetosVersaoIds, Nullable`1ano) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 908
at PD_Api.Infraestructure.Repository.LancamentoRep.GetIndicadorKr9(List`1projetosIds, Nullable`1ano, StringcacheTag, List`1projetosVersaoIds) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 967
at PD_Api.Services.DashboardKr.DashboardKrService.CalcularIndiceAmpereCoreSemCacheAsync(List`1projetosIds, Nullable`1ano, List`1projetosVersaoIds, CancellationTokencancellationToken, Nullable`1empresaId) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 266
at PD_Api.Services.DashboardKr.DashboardKrService.RecalcularEmpresaAsync(UInt32empresaId, Usuariousuario, IReadOnlyList`1projetoIds, CancellationTokencancellationToken) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 172
at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32empresaId, Nullable`1usuarioIniciadorId, Nullable`1projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32empresaId, Nullable`1usuarioIniciadorId, Nullable`1projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
at InvokeStub_TaskAwaiter.GetResult(Object,Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Objectobj, BindingFlagsinvokeAttr)
An exception occurred during performance of the job. More details...
05/26/2026 18:41:14
MySqlConnector.MySqlException
The Command Timeout expired before the operation completed.
MySqlConnector.MySqlException: The Command Timeout expired before the operation completed. ---> MySqlConnector.MySqlException: Query execution was interrupted
at MySqlConnector.Core.ServerSession.ReceiveReplyAsync(IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 894
at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehaviorioBehavior, Rowrow, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 244
--- End of inner exception stack trace ---
at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehaviorioBehavior, Rowrow, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 252
at MySqlConnector.Core.ResultSet.ReadAsync(IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 207
at MySqlConnector.MySqlDataReader.ReadAsync(CancellationTokencancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 38
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1source, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1source, CancellationTokencancellationToken)
at PD_Api.Infraestructure.Repository.LancamentoRep.GetDadosBrutosPlanejadosKr9Async(List`1projetosVersaoIds, Nullable`1ano) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 908
at PD_Api.Infraestructure.Repository.LancamentoRep.GetIndicadorKr9(List`1projetosIds, Nullable`1ano, StringcacheTag, List`1projetosVersaoIds) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 967
at PD_Api.Services.DashboardKr.DashboardKrService.CalcularIndiceAmpereCoreSemCacheAsync(List`1projetosIds, Nullable`1ano, List`1projetosVersaoIds, CancellationTokencancellationToken, Nullable`1empresaId) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 266
at PD_Api.Services.DashboardKr.DashboardKrService.RecalcularEmpresaAsync(UInt32empresaId, Usuariousuario, IReadOnlyList`1projetoIds, CancellationTokencancellationToken) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 172
at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32empresaId, Nullable`1usuarioIniciadorId, Nullable`1projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32empresaId, Nullable`1usuarioIniciadorId, Nullable`1projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
at InvokeStub_TaskAwaiter.GetResult(Object,Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Objectobj, BindingFlagsinvokeAttr)
An exception occurred during performance of the job. More details...
05/26/2026 18:18:43
MySqlConnector.MySqlException
Too many connections
MySqlConnector.MySqlException: Too many connections
at MySqlConnector.Core.ServerSession.ReceiveReplyAsync(IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 894
at MySqlConnector.Core.ServerSession.SwitchAuthenticationAsync(ConnectionSettingscs, Stringpassword, PayloadDatapayload, IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 672
at MySqlConnector.Core.ServerSession.ConnectAsync(ConnectionSettingscs, MySqlConnectionconnection, Int64startingTimestamp, ILoadBalancerloadBalancer, Activityactivity, IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 537
at MySqlConnector.MySqlConnection.CreateSessionAsync(ConnectionPoolpool, Int64startingTimestamp, Activityactivity, Nullable`1ioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/MySqlConnection.cs:line 932
at MySqlConnector.MySqlConnection.CreateSessionAsync(ConnectionPoolpool, Int64startingTimestamp, Activityactivity, Nullable`1ioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/MySqlConnection.cs:line 938
at MySqlConnector.MySqlConnection.OpenAsync(Nullable`1ioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/MySqlConnection.cs:line 419
at Microsoft.EntityFrameworkCore.ServerVersion.AutoDetect(StringconnectionString)
at Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions.CreateDbContextOptions[TContext](IServiceProviderapplicationServiceProvider, Action`2optionsAction)
at ResolveService(ILEmitResolverBuilderRuntimeContext, ServiceProviderEngineScope)
at ResolveService(ILEmitResolverBuilderRuntimeContext, ServiceProviderEngineScope)
at ResolveService(ILEmitResolverBuilderRuntimeContext, ServiceProviderEngineScope)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifierserviceIdentifier, ServiceProviderEngineScopeserviceProviderEngineScope)
at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32empresaId, Nullable`1usuarioIniciadorId, Nullable`1projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 17
at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32empresaId, Nullable`1usuarioIniciadorId, Nullable`1projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
at InvokeStub_TaskAwaiter.GetResult(Object,Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Objectobj, BindingFlagsinvokeAttr)
An exception occurred during performance of the job. More details...
05/26/2026 18:18:44
MySqlConnector.MySqlException
Too many connections
MySqlConnector.MySqlException: Too many connections
at MySqlConnector.Core.ServerSession.ReceiveReplyAsync(IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 894
at MySqlConnector.Core.ServerSession.SwitchAuthenticationAsync(ConnectionSettingscs, Stringpassword, PayloadDatapayload, IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 672
at MySqlConnector.Core.ServerSession.ConnectAsync(ConnectionSettingscs, MySqlConnectionconnection, Int64startingTimestamp, ILoadBalancerloadBalancer, Activityactivity, IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 537
at MySqlConnector.MySqlConnection.CreateSessionAsync(ConnectionPoolpool, Int64startingTimestamp, Activityactivity, Nullable`1ioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/MySqlConnection.cs:line 932
at MySqlConnector.MySqlConnection.CreateSessionAsync(ConnectionPoolpool, Int64startingTimestamp, Activityactivity, Nullable`1ioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/MySqlConnection.cs:line 938
at MySqlConnector.MySqlConnection.OpenAsync(Nullable`1ioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/MySqlConnection.cs:line 419
at Microsoft.EntityFrameworkCore.ServerVersion.AutoDetect(StringconnectionString)
at Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions.CreateDbContextOptions[TContext](IServiceProviderapplicationServiceProvider, Action`2optionsAction)
at ResolveService(ILEmitResolverBuilderRuntimeContext, ServiceProviderEngineScope)
at ResolveService(ILEmitResolverBuilderRuntimeContext, ServiceProviderEngineScope)
at ResolveService(ILEmitResolverBuilderRuntimeContext, ServiceProviderEngineScope)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifierserviceIdentifier, ServiceProviderEngineScopeserviceProviderEngineScope)
at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32empresaId, Nullable`1usuarioIniciadorId, Nullable`1projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 17
at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32empresaId, Nullable`1usuarioIniciadorId, Nullable`1projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
at InvokeStub_TaskAwaiter.GetResult(Object,Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Objectobj, BindingFlagsinvokeAttr)
An exception occurred during performance of the job. More details...
05/26/2026 00:33:25
MySqlConnector.MySqlException
The Command Timeout expired before the operation completed.
MySqlConnector.MySqlException: The Command Timeout expired before the operation completed. ---> MySqlConnector.MySqlException: Query execution was interrupted
at MySqlConnector.Core.ServerSession.ReceiveReplyAsync(IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 894
at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehaviorioBehavior, Rowrow, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 244
--- End of inner exception stack trace ---
at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehaviorioBehavior, Rowrow, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 252
at MySqlConnector.Core.ResultSet.ReadAsync(IOBehaviorioBehavior, CancellationTokencancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 207
at MySqlConnector.MySqlDataReader.ReadAsync(CancellationTokencancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 38
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1source, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1source, CancellationTokencancellationToken)
at PD_Api.Infraestructure.Repository.LancamentoRep.GetDadosBrutosPlanejadosKr9Async(List`1projetosVersaoIds, Nullable`1ano) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 908
at PD_Api.Infraestructure.Repository.LancamentoRep.GetIndicadorKr9(List`1projetosIds, Nullable`1ano, StringcacheTag, List`1projetosVersaoIds) in /home/vsts/work/1/s/PD_Api/Infraestructure/Repository/Lancamento/LancamentoRep.cs:line 967
at PD_Api.Services.DashboardKr.DashboardKrService.CalcularIndiceAmpereCoreSemCacheAsync(List`1projetosIds, Nullable`1ano, List`1projetosVersaoIds, CancellationTokencancellationToken, Nullable`1empresaId) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 266
at PD_Api.Services.DashboardKr.DashboardKrService.RecalcularEmpresaAsync(UInt32empresaId, Usuariousuario, IReadOnlyList`1projetoIds, CancellationTokencancellationToken) in /home/vsts/work/1/s/PD_Api/Services/DashboardKr/DashboardKrService.cs:line 172
at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32empresaId, Nullable`1usuarioIniciadorId, Nullable`1projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
at PD_Api.Jobs.DashboardKrSnapshotRecalcJob.ExecuteAsync(UInt32empresaId, Nullable`1usuarioIniciadorId, Nullable`1projetoId) in /home/vsts/work/1/s/PD_Api/Jobs/DashboardKrSnapshotRecalcJob.cs:line 45
at InvokeStub_TaskAwaiter.GetResult(Object,Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Objectobj, BindingFlagsinvokeAttr)