JobAutomacaoAuditoriaPosService.ProcessarAutomacao (inpart-jobs)

// Id: #10074029
// Queue: inpart-jobs
using Inpart.Integracao.GerenciadorJobs.Services.AutomacaoAuditoriaPos;

var jobAutomacaoAuditoriaPosService = Activate<JobAutomacaoAuditoriaPosService>();
await jobAutomacaoAuditoriaPosService.ProcessarAutomacao();

Parameters

CurrentCulture
""
RecurringJobId
"automacao-auditoria-pos"
Time
1791036211

State

10/03/2026 14:40:35 (+210ms) Failed

An exception occurred during performance of the job.

Microsoft.Data.SqlClient.SqlException (d783fc6c4b13.staging:1)

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 35 - An internal exception was caught)

Microsoft.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 35 - An internal exception was caught)
 ---> System.ComponentModel.Win32Exception (258): The connection attempt timed out.
   at Microsoft.Data.SqlClient.ManagedSni.SniTcpHandle.Connect(String serverName, Int32 port, TimeoutTimer timeout, SqlConnectionIPAddressPreference ipPreference, String cachedFQDN, SQLDNSInfo& pendingDNSInfo)
   at Microsoft.Data.SqlClient.ManagedSni.SniTcpHandle..ctor(String serverName, Int32 port, TimeoutTimer timeout, Boolean parallel, SqlConnectionIPAddressPreference ipPreference, String cachedFQDN, SQLDNSInfo& pendingDNSInfo, Boolean tlsFirst, String hostNameInCertificate, String serverCertificateFilename)
   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 Inpart.DataAccess.EFRepository`1.QueryAsync[TResult](String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType)
   at Inpart.Integracao.GerenciadorJobs.Services.AutomacaoAuditoriaPos.JobAutomacaoAuditoriaPosService.ProcessarAutomacao() in /src/Inpart.Integracao.GerenciadorJobs/Services/AutomacaoAuditoriaPos/JobAutomacaoAuditoriaPosService.cs:line 41
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

+7.770s Processing

Server:
d783fc6c4b13.staging:1
Worker:
f92d510c

+13ms Enqueued

Triggered by recurring job scheduler

10/03/2026 14:40:27 Created