// Job ID: #273156
using MC.Hangfire.Background;
var backgroundJob = Activate<IBackgroundJob<ProcessamentoDocumentoExecutor>>();
await backgroundJob.EnqueueJob(
null,
FromJson<ProcessamentoDocumentoExecutor>("{\"DocumentoId\":67616}"),
null);
| CurrentCulture | |
| CurrentUICulture | |
| RetryCount | |
Retry attempt 4 of 10: Execution Timeout Expired. The timeout period el…
An exception occurred during performance of the job.
Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
Microsoft.Data.SqlClient.SqlException (0x80131904): Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding. ---> System.ComponentModel.Win32Exception (258): Unknown error 258 at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__164_0(Task`1 result) at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location where exception was thrown --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location where exception was thrown --- at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(DbContext _, Boolean result, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.AsyncEnumerator.MoveNextAsync() at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken) at MC.AspNetCore.Log.DefaultLogger.AddLogMessageAsync[T](String idIntegracao, String descricao, String message, IUserContext userContext, String stacktrace, CancellationToken ct) at Hangfire.Server.PerformContextExtensions.LogMessage[T](PerformContext context, String descricao, String message, ILogger logger, IUserContext userContext, Exception ex, CancellationToken ct, ConsoleTextColor color) at Hangfire.Server.PerformContextExtensions.LogMessage[T](PerformContext context, String message, ILogger logger, IUserContext userContext, Exception ex, CancellationToken ct, ConsoleTextColor color) at Cont360.PortalCliente.Extensions.Documento.DocumentoExtensions.GetText(String url, PerformContext context, ILogger logger, IUserContext userContext, IJobCancellationToken ct) in D:\a\1\s\Cont360.PortalCliente.Extensions\Documento\DocumentoExtensions.cs:line 107 at Cont360.PortalCliente.Servicos.Documento.RoboDocumento.GetFormDataAsync(Documento documento, PerformContext context, IUserContext userContext, IJobCancellationToken ct) in D:\a\1\s\Cont360.PortalCliente.Servicos\Documento\RoboDocumento.cs:line 431 at Cont360.PortalCliente.Servicos.Documento.RoboDocumento.EnqueueJob(PerformContext context, ProcessamentoDocumentoExecutor jobData, IJobCancellationToken ct) in D:\a\1\s\Cont360.PortalCliente.Servicos\Documento\RoboDocumento.cs:line 139 at Cont360.PortalCliente.Servicos.Documento.RoboDocumento.EnqueueJob(PerformContext context, ProcessamentoDocumentoExecutor jobData, IJobCancellationToken ct) in D:\a\1\s\Cont360.PortalCliente.Servicos\Documento\RoboDocumento.cs:line 139 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Retry attempt 3 of 10: Execution Timeout Expired. The timeout period el…
An exception occurred during performance of the job.
Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
Microsoft.Data.SqlClient.SqlException (0x80131904): Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding. ---> System.ComponentModel.Win32Exception (258): Unknown error 258 at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__164_0(Task`1 result) at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location where exception was thrown --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location where exception was thrown --- at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(DbContext _, Boolean result, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.AsyncEnumerator.MoveNextAsync() at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken) at MC.AspNetCore.Log.DefaultLogger.AddLogMessageAsync[T](String idIntegracao, String descricao, String message, IUserContext userContext, String stacktrace, CancellationToken ct) at Hangfire.Server.PerformContextExtensions.LogMessage[T](PerformContext context, String descricao, String message, ILogger logger, IUserContext userContext, Exception ex, CancellationToken ct, ConsoleTextColor color) at Hangfire.Server.PerformContextExtensions.LogMessage[T](PerformContext context, String message, ILogger logger, IUserContext userContext, Exception ex, CancellationToken ct, ConsoleTextColor color) at Cont360.PortalCliente.Servicos.Documento.RoboDocumento.EnqueueJob(PerformContext context, ProcessamentoDocumentoExecutor jobData, IJobCancellationToken ct) in D:\a\1\s\Cont360.PortalCliente.Servicos\Documento\RoboDocumento.cs:line 139 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Retry attempt 2 of 10: Execution Timeout Expired. The timeout period el…
An exception occurred during performance of the job.
Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
Microsoft.Data.SqlClient.SqlException (0x80131904): Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding. ---> System.ComponentModel.Win32Exception (258): Unknown error 258 at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__164_0(Task`1 result) at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location where exception was thrown --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location where exception was thrown --- at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(DbContext _, Boolean result, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.AsyncEnumerator.MoveNextAsync() at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken) at MC.AspNetCore.Log.DefaultLogger.AddLogMessageAsync[T](String idIntegracao, String descricao, String message, IUserContext userContext, String stacktrace, CancellationToken ct) at Hangfire.Server.PerformContextExtensions.LogMessage[T](PerformContext context, String descricao, String message, ILogger logger, IUserContext userContext, Exception ex, CancellationToken ct, ConsoleTextColor color) at Hangfire.Server.PerformContextExtensions.LogMessage[T](PerformContext context, String message, ILogger logger, IUserContext userContext, Exception ex, CancellationToken ct, ConsoleTextColor color) at Cont360.PortalCliente.Servicos.Documento.RoboDocumento.EnqueueJob(PerformContext context, ProcessamentoDocumentoExecutor jobData, IJobCancellationToken ct) in D:\a\1\s\Cont360.PortalCliente.Servicos\Documento\RoboDocumento.cs:line 139 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Retry attempt 1 of 10: Ocorreu um erro ao executar o servico
An exception occurred during performance of the job.
Ocorreu um erro ao executar o servico
MC.Exceptions.ServiceException: Ocorreu um erro ao executar o servico ---> MC.Exceptions.ServiceException: Ocorreu um erro ao executar o servico ---> Microsoft.Data.SqlClient.SqlException (0x80131904): Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding. ---> System.ComponentModel.Win32Exception (258): Unknown error 258 at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__164_0(Task`1 result) at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location where exception was thrown --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location where exception was thrown --- at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(DbContext _, Boolean result, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.AsyncEnumerator.MoveNextAsync() at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken) at MC.AspNetCore.Log.DefaultLogger.AddLogMessageAsync[T](String idIntegracao, String descricao, String message, IUserContext userContext, String stacktrace, CancellationToken ct) at MC.AspNetCore.Log.ServiceLogger.DefaultServiceLogger.AddEntries(IEnumerable`1 auditEntries, String id, CancellationToken ct) at MC.AspNetCore.Log.ServiceLogger.DefaultServiceLogger.LogError(DateTime inicio, IEnumerable`1 auditEntries, Exception ex, CancellationToken ct) at Cont360.PortalCliente.Model.Models.ModelContext.SaveChangesAsync(CancellationToken cancellationToken) in D:\a\1\s\Cont360.PortalCliente.Model\Models\ModelContext.cs:line 170 at MC.EntityFramework.DefaultImpl.UnitOfWork.UnitOfWork.CommitAsync(CancellationToken ct) at MC.EntityFramework.DefaultImpl.Service.Service`1.CommitAsync(IUserContext userContext, ServiceException exception, CancellationToken ct) ClientConnectionId:3b435273-1b57-4cdc-8488-8ece70f6c0b9 Error Number:-2,State:0,Class:11 ClientConnectionId before routing:013ae4f5-1341-4988-a725-e66d7ba751e7 Routing Destination:cd7c100d7600.tr1016.brazilsouth1-a.worker.database.windows.net,11027 --- End of inner exception stack trace --- at MC.EntityFramework.DefaultImpl.Service.Service`1.RollbackAsync(TService service, IUserContext userContext, ServiceException exception, CancellationToken ct) at MC.EntityFramework.DefaultImpl.Service.Service`1.ExecuteAsync(TService service, IUserContext userContext, CancellationToken ct) at Cont360.PortalCliente.Events.Empresa.DocumentoEditEvent.HandleAsync(EditAction`1 eventArg, IUserContext userContext, CancellationToken ct) in D:\a\1\s\Cont360.PortalCliente.Events\Empresa\DocumentoEditEvent.cs:line 104 at MC.EntityFramework.DefaultImpl.Service.Service`1.HandleAsync(TService service, IUserContext userContext, CancellationToken ct) --- End of inner exception stack trace --- at MC.EntityFramework.DefaultImpl.Service.Service`1.RollbackAsync(TService service, IUserContext userContext, ServiceException exception, CancellationToken ct) at MC.EntityFramework.DefaultImpl.Service.Service`1.ExecuteAsync(TService service, IUserContext userContext, CancellationToken ct) at Cont360.PortalCliente.Servicos.Documento.RoboDocumento.EnqueueJob(PerformContext context, ProcessamentoDocumentoExecutor jobData, IJobCancellationToken ct) in D:\a\1\s\Cont360.PortalCliente.Servicos\Documento\RoboDocumento.cs:line 139 at Cont360.PortalCliente.Servicos.Documento.RoboDocumento.EnqueueJob(PerformContext context, ProcessamentoDocumentoExecutor jobData, IJobCancellationToken ct) in D:\a\1\s\Cont360.PortalCliente.Servicos\Documento\RoboDocumento.cs:line 139 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)