JobFaturamentoDiretoService.Executar_px_IntegracaoCirurgia

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

var jobFaturamentoDiretoService = Activate<JobFaturamentoDiretoService>();
await jobFaturamentoDiretoService.Executar_px_IntegracaoCirurgia();

Parameters

CurrentCulture
""
RecurringJobId
"wsintegracao-integracao-cirurgia"
Time
1764526299

State

11/30/2025 18:11:55 (+4.073s) Failed

An exception occurred during performance of the job.

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

A connection was successfully established with the server, but then an error occurred during the login process. (provider: TCP Provider, error: 35 - An internal exception was caught)

Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: TCP Provider, error: 35 - An internal exception was caught)
 ---> System.IO.IOException: Unable to write data to the transport connection: Connection reset by peer.
 ---> System.Net.Sockets.SocketException (104): Connection reset by peer
   at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 count)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 count)
   at System.IO.Stream.Write(ReadOnlySpan`1 buffer)
   at Microsoft.Data.SqlClient.SNI.SslOverTdsStream.Write(ReadOnlySpan`1 buffer)
   at System.Net.Security.SslStream.WriteSingleChunk[TIOAdapter](ReadOnlyMemory`1 buffer, CancellationToken cancellationToken)
   at System.Net.Security.SslStream.WriteAsyncInternal[TIOAdapter](ReadOnlyMemory`1 buffer, CancellationToken cancellationToken)
   at Microsoft.Data.SqlClient.SNI.SNITCPHandle.Send(SNIPacket packet)
   at Microsoft.Data.ProviderBase.DbConnectionPool.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.Open(SqlConnectionOverrides overrides)
   at Inpart.Integracao.GerenciadorJobs.CustomDisableConcurrentExecutionAttribute.OnPerforming(PerformingContext context) in /src/Inpart.Integracao.GerenciadorJobs/Helper/CustomDisableConcurrentExecutionAttribute.cs:line 57
   at Hangfire.Profiling.ProfilerExtensions.InvokeAction[TInstance](InstanceAction`1 tuple) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\ProfilerExtensions.cs:line 37
   at Hangfire.Profiling.SlowLogProfiler.InvokeMeasured[TInstance,TResult](TInstance instance, Func`2 action, String message) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\SlowLogProfiler.cs:line 51
   at Hangfire.Profiling.ProfilerExtensions.InvokeMeasured[TInstance](IProfiler profiler, TInstance instance, Action`1 action, String message) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\ProfilerExtensions.cs:line 29
   at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 140

+4.490s Processing

Server:
c6b8ec1fb82d.staging:1
Worker:
3be25920

+10ms Enqueued

Triggered by recurring job scheduler

11/30/2025 18:11:46 Created