AtualizaLugarId.AtualizarLugarId

// Id: #7253
using operation_scheduler.Api.Schedules;

var atualizaLugarId = Activate<AtualizaLugarId>();
await atualizaLugarId.AtualizarLugarId(null);

Parameters

RecurringJobId
"AtualizaLugarId"
Time
1736719206
CurrentCulture
""
CurrentUICulture
""
RetryCount
3

State

01/12/2025 22:05:06 (+14.440s) Failed

An exception occurred during performance of the job.

System.Threading.Tasks.TaskCanceledException (dashboard operation_scheduler:1)

The request was canceled due to the configured HttpClient.Timeout of 5 seconds elapsing.

System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 5 seconds elapsing.
 ---> System.TimeoutException: The operation was canceled.
 ---> System.Threading.Tasks.TaskCanceledException: The operation was canceled.
 ---> System.IO.IOException: Unable to read data from the transport connection: Operation canceled.
 ---> System.Net.Sockets.SocketException (125): Operation canceled
   --- End of inner exception stack trace ---
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
   at System.Net.Http.HttpConnection.InitialFillAsync(Boolean async)
   at System.Net.Http.HttpConnection.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.HttpConnection.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.Metrics.MetricsHandler.SendAsyncWithMetrics(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at Datadog.Trace.ClrProfiler.CallTarget.Handlers.Continuations.TaskContinuationGenerator`4.SyncCallbackHandler.ContinuationAction(Task`1 previousTask, TTarget target, CallTargetState state)
   at Datadog.Trace.ClrProfiler.CallTarget.Handlers.Continuations.TaskContinuationGenerator`4.SyncCallbackHandler.ContinuationAction(Task`1 previousTask, TTarget target, CallTargetState state) in /_/tracer/src/Datadog.Trace/ClrProfiler/CallTarget/Handlers/Continuations/TaskContinuationGenerator`1.cs:line 140
   at Datadog.Trace.ClrProfiler.CallTarget.Handlers.Continuations.TaskContinuationGenerator`4.SyncCallbackHandler.ContinuationAction(Task`1 previousTask, TTarget target, CallTargetState state)
   at Datadog.Trace.ClrProfiler.CallTarget.Handlers.Continuations.TaskContinuationGenerator`4.SyncCallbackHandler.ContinuationAction(Task`1 previousTask, TTarget target, CallTargetState state) in /_/tracer/src/Datadog.Trace/ClrProfiler/CallTarget/Handlers/Continuations/TaskContinuationGenerator`1.cs:line 140
   at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendCoreAsync>g__Core|5_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken)
   at operation_scheduler.Application.DelegatingHandlers.KeycloakInternalAuthDelegatingHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) in /src/src/operation_scheduler.Application/DelegatingHandlers/KeycloakInternalAuthDelegatingHandler.cs:line 35
   at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendCoreAsync>g__Core|5_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
   at Refit.Implementation.Generated.operation_schedulerApplicationClientServicesIVehicleClient.global::operation_scheduler.Application.ClientServices.IVehicleClient.AtualizarLugarId(AtualizaLugarIdModel atualizaLugarIdModel) in /src/src/operation_scheduler.Application/obj/Release/net8.0/InterfaceStubGeneratorV2/Refit.Generator.InterfaceStubGeneratorV2/IVehicleClient.g.cs:line 62
   at operation_scheduler.Api.Schedules.AtualizaLugarId.AtualizarLugarId(PerformContext context) in /src/src/operation_scheduler.Api/Schedules/AtualizaLugarId.cs:line 133
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+48ms Processing

Server:
dashboard operation_scheduler:1
Worker:
8292fc88
+54msBuscando veiculos para atualizar filial
+1.439sVeiculos encontrados: 23174
+9.404sTelemetrias encontradas: 2252
+9.408sTelemetrias Filtradas para data 01/12/2025 20:04:53: 2252
+9.414sVeiculos agrupados: 2252
+9.421sAtualizando LugarId do veiculo com código:21870
+14.429sException do AtualizarLugarId: The request was canceled due to the configured HttpClient.Timeout of 5 seconds elapsing.

+1m 44.555s Enqueued

Triggered by DelayedJobScheduler

+14ms Scheduled

Retry attempt 3 of 3: The request was canceled due to the configured Ht…

Enqueue at:
01/12/2025 22:04:44

+15.503s Failed

An exception occurred during performance of the job.

System.Threading.Tasks.TaskCanceledException (dashboard operation_scheduler:1)

The request was canceled due to the configured HttpClient.Timeout of 5 seconds elapsing.

System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 5 seconds elapsing.
 ---> System.TimeoutException: The operation was canceled.
 ---> System.Threading.Tasks.TaskCanceledException: The operation was canceled.
 ---> System.IO.IOException: Unable to read data from the transport connection: Operation canceled.
 ---> System.Net.Sockets.SocketException (125): Operation canceled
   --- End of inner exception stack trace ---
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
   at System.Net.Http.HttpConnection.InitialFillAsync(Boolean async)
   at System.Net.Http.HttpConnection.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.HttpConnection.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.Metrics.MetricsHandler.SendAsyncWithMetrics(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at Datadog.Trace.ClrProfiler.CallTarget.Handlers.Continuations.TaskContinuationGenerator`4.SyncCallbackHandler.ContinuationAction(Task`1 previousTask, TTarget target, CallTargetState state)
   at Datadog.Trace.ClrProfiler.CallTarget.Handlers.Continuations.TaskContinuationGenerator`4.SyncCallbackHandler.ContinuationAction(Task`1 previousTask, TTarget target, CallTargetState state) in /_/tracer/src/Datadog.Trace/ClrProfiler/CallTarget/Handlers/Continuations/TaskContinuationGenerator`1.cs:line 140
   at Datadog.Trace.ClrProfiler.CallTarget.Handlers.Continuations.TaskContinuationGenerator`4.SyncCallbackHandler.ContinuationAction(Task`1 previousTask, TTarget target, CallTargetState state)
   at Datadog.Trace.ClrProfiler.CallTarget.Handlers.Continuations.TaskContinuationGenerator`4.SyncCallbackHandler.ContinuationAction(Task`1 previousTask, TTarget target, CallTargetState state) in /_/tracer/src/Datadog.Trace/ClrProfiler/CallTarget/Handlers/Continuations/TaskContinuationGenerator`1.cs:line 140
   at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendCoreAsync>g__Core|5_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken)
   at operation_scheduler.Application.DelegatingHandlers.KeycloakInternalAuthDelegatingHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) in /src/src/operation_scheduler.Application/DelegatingHandlers/KeycloakInternalAuthDelegatingHandler.cs:line 35
   at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendCoreAsync>g__Core|5_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
   at Refit.Implementation.Generated.operation_schedulerApplicationClientServicesIVehicleClient.global::operation_scheduler.Application.ClientServices.IVehicleClient.AtualizarLugarId(AtualizaLugarIdModel atualizaLugarIdModel) in /src/src/operation_scheduler.Application/obj/Release/net8.0/InterfaceStubGeneratorV2/Refit.Generator.InterfaceStubGeneratorV2/IVehicleClient.g.cs:line 62
   at operation_scheduler.Api.Schedules.AtualizaLugarId.AtualizarLugarId(PerformContext context) in /src/src/operation_scheduler.Api/Schedules/AtualizaLugarId.cs:line 133
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+17ms Processing

Server:
dashboard operation_scheduler:1
Worker:
8292fc88
+25msBuscando veiculos para atualizar filial
+1.555sVeiculos encontrados: 23174
+10.475sTelemetrias encontradas: 2256
+10.477sTelemetrias Filtradas para data 01/12/2025 20:02:53: 2256
+10.483sVeiculos agrupados: 2256
+10.489sAtualizando LugarId do veiculo com código:21870
+15.496sException do AtualizarLugarId: The request was canceled due to the configured HttpClient.Timeout of 5 seconds elapsing.

+45.807s Enqueued

Triggered by DelayedJobScheduler

+9ms Scheduled

Retry attempt 2 of 3: The request was canceled due to the configured Ht…

Enqueue at:
01/12/2025 22:02:44

+44.234s Failed

An exception occurred during performance of the job.

System.Threading.Tasks.TaskCanceledException (dashboard operation_scheduler:1)

The request was canceled due to the configured HttpClient.Timeout of 5 seconds elapsing.

System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 5 seconds elapsing.
 ---> System.TimeoutException: The operation was canceled.
 ---> System.Threading.Tasks.TaskCanceledException: The operation was canceled.
 ---> System.IO.IOException: Unable to read data from the transport connection: Operation canceled.
 ---> System.Net.Sockets.SocketException (125): Operation canceled
   --- End of inner exception stack trace ---
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
   at System.Net.Http.HttpConnection.InitialFillAsync(Boolean async)
   at System.Net.Http.HttpConnection.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.HttpConnection.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.Metrics.MetricsHandler.SendAsyncWithMetrics(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at Datadog.Trace.ClrProfiler.CallTarget.Handlers.Continuations.TaskContinuationGenerator`4.SyncCallbackHandler.ContinuationAction(Task`1 previousTask, TTarget target, CallTargetState state)
   at Datadog.Trace.ClrProfiler.CallTarget.Handlers.Continuations.TaskContinuationGenerator`4.SyncCallbackHandler.ContinuationAction(Task`1 previousTask, TTarget target, CallTargetState state) in /_/tracer/src/Datadog.Trace/ClrProfiler/CallTarget/Handlers/Continuations/TaskContinuationGenerator`1.cs:line 140
   at Datadog.Trace.ClrProfiler.CallTarget.Handlers.Continuations.TaskContinuationGenerator`4.SyncCallbackHandler.ContinuationAction(Task`1 previousTask, TTarget target, CallTargetState state)
   at Datadog.Trace.ClrProfiler.CallTarget.Handlers.Continuations.TaskContinuationGenerator`4.SyncCallbackHandler.ContinuationAction(Task`1 previousTask, TTarget target, CallTargetState state) in /_/tracer/src/Datadog.Trace/ClrProfiler/CallTarget/Handlers/Continuations/TaskContinuationGenerator`1.cs:line 140
   at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendCoreAsync>g__Core|5_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken)
   at operation_scheduler.Application.DelegatingHandlers.KeycloakInternalAuthDelegatingHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) in /src/src/operation_scheduler.Application/DelegatingHandlers/KeycloakInternalAuthDelegatingHandler.cs:line 35
   at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendCoreAsync>g__Core|5_0(HttpRequestMessage request, Boolean useAsync, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
   at Refit.Implementation.Generated.operation_schedulerApplicationClientServicesIVehicleClient.global::operation_scheduler.Application.ClientServices.IVehicleClient.AtualizarLugarId(AtualizaLugarIdModel atualizaLugarIdModel) in /src/src/operation_scheduler.Application/obj/Release/net8.0/InterfaceStubGeneratorV2/Refit.Generator.InterfaceStubGeneratorV2/IVehicleClient.g.cs:line 62
   at operation_scheduler.Api.Schedules.AtualizaLugarId.AtualizarLugarId(PerformContext context) in /src/src/operation_scheduler.Api/Schedules/AtualizaLugarId.cs:line 133
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+15ms Processing

Server:
dashboard operation_scheduler:1
Worker:
59330ead
+21msBuscando veiculos para atualizar filial
+31.209sVeiculos encontrados: 23174
+39.194sTelemetrias encontradas: 2269
+39.197sTelemetrias Filtradas para data 01/12/2025 20:01:52: 2269
+39.201sVeiculos agrupados: 2269
+39.206sAtualizando LugarId do veiculo com código:21870
+44.225sException do AtualizarLugarId: The request was canceled due to the configured HttpClient.Timeout of 5 seconds elapsing.

+44.295s Enqueued

Triggered by DelayedJobScheduler

+46ms Scheduled

Retry attempt 1 of 3: Execution Timeout Expired. The timeout period el…

Enqueue at:
01/12/2025 22:01:14

+30.560s Failed

An exception occurred during performance of the job.

Microsoft.Data.SqlClient.SqlException (dashboard operation_scheduler:1)

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__211_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 ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at Datadog.Trace.ClrProfiler.CallTarget.Handlers.Continuations.TaskContinuationGenerator`4.SyncCallbackHandler.ContinuationAction(Task`1 previousTask, TTarget target, CallTargetState state) in /_/tracer/src/Datadog.Trace/ClrProfiler/CallTarget/Handlers/Continuations/TaskContinuationGenerator`1.cs:line 140
   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.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
   at operation_scheduler.Data.Repositories.VeiculoRepository.GetVehiclesToUpdateBranch(List`1 veiculoModeloIds, List`1 veiculoSituacoes) in /src/src/operation_scheduler.Data/Repositories/VeiculoRepository.cs:line 29
   at operation_scheduler.Api.Schedules.AtualizaLugarId.AtualizarLugarId(PerformContext context) in /src/src/operation_scheduler.Api/Schedules/AtualizaLugarId.cs:line 61
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+83ms Processing

Server:
dashboard operation_scheduler:1
Worker:
59330ead
+93msBuscando veiculos para atualizar filial
+30.618sException do AtualizarLugarId: Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.

+13ms Enqueued

Triggered by recurring job scheduler

01/12/2025 22:00:06 Created