Failed jobs do not become expired to allow you to re-queue them without any
time pressure. You should re-queue or delete them manually, or apply AutomaticRetry(OnAttemptsExceeded = AttemptsExceededAction.Delete)
attribute to delete them automatically.
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.TdsParser.ThrowExceptionAndWarning(TdsParserStateObjectstateObj, SqlCommandcommand, BooleancallerHasConnectionLock, BooleanasyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehaviorrunBehavior, SqlCommandcmdHandler, SqlDataReaderdataStream, BulkCopySimpleResultSetbulkCopyHandler, TdsParserStateObjectstateObj, Boolean&dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
at Microsoft.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReaderds, RunBehaviorrunBehavior, StringresetOptionsString, BooleanisInternal, BooleanforDescribeParameterEncryption, BooleanshouldCacheForAlwaysEncrypted)
at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehaviorcmdBehavior, RunBehaviorrunBehavior, BooleanreturnStream, BooleanisAsync, Int32timeout, Task&task, BooleanasyncWrite, BooleaninRetry, SqlDataReaderds, BooleandescribeParameterEncryptionRequest)
at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehaviorcmdBehavior, RunBehaviorrunBehavior, BooleanreturnStream, TaskCompletionSource`1completion, Int32timeout, Task&task, Boolean&usedCache, BooleanasyncWrite, BooleaninRetry, Stringmethod)
at Microsoft.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehaviorbehavior)
at Microsoft.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehaviorbehavior)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObjectparameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumeratorenumerator)
at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementation[TState,TResult](Func`3operation, Func`3verifySucceeded, TStatestate)
at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.Execute[TState,TResult](TStatestate, Func`3operation, Func`3verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at Inpart.Integracao.GerenciadorJobs.Services.JobFaturamentoDiretoService.Executar_px_IntegracaoCirurgia() in /src/Inpart.Integracao.GerenciadorJobs/Services/JobFaturamentoDiretoService.cs:line 51
at InvokeStub_TaskAwaiter.GetResult(Object,Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Objectobj, BindingFlagsinvokeAttr)
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.TdsParser.ThrowExceptionAndWarning(TdsParserStateObjectstateObj, SqlCommandcommand, BooleancallerHasConnectionLock, BooleanasyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehaviorrunBehavior, SqlCommandcmdHandler, SqlDataReaderdataStream, BulkCopySimpleResultSetbulkCopyHandler, TdsParserStateObjectstateObj, Boolean&dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
at Microsoft.Data.SqlClient.SqlDataReader.get_MetaData()
at Microsoft.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReaderds, RunBehaviorrunBehavior, StringresetOptionsString, BooleanisInternal, BooleanforDescribeParameterEncryption, BooleanshouldCacheForAlwaysEncrypted)
at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehaviorcmdBehavior, RunBehaviorrunBehavior, BooleanreturnStream, BooleanisAsync, Int32timeout, Task&task, BooleanasyncWrite, BooleaninRetry, SqlDataReaderds, BooleandescribeParameterEncryptionRequest)
at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehaviorcmdBehavior, RunBehaviorrunBehavior, BooleanreturnStream, TaskCompletionSource`1completion, Int32timeout, Task&task, Boolean&usedCache, BooleanasyncWrite, BooleaninRetry, Stringmethod)
at Microsoft.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehaviorbehavior)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObjectparameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumeratorenumerator)
at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementation[TState,TResult](Func`3operation, Func`3verifySucceeded, TStatestate)
at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.Execute[TState,TResult](TStatestate, Func`3operation, Func`3verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at Inpart.Integracao.GerenciadorJobs.Services.JobFaturamentoDiretoService.Executar_px_IntegracaoCirurgia() in /src/Inpart.Integracao.GerenciadorJobs/Services/JobFaturamentoDiretoService.cs:line 51
at InvokeStub_TaskAwaiter.GetResult(Object,Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Objectobj, BindingFlagsinvokeAttr)
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, Int32offset, Int32count)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.Write(ReadOnlySpan`1buffer)
at Microsoft.Data.SqlClient.SNI.SslOverTdsStream.Write(ReadOnlySpan`1buffer)
at System.Net.Security.SslStream.WriteSingleChunk[TIOAdapter](ReadOnlyMemory`1buffer, CancellationTokencancellationToken)
at System.Net.Security.SslStream.WriteAsyncInternal[TIOAdapter](ReadOnlyMemory`1buffer, CancellationTokencancellationToken)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.Send(SNIPacketpacket)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnectionowningObject, UInt32waitForMultipleObjectsTimeout, BooleanallowCreate, BooleanonlyOneCheckConnection, DbConnectionOptionsuserOptions, DbConnectionInternal&connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnectionowningConnection, TaskCompletionSource`1retry, DbConnectionOptionsuserOptions, DbConnectionInternaloldConnection, DbConnectionInternal&connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnectionouterConnection, DbConnectionFactoryconnectionFactory, TaskCompletionSource`1retry, DbConnectionOptionsuserOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1retry, SqlConnectionOverridesoverrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverridesoverrides)
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection() in C:\projects\hangfire-525\src\Hangfire.SqlServer\SqlServerStorage.cs:line 365
at Hangfire.SqlServer.SqlServerConnection.AcquireLock(Stringresource, TimeSpantimeout) in C:\projects\hangfire-525\src\Hangfire.SqlServer\SqlServerConnection.cs:line 721
at Hangfire.DisableConcurrentExecutionAttribute.OnPerforming(PerformingContextcontext) in C:\projects\hangfire-525\src\Hangfire.Core\DisableConcurrentExecutionAttribute.cs:line 48
at Hangfire.Profiling.ProfilerExtensions.InvokeAction[TInstance](InstanceAction`1tuple) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\ProfilerExtensions.cs:line 37
at Hangfire.Profiling.SlowLogProfiler.InvokeMeasured[TInstance,TResult](TInstanceinstance, Func`2action, Stringmessage) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\SlowLogProfiler.cs:line 51
at Hangfire.Profiling.ProfilerExtensions.InvokeMeasured[TInstance](IProfilerprofiler, TInstanceinstance, Action`1action, Stringmessage) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\ProfilerExtensions.cs:line 29
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 140
Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
System.InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnectionowningConnection, TaskCompletionSource`1retry, DbConnectionOptionsuserOptions, DbConnectionInternaloldConnection, DbConnectionInternal&connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnectionouterConnection, DbConnectionFactoryconnectionFactory, TaskCompletionSource`1retry, DbConnectionOptionsuserOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1retry, SqlConnectionOverridesoverrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverridesoverrides)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(BooleanerrorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObjectparameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumeratorenumerator)
at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementation[TState,TResult](Func`3operation, Func`3verifySucceeded, TStatestate)
at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.Execute[TState,TResult](TStatestate, Func`3operation, Func`3verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at Inpart.Integracao.GerenciadorJobs.Services.JobFaturamentoDiretoService.Executar_px_IntegracaoCirurgia() in /src/Inpart.Integracao.GerenciadorJobs/Services/JobFaturamentoDiretoService.cs:line 51
at InvokeStub_TaskAwaiter.GetResult(Object,Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Objectobj, BindingFlagsinvokeAttr)
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, Int32offset, Int32count)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.Write(ReadOnlySpan`1buffer)
at Microsoft.Data.SqlClient.SNI.SslOverTdsStream.Write(ReadOnlySpan`1buffer)
at System.Net.Security.SslStream.WriteSingleChunk[TIOAdapter](ReadOnlyMemory`1buffer, CancellationTokencancellationToken)
at System.Net.Security.SslStream.WriteAsyncInternal[TIOAdapter](ReadOnlyMemory`1buffer, CancellationTokencancellationToken)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.Send(SNIPacketpacket)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnectionowningObject, UInt32waitForMultipleObjectsTimeout, BooleanallowCreate, BooleanonlyOneCheckConnection, DbConnectionOptionsuserOptions, DbConnectionInternal&connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnectionowningConnection, TaskCompletionSource`1retry, DbConnectionOptionsuserOptions, DbConnectionInternaloldConnection, DbConnectionInternal&connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnectionouterConnection, DbConnectionFactoryconnectionFactory, TaskCompletionSource`1retry, DbConnectionOptionsuserOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1retry, SqlConnectionOverridesoverrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverridesoverrides)
at Inpart.Integracao.GerenciadorJobs.CustomDisableConcurrentExecutionAttribute.OnPerforming(PerformingContextcontext) in /src/Inpart.Integracao.GerenciadorJobs/Helper/CustomDisableConcurrentExecutionAttribute.cs:line 57
at Hangfire.Profiling.ProfilerExtensions.InvokeAction[TInstance](InstanceAction`1tuple) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\ProfilerExtensions.cs:line 37
at Hangfire.Profiling.SlowLogProfiler.InvokeMeasured[TInstance,TResult](TInstanceinstance, Func`2action, Stringmessage) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\SlowLogProfiler.cs:line 51
at Hangfire.Profiling.ProfilerExtensions.InvokeMeasured[TInstance](IProfilerprofiler, TInstanceinstance, Action`1action, Stringmessage) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\ProfilerExtensions.cs:line 29
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 140
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, Int32offset, Int32count)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.Write(ReadOnlySpan`1buffer)
at Microsoft.Data.SqlClient.SNI.SslOverTdsStream.Write(ReadOnlySpan`1buffer)
at System.Net.Security.SslStream.WriteSingleChunk[TIOAdapter](ReadOnlyMemory`1buffer, CancellationTokencancellationToken)
at System.Net.Security.SslStream.WriteAsyncInternal[TIOAdapter](ReadOnlyMemory`1buffer, CancellationTokencancellationToken)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.Send(SNIPacketpacket)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnectionowningObject, UInt32waitForMultipleObjectsTimeout, BooleanallowCreate, BooleanonlyOneCheckConnection, DbConnectionOptionsuserOptions, DbConnectionInternal&connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnectionowningConnection, TaskCompletionSource`1retry, DbConnectionOptionsuserOptions, DbConnectionInternaloldConnection, DbConnectionInternal&connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnectionouterConnection, DbConnectionFactoryconnectionFactory, TaskCompletionSource`1retry, DbConnectionOptionsuserOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1retry, SqlConnectionOverridesoverrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverridesoverrides)
at Inpart.Integracao.GerenciadorJobs.CustomDisableConcurrentExecutionAttribute.OnPerforming(PerformingContextcontext) in /src/Inpart.Integracao.GerenciadorJobs/Helper/CustomDisableConcurrentExecutionAttribute.cs:line 57
at Hangfire.Profiling.ProfilerExtensions.InvokeAction[TInstance](InstanceAction`1tuple) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\ProfilerExtensions.cs:line 37
at Hangfire.Profiling.SlowLogProfiler.InvokeMeasured[TInstance,TResult](TInstanceinstance, Func`2action, Stringmessage) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\SlowLogProfiler.cs:line 51
at Hangfire.Profiling.ProfilerExtensions.InvokeMeasured[TInstance](IProfilerprofiler, TInstanceinstance, Action`1action, Stringmessage) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\ProfilerExtensions.cs:line 29
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 140
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, Int32offset, Int32count)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.Write(ReadOnlySpan`1buffer)
at Microsoft.Data.SqlClient.SNI.SslOverTdsStream.Write(ReadOnlySpan`1buffer)
at System.Net.Security.SslStream.WriteSingleChunk[TIOAdapter](ReadOnlyMemory`1buffer, CancellationTokencancellationToken)
at System.Net.Security.SslStream.WriteAsyncInternal[TIOAdapter](ReadOnlyMemory`1buffer, CancellationTokencancellationToken)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.Send(SNIPacketpacket)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnectionowningObject, UInt32waitForMultipleObjectsTimeout, BooleanallowCreate, BooleanonlyOneCheckConnection, DbConnectionOptionsuserOptions, DbConnectionInternal&connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnectionowningConnection, TaskCompletionSource`1retry, DbConnectionOptionsuserOptions, DbConnectionInternaloldConnection, DbConnectionInternal&connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnectionouterConnection, DbConnectionFactoryconnectionFactory, TaskCompletionSource`1retry, DbConnectionOptionsuserOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1retry, SqlConnectionOverridesoverrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverridesoverrides)
at Inpart.Integracao.GerenciadorJobs.CustomDisableConcurrentExecutionAttribute.OnPerforming(PerformingContextcontext) in /src/Inpart.Integracao.GerenciadorJobs/Helper/CustomDisableConcurrentExecutionAttribute.cs:line 57
at Hangfire.Profiling.ProfilerExtensions.InvokeAction[TInstance](InstanceAction`1tuple) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\ProfilerExtensions.cs:line 37
at Hangfire.Profiling.SlowLogProfiler.InvokeMeasured[TInstance,TResult](TInstanceinstance, Func`2action, Stringmessage) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\SlowLogProfiler.cs:line 51
at Hangfire.Profiling.ProfilerExtensions.InvokeMeasured[TInstance](IProfilerprofiler, TInstanceinstance, Action`1action, Stringmessage) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\ProfilerExtensions.cs:line 29
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 140
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, Int32offset, Int32count)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.Write(ReadOnlySpan`1buffer)
at Microsoft.Data.SqlClient.SNI.SslOverTdsStream.Write(ReadOnlySpan`1buffer)
at System.Net.Security.SslStream.WriteSingleChunk[TIOAdapter](ReadOnlyMemory`1buffer, CancellationTokencancellationToken)
at System.Net.Security.SslStream.WriteAsyncInternal[TIOAdapter](ReadOnlyMemory`1buffer, CancellationTokencancellationToken)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.Send(SNIPacketpacket)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnectionowningObject, UInt32waitForMultipleObjectsTimeout, BooleanallowCreate, BooleanonlyOneCheckConnection, DbConnectionOptionsuserOptions, DbConnectionInternal&connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnectionowningConnection, TaskCompletionSource`1retry, DbConnectionOptionsuserOptions, DbConnectionInternaloldConnection, DbConnectionInternal&connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnectionouterConnection, DbConnectionFactoryconnectionFactory, TaskCompletionSource`1retry, DbConnectionOptionsuserOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1retry, SqlConnectionOverridesoverrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverridesoverrides)
at Inpart.Integracao.GerenciadorJobs.CustomDisableConcurrentExecutionAttribute.OnPerforming(PerformingContextcontext) in /src/Inpart.Integracao.GerenciadorJobs/Helper/CustomDisableConcurrentExecutionAttribute.cs:line 57
at Hangfire.Profiling.ProfilerExtensions.InvokeAction[TInstance](InstanceAction`1tuple) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\ProfilerExtensions.cs:line 37
at Hangfire.Profiling.SlowLogProfiler.InvokeMeasured[TInstance,TResult](TInstanceinstance, Func`2action, Stringmessage) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\SlowLogProfiler.cs:line 51
at Hangfire.Profiling.ProfilerExtensions.InvokeMeasured[TInstance](IProfilerprofiler, TInstanceinstance, Action`1action, Stringmessage) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\ProfilerExtensions.cs:line 29
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 140
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, Int32offset, Int32count)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.Write(ReadOnlySpan`1buffer)
at Microsoft.Data.SqlClient.SNI.SslOverTdsStream.Write(ReadOnlySpan`1buffer)
at System.Net.Security.SslStream.WriteSingleChunk[TIOAdapter](ReadOnlyMemory`1buffer, CancellationTokencancellationToken)
at System.Net.Security.SslStream.WriteAsyncInternal[TIOAdapter](ReadOnlyMemory`1buffer, CancellationTokencancellationToken)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.Send(SNIPacketpacket)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnectionowningObject, UInt32waitForMultipleObjectsTimeout, BooleanallowCreate, BooleanonlyOneCheckConnection, DbConnectionOptionsuserOptions, DbConnectionInternal&connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnectionowningConnection, TaskCompletionSource`1retry, DbConnectionOptionsuserOptions, DbConnectionInternaloldConnection, DbConnectionInternal&connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnectionouterConnection, DbConnectionFactoryconnectionFactory, TaskCompletionSource`1retry, DbConnectionOptionsuserOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1retry, SqlConnectionOverridesoverrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverridesoverrides)
at Inpart.Integracao.GerenciadorJobs.CustomDisableConcurrentExecutionAttribute.OnPerforming(PerformingContextcontext) in /src/Inpart.Integracao.GerenciadorJobs/Helper/CustomDisableConcurrentExecutionAttribute.cs:line 57
at Hangfire.Profiling.ProfilerExtensions.InvokeAction[TInstance](InstanceAction`1tuple) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\ProfilerExtensions.cs:line 37
at Hangfire.Profiling.SlowLogProfiler.InvokeMeasured[TInstance,TResult](TInstanceinstance, Func`2action, Stringmessage) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\SlowLogProfiler.cs:line 51
at Hangfire.Profiling.ProfilerExtensions.InvokeMeasured[TInstance](IProfilerprofiler, TInstanceinstance, Action`1action, Stringmessage) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\ProfilerExtensions.cs:line 29
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 140
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, Int32offset, Int32count)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.Write(ReadOnlySpan`1buffer)
at Microsoft.Data.SqlClient.SNI.SslOverTdsStream.Write(ReadOnlySpan`1buffer)
at System.Net.Security.SslStream.WriteSingleChunk[TIOAdapter](ReadOnlyMemory`1buffer, CancellationTokencancellationToken)
at System.Net.Security.SslStream.WriteAsyncInternal[TIOAdapter](ReadOnlyMemory`1buffer, CancellationTokencancellationToken)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.Send(SNIPacketpacket)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnectionowningObject, UInt32waitForMultipleObjectsTimeout, BooleanallowCreate, BooleanonlyOneCheckConnection, DbConnectionOptionsuserOptions, DbConnectionInternal&connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnectionowningConnection, TaskCompletionSource`1retry, DbConnectionOptionsuserOptions, DbConnectionInternaloldConnection, DbConnectionInternal&connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnectionouterConnection, DbConnectionFactoryconnectionFactory, TaskCompletionSource`1retry, DbConnectionOptionsuserOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1retry, SqlConnectionOverridesoverrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverridesoverrides)
at Inpart.Integracao.GerenciadorJobs.CustomDisableConcurrentExecutionAttribute.OnPerforming(PerformingContextcontext) in /src/Inpart.Integracao.GerenciadorJobs/Helper/CustomDisableConcurrentExecutionAttribute.cs:line 57
at Hangfire.Profiling.ProfilerExtensions.InvokeAction[TInstance](InstanceAction`1tuple) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\ProfilerExtensions.cs:line 37
at Hangfire.Profiling.SlowLogProfiler.InvokeMeasured[TInstance,TResult](TInstanceinstance, Func`2action, Stringmessage) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\SlowLogProfiler.cs:line 51
at Hangfire.Profiling.ProfilerExtensions.InvokeMeasured[TInstance](IProfilerprofiler, TInstanceinstance, Action`1action, Stringmessage) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\ProfilerExtensions.cs:line 29
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 140
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, Int32offset, Int32count)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.Write(ReadOnlySpan`1buffer)
at Microsoft.Data.SqlClient.SNI.SslOverTdsStream.Write(ReadOnlySpan`1buffer)
at System.Net.Security.SslStream.WriteSingleChunk[TIOAdapter](ReadOnlyMemory`1buffer, CancellationTokencancellationToken)
at System.Net.Security.SslStream.WriteAsyncInternal[TIOAdapter](ReadOnlyMemory`1buffer, CancellationTokencancellationToken)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.Send(SNIPacketpacket)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnectionowningObject, UInt32waitForMultipleObjectsTimeout, BooleanallowCreate, BooleanonlyOneCheckConnection, DbConnectionOptionsuserOptions, DbConnectionInternal&connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnectionowningConnection, TaskCompletionSource`1retry, DbConnectionOptionsuserOptions, DbConnectionInternaloldConnection, DbConnectionInternal&connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnectionouterConnection, DbConnectionFactoryconnectionFactory, TaskCompletionSource`1retry, DbConnectionOptionsuserOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1retry, SqlConnectionOverridesoverrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverridesoverrides)
at Inpart.Integracao.GerenciadorJobs.CustomDisableConcurrentExecutionAttribute.OnPerforming(PerformingContextcontext) in /src/Inpart.Integracao.GerenciadorJobs/Helper/CustomDisableConcurrentExecutionAttribute.cs:line 57
at Hangfire.Profiling.ProfilerExtensions.InvokeAction[TInstance](InstanceAction`1tuple) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\ProfilerExtensions.cs:line 37
at Hangfire.Profiling.SlowLogProfiler.InvokeMeasured[TInstance,TResult](TInstanceinstance, Func`2action, Stringmessage) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\SlowLogProfiler.cs:line 51
at Hangfire.Profiling.ProfilerExtensions.InvokeMeasured[TInstance](IProfilerprofiler, TInstanceinstance, Action`1action, Stringmessage) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\ProfilerExtensions.cs:line 29
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 140
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, Int32offset, Int32count)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.Write(ReadOnlySpan`1buffer)
at Microsoft.Data.SqlClient.SNI.SslOverTdsStream.Write(ReadOnlySpan`1buffer)
at System.Net.Security.SslStream.WriteSingleChunk[TIOAdapter](ReadOnlyMemory`1buffer, CancellationTokencancellationToken)
at System.Net.Security.SslStream.WriteAsyncInternal[TIOAdapter](ReadOnlyMemory`1buffer, CancellationTokencancellationToken)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.Send(SNIPacketpacket)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnectionowningObject, UInt32waitForMultipleObjectsTimeout, BooleanallowCreate, BooleanonlyOneCheckConnection, DbConnectionOptionsuserOptions, DbConnectionInternal&connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnectionowningConnection, TaskCompletionSource`1retry, DbConnectionOptionsuserOptions, DbConnectionInternaloldConnection, DbConnectionInternal&connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnectionouterConnection, DbConnectionFactoryconnectionFactory, TaskCompletionSource`1retry, DbConnectionOptionsuserOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1retry, SqlConnectionOverridesoverrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverridesoverrides)
at Inpart.Integracao.GerenciadorJobs.CustomDisableConcurrentExecutionAttribute.OnPerforming(PerformingContextcontext) in /src/Inpart.Integracao.GerenciadorJobs/Helper/CustomDisableConcurrentExecutionAttribute.cs:line 57
at Hangfire.Profiling.ProfilerExtensions.InvokeAction[TInstance](InstanceAction`1tuple) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\ProfilerExtensions.cs:line 37
at Hangfire.Profiling.SlowLogProfiler.InvokeMeasured[TInstance,TResult](TInstanceinstance, Func`2action, Stringmessage) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\SlowLogProfiler.cs:line 51
at Hangfire.Profiling.ProfilerExtensions.InvokeMeasured[TInstance](IProfilerprofiler, TInstanceinstance, Action`1action, Stringmessage) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\ProfilerExtensions.cs:line 29
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 140
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, Int32offset, Int32count)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.Write(ReadOnlySpan`1buffer)
at Microsoft.Data.SqlClient.SNI.SslOverTdsStream.Write(ReadOnlySpan`1buffer)
at System.Net.Security.SslStream.WriteSingleChunk[TIOAdapter](ReadOnlyMemory`1buffer, CancellationTokencancellationToken)
at System.Net.Security.SslStream.WriteAsyncInternal[TIOAdapter](ReadOnlyMemory`1buffer, CancellationTokencancellationToken)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.Send(SNIPacketpacket)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnectionowningObject, UInt32waitForMultipleObjectsTimeout, BooleanallowCreate, BooleanonlyOneCheckConnection, DbConnectionOptionsuserOptions, DbConnectionInternal&connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnectionowningConnection, TaskCompletionSource`1retry, DbConnectionOptionsuserOptions, DbConnectionInternaloldConnection, DbConnectionInternal&connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnectionouterConnection, DbConnectionFactoryconnectionFactory, TaskCompletionSource`1retry, DbConnectionOptionsuserOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1retry, SqlConnectionOverridesoverrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverridesoverrides)
at Inpart.Integracao.GerenciadorJobs.CustomDisableConcurrentExecutionAttribute.OnPerforming(PerformingContextcontext) in /src/Inpart.Integracao.GerenciadorJobs/Helper/CustomDisableConcurrentExecutionAttribute.cs:line 57
at Hangfire.Profiling.ProfilerExtensions.InvokeAction[TInstance](InstanceAction`1tuple) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\ProfilerExtensions.cs:line 37
at Hangfire.Profiling.SlowLogProfiler.InvokeMeasured[TInstance,TResult](TInstanceinstance, Func`2action, Stringmessage) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\SlowLogProfiler.cs:line 51
at Hangfire.Profiling.ProfilerExtensions.InvokeMeasured[TInstance](IProfilerprofiler, TInstanceinstance, Action`1action, Stringmessage) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\ProfilerExtensions.cs:line 29
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 140
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, Int32offset, Int32count)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.Write(ReadOnlySpan`1buffer)
at Microsoft.Data.SqlClient.SNI.SslOverTdsStream.Write(ReadOnlySpan`1buffer)
at System.Net.Security.SslStream.WriteSingleChunk[TIOAdapter](ReadOnlyMemory`1buffer, CancellationTokencancellationToken)
at System.Net.Security.SslStream.WriteAsyncInternal[TIOAdapter](ReadOnlyMemory`1buffer, CancellationTokencancellationToken)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.Send(SNIPacketpacket)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnectionowningObject, UInt32waitForMultipleObjectsTimeout, BooleanallowCreate, BooleanonlyOneCheckConnection, DbConnectionOptionsuserOptions, DbConnectionInternal&connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnectionowningConnection, TaskCompletionSource`1retry, DbConnectionOptionsuserOptions, DbConnectionInternaloldConnection, DbConnectionInternal&connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnectionouterConnection, DbConnectionFactoryconnectionFactory, TaskCompletionSource`1retry, DbConnectionOptionsuserOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1retry, SqlConnectionOverridesoverrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverridesoverrides)
at Inpart.Integracao.GerenciadorJobs.CustomDisableConcurrentExecutionAttribute.OnPerforming(PerformingContextcontext) in /src/Inpart.Integracao.GerenciadorJobs/Helper/CustomDisableConcurrentExecutionAttribute.cs:line 57
at Hangfire.Profiling.ProfilerExtensions.InvokeAction[TInstance](InstanceAction`1tuple) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\ProfilerExtensions.cs:line 37
at Hangfire.Profiling.SlowLogProfiler.InvokeMeasured[TInstance,TResult](TInstanceinstance, Func`2action, Stringmessage) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\SlowLogProfiler.cs:line 51
at Hangfire.Profiling.ProfilerExtensions.InvokeMeasured[TInstance](IProfilerprofiler, TInstanceinstance, Action`1action, Stringmessage) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\ProfilerExtensions.cs:line 29
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 140
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, Int32offset, Int32count)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.Write(ReadOnlySpan`1buffer)
at Microsoft.Data.SqlClient.SNI.SslOverTdsStream.Write(ReadOnlySpan`1buffer)
at System.Net.Security.SslStream.WriteSingleChunk[TIOAdapter](ReadOnlyMemory`1buffer, CancellationTokencancellationToken)
at System.Net.Security.SslStream.WriteAsyncInternal[TIOAdapter](ReadOnlyMemory`1buffer, CancellationTokencancellationToken)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.Send(SNIPacketpacket)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnectionowningObject, UInt32waitForMultipleObjectsTimeout, BooleanallowCreate, BooleanonlyOneCheckConnection, DbConnectionOptionsuserOptions, DbConnectionInternal&connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnectionowningConnection, TaskCompletionSource`1retry, DbConnectionOptionsuserOptions, DbConnectionInternaloldConnection, DbConnectionInternal&connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnectionouterConnection, DbConnectionFactoryconnectionFactory, TaskCompletionSource`1retry, DbConnectionOptionsuserOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1retry, SqlConnectionOverridesoverrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverridesoverrides)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(BooleanerrorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObjectparameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumeratorenumerator)
at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementation[TState,TResult](Func`3operation, Func`3verifySucceeded, TStatestate)
at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.Execute[TState,TResult](TStatestate, Func`3operation, Func`3verifySucceeded)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1source)
at Inpart.Integracao.GerenciadorJobs.Services.JobFaturamentoDiretoService.Executar_px_IntegracaoCirurgia()
at InvokeStub_TaskAwaiter.GetResult(Object,Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Objectobj, BindingFlagsinvokeAttr)
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, Int32offset, Int32count)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.Write(ReadOnlySpan`1buffer)
at Microsoft.Data.SqlClient.SNI.SslOverTdsStream.Write(ReadOnlySpan`1buffer)
at System.Net.Security.SslStream.WriteSingleChunk[TIOAdapter](ReadOnlyMemory`1buffer, CancellationTokencancellationToken)
at System.Net.Security.SslStream.WriteAsyncInternal[TIOAdapter](ReadOnlyMemory`1buffer, CancellationTokencancellationToken)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.Send(SNIPacketpacket)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnectionowningObject, UInt32waitForMultipleObjectsTimeout, BooleanallowCreate, BooleanonlyOneCheckConnection, DbConnectionOptionsuserOptions, DbConnectionInternal&connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnectionowningConnection, TaskCompletionSource`1retry, DbConnectionOptionsuserOptions, DbConnectionInternaloldConnection, DbConnectionInternal&connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnectionouterConnection, DbConnectionFactoryconnectionFactory, TaskCompletionSource`1retry, DbConnectionOptionsuserOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1retry, SqlConnectionOverridesoverrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverridesoverrides)
at Inpart.Integracao.GerenciadorJobs.CustomDisableConcurrentExecutionAttribute.OnPerforming(PerformingContextcontext) in /src/Inpart.Integracao.GerenciadorJobs/Helper/CustomDisableConcurrentExecutionAttribute.cs:line 57
at Hangfire.Profiling.ProfilerExtensions.InvokeAction[TInstance](InstanceAction`1tuple) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\ProfilerExtensions.cs:line 37
at Hangfire.Profiling.SlowLogProfiler.InvokeMeasured[TInstance,TResult](TInstanceinstance, Func`2action, Stringmessage) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\SlowLogProfiler.cs:line 51
at Hangfire.Profiling.ProfilerExtensions.InvokeMeasured[TInstance](IProfilerprofiler, TInstanceinstance, Action`1action, Stringmessage) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\ProfilerExtensions.cs:line 29
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 140
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, Int32offset, Int32count)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.Write(ReadOnlySpan`1buffer)
at Microsoft.Data.SqlClient.SNI.SslOverTdsStream.Write(ReadOnlySpan`1buffer)
at System.Net.Security.SslStream.WriteSingleChunk[TIOAdapter](ReadOnlyMemory`1buffer, CancellationTokencancellationToken)
at System.Net.Security.SslStream.WriteAsyncInternal[TIOAdapter](ReadOnlyMemory`1buffer, CancellationTokencancellationToken)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.Send(SNIPacketpacket)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnectionowningObject, UInt32waitForMultipleObjectsTimeout, BooleanallowCreate, BooleanonlyOneCheckConnection, DbConnectionOptionsuserOptions, DbConnectionInternal&connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnectionowningConnection, TaskCompletionSource`1retry, DbConnectionOptionsuserOptions, DbConnectionInternaloldConnection, DbConnectionInternal&connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnectionouterConnection, DbConnectionFactoryconnectionFactory, TaskCompletionSource`1retry, DbConnectionOptionsuserOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1retry, SqlConnectionOverridesoverrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverridesoverrides)
at Inpart.Integracao.GerenciadorJobs.CustomDisableConcurrentExecutionAttribute.OnPerforming(PerformingContextcontext) in /src/Inpart.Integracao.GerenciadorJobs/Helper/CustomDisableConcurrentExecutionAttribute.cs:line 57
at Hangfire.Profiling.ProfilerExtensions.InvokeAction[TInstance](InstanceAction`1tuple) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\ProfilerExtensions.cs:line 37
at Hangfire.Profiling.SlowLogProfiler.InvokeMeasured[TInstance,TResult](TInstanceinstance, Func`2action, Stringmessage) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\SlowLogProfiler.cs:line 51
at Hangfire.Profiling.ProfilerExtensions.InvokeMeasured[TInstance](IProfilerprofiler, TInstanceinstance, Action`1action, Stringmessage) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\ProfilerExtensions.cs:line 29
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 140
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, Int32offset, Int32count)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Write(Byte[]buffer, Int32offset, Int32count)
at System.IO.Stream.Write(ReadOnlySpan`1buffer)
at Microsoft.Data.SqlClient.SNI.SslOverTdsStream.Write(ReadOnlySpan`1buffer)
at System.Net.Security.SslStream.WriteSingleChunk[TIOAdapter](ReadOnlyMemory`1buffer, CancellationTokencancellationToken)
at System.Net.Security.SslStream.WriteAsyncInternal[TIOAdapter](ReadOnlyMemory`1buffer, CancellationTokencancellationToken)
at Microsoft.Data.SqlClient.SNI.SNITCPHandle.Send(SNIPacketpacket)
at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnectionowningObject, UInt32waitForMultipleObjectsTimeout, BooleanallowCreate, BooleanonlyOneCheckConnection, DbConnectionOptionsuserOptions, DbConnectionInternal&connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnectionowningConnection, TaskCompletionSource`1retry, DbConnectionOptionsuserOptions, DbConnectionInternaloldConnection, DbConnectionInternal&connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnectionouterConnection, DbConnectionFactoryconnectionFactory, TaskCompletionSource`1retry, DbConnectionOptionsuserOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1retry, SqlConnectionOverridesoverrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverridesoverrides)
at Inpart.Integracao.GerenciadorJobs.CustomDisableConcurrentExecutionAttribute.OnPerforming(PerformingContextcontext) in /src/Inpart.Integracao.GerenciadorJobs/Helper/CustomDisableConcurrentExecutionAttribute.cs:line 57
at Hangfire.Profiling.ProfilerExtensions.InvokeAction[TInstance](InstanceAction`1tuple) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\ProfilerExtensions.cs:line 37
at Hangfire.Profiling.SlowLogProfiler.InvokeMeasured[TInstance,TResult](TInstanceinstance, Func`2action, Stringmessage) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\SlowLogProfiler.cs:line 51
at Hangfire.Profiling.ProfilerExtensions.InvokeMeasured[TInstance](IProfilerprofiler, TInstanceinstance, Action`1action, Stringmessage) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\ProfilerExtensions.cs:line 29
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 140
Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
System.InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnectionowningConnection, TaskCompletionSource`1retry, DbConnectionOptionsuserOptions, DbConnectionInternaloldConnection, DbConnectionInternal&connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnectionouterConnection, DbConnectionFactoryconnectionFactory, TaskCompletionSource`1retry, DbConnectionOptionsuserOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1retry, SqlConnectionOverridesoverrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverridesoverrides)
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection() in C:\projects\hangfire-525\src\Hangfire.SqlServer\SqlServerStorage.cs:line 365
at Hangfire.SqlServer.SqlServerConnection.AcquireLock(Stringresource, TimeSpantimeout) in C:\projects\hangfire-525\src\Hangfire.SqlServer\SqlServerConnection.cs:line 721
at Hangfire.DisableConcurrentExecutionAttribute.OnPerforming(PerformingContextcontext) in C:\projects\hangfire-525\src\Hangfire.Core\DisableConcurrentExecutionAttribute.cs:line 48
at Hangfire.Profiling.ProfilerExtensions.InvokeAction[TInstance](InstanceAction`1tuple) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\ProfilerExtensions.cs:line 37
at Hangfire.Profiling.SlowLogProfiler.InvokeMeasured[TInstance,TResult](TInstanceinstance, Func`2action, Stringmessage) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\SlowLogProfiler.cs:line 51
at Hangfire.Profiling.ProfilerExtensions.InvokeMeasured[TInstance](IProfilerprofiler, TInstanceinstance, Action`1action, Stringmessage) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\ProfilerExtensions.cs:line 29
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 140
Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
Operation cancelled by user.
Microsoft.Data.SqlClient.SqlException (0x80131904): Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
Operation cancelled by user.
---> System.ComponentModel.Win32Exception (258): Unknown error 258
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObjectstateObj, SqlCommandcommand, BooleancallerHasConnectionLock, BooleanasyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehaviorrunBehavior, SqlCommandcmdHandler, SqlDataReaderdataStream, BulkCopySimpleResultSetbulkCopyHandler, TdsParserStateObjectstateObj, Boolean&dataReady)
at Microsoft.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReaderds, RunBehaviorrunBehavior, StringresetOptionsString, BooleanisInternal, BooleanforDescribeParameterEncryption, BooleanshouldCacheForAlwaysEncrypted)
at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehaviorcmdBehavior, RunBehaviorrunBehavior, BooleanreturnStream, BooleanisAsync, Int32timeout, Task&task, BooleanasyncWrite, BooleaninRetry, SqlDataReaderds, BooleandescribeParameterEncryptionRequest)
at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehaviorcmdBehavior, RunBehaviorrunBehavior, BooleanreturnStream, TaskCompletionSource`1completion, Int32timeout, Task&task, Boolean&usedCache, BooleanasyncWrite, BooleaninRetry, Stringmethod)
at Microsoft.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Dapper.SqlMapper.ExecuteCommand(IDbConnectioncnn, CommandDefinition&command, Action`2paramReader) in /_/Dapper/SqlMapper.cs:line 2965
at Dapper.SqlMapper.ExecuteImpl(IDbConnectioncnn, CommandDefinition&command) in /_/Dapper/SqlMapper.cs:line 656
at Hangfire.SqlServer.SqlServerDistributedLock.Acquire(DbConnectionconnection, Stringresource, TimeSpantimeout) in C:\projects\hangfire-525\src\Hangfire.SqlServer\SqlServerDistributedLock.cs:line 202
at Hangfire.SqlServer.SqlServerConnection.AcquireLock(Stringresource, TimeSpantimeout) in C:\projects\hangfire-525\src\Hangfire.SqlServer\SqlServerConnection.cs:line 731
at Hangfire.DisableConcurrentExecutionAttribute.OnPerforming(PerformingContextcontext) in C:\projects\hangfire-525\src\Hangfire.Core\DisableConcurrentExecutionAttribute.cs:line 48
at Hangfire.Profiling.ProfilerExtensions.InvokeAction[TInstance](InstanceAction`1tuple) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\ProfilerExtensions.cs:line 37
at Hangfire.Profiling.SlowLogProfiler.InvokeMeasured[TInstance,TResult](TInstanceinstance, Func`2action, Stringmessage) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\SlowLogProfiler.cs:line 51
at Hangfire.Profiling.ProfilerExtensions.InvokeMeasured[TInstance](IProfilerprofiler, TInstanceinstance, Action`1action, Stringmessage) in C:\projects\hangfire-525\src\Hangfire.Core\Profiling\ProfilerExtensions.cs:line 29
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 140