JobIntegracaoLeanSaida.ProcessarFinalizacoesPendentes

// Id: #9794616
using Inpart.Integracao.GerenciadorJobs.Services;

var jobIntegracaoLeanSaida = Activate<JobIntegracaoLeanSaida>();
await jobIntegracaoLeanSaida.ProcessarFinalizacoesPendentes();

Parameters

CurrentCulture
""
RecurringJobId
"lean-finalizacao-cotacoes-opme"
Time
1789363627

State

09/14/2026 05:27:09 (+100ms) Failed

An exception occurred during performance of the job.

Microsoft.Data.SqlClient.SqlException (2f3a32e565b9.staging:1)

Connection Timeout Expired. The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement. This could be because the pre-login handshake failed or the server was unable to respond back in time. The duration spent while attempting to connect to this server was - [Pre-Login] initialization=16176; handshake=429501;

Microsoft.Data.SqlClient.SqlException (0x80131904): Connection Timeout Expired.  The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement.  This could be because the pre-login handshake failed or the server was unable to respond back in time.  The duration spent while attempting to connect to this server was - [Pre-Login] initialization=16176; handshake=429501; 
 ---> System.ComponentModel.Win32Exception (258): Unknown error 258
   at Microsoft.Data.SqlClient.ConnectionPool.WaitHandleDbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
   at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
   at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
   at Microsoft.Data.SqlClient.SqlConnection.InternalOpenAsync(SqlConnectionOverrides overrides, CancellationToken cancellationToken)
--- End of stack trace from previous location ---
   at Dapper.SqlMapper.QueryAsync[T](IDbConnection cnn, Type effectiveType, CommandDefinition command) in /_/Dapper/SqlMapper.Async.cs:line 433
   at Inpart.Integracao.Lean.Persistencia.LeanCotacaoRepository.BuscarSaidasPendentesAsync(CancellationToken cancellationToken)
   at Inpart.Integracao.Lean.Services.IntegracaoLeanService.ProcessarFinalizacoesPendentesAsync(CancellationToken cancellationToken)
   at Inpart.Integracao.Lean.Services.IntegracaoLeanService.ProcessarFinalizacoesPendentesAsync(CancellationToken cancellationToken)
   at InvokeStub_TaskAwaiter`1.GetResult(Object, Object, IntPtr*)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

+94ms Processing

Server:
2f3a32e565b9.staging:1
Worker:
14f59b1a

+13ms Enqueued

Triggered by recurring job scheduler

Queue:
lean-jobs

09/14/2026 05:27:09 Created