JobVerificaIPExternoExterno.Execute

The job is finished. It will be removed automatically 06/14/2026 05:01:14.
// Id: #8633696
using Inpart.Integracao.GerenciadorJobs.Services;

var jobVerificaIPExternoExterno = Activate<JobVerificaIPExternoExterno>();
await jobVerificaIPExternoExterno.Execute();

Parameters

CurrentCulture
""
RecurringJobId
"verifica-ip-externo"
RetryCount
1
Time
1781326803

State

06/13/2026 05:01:14 (+1.260s) Succeeded

Latency:
1m 7.697s
Duration:
1.222s

+46ms Processing

Server:
643eb967510a.development:1
Worker:
468ec1df

+50.994s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

Retry attempt 1 of 1: System.Exception: Erro ao abrir conexão com banco…

Enqueue at:
06/13/2026 05:01:05

+16.423s Failed

An exception occurred during performance of the job.

System.Exception (bfc9f5e3f4dd.staging:1)

System.Exception: Erro ao abrir conexão com banco de dados. ---> System.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: 40 - Could not open a connection to SQL Server) at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.Open() at Inpart.Communication.Data.ContextSql.Connection(String nomeInstancia) in /src/Inpart.Communication/Data/ContextSql.cs:line 30 ClientConnectionId:00000000-0000-0000-0000-000000000000 --- End of inner exception stack trace --- at Inpart.Communication.Data.ContextSql.Connection(String nomeInstancia) in /src/Inpart.Communication/Data/ContextSql.cs:line 36 at Inpart.Communication.Domain.Email.InsertQueueEmail(DtoCommunication msg) in /src/Inpart.Communication/Domain/Email.cs:line 20 at Inpart.Communication.Domain.Communication.SendEmaiGridl(DtoCommunication msg) in /src/Inpart.Communication/Domain/Communication.cs:line 56 at Inpart.Communication.Controllers.CommunicationController.CommunicationEmailGrid(DtoCommunication communication) in /src/Inpart.Communication/Controllers/CommunicationController.cs:line 28 at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Logged|12_1(ControllerActionInvoker invoker) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker) at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext) at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider) at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context) HEADERS ======= Accept: application/json, text/json, text/x-json, text/javascript, application/xml, text/xml Host: inpart-hml-communication.azurewebsites.net User-Agent: RestSharp/110.2.0.0 Accept-Encoding: gzip, deflate, br Content-Type: application/json; charset=utf-8 Max-Forwards: 10 Request-Id: |658c691fedb7445d2417ca71b11574a2.7324191bf570d325. traceparent: 00-658c691fedb7445d2417ca71b11574a2-7324191bf570d325-00 Content-Length: 185 Request-Context: appId=cid-v1:3e31c0f8-033c-49bf-be39-6048aae6e1a8 X-ARR-LOG-ID: ac0d2eac-a572-49f3-9634-58b3e6db43e8 CLIENT-IP: 20.226.8.66:14906 DISGUISED-HOST: inpart-hml-communication.azurewebsites.net X-SITE-DEPLOYMENT-ID: inpart-hml-communication WAS-DEFAULT-HOSTNAME: inpart-hml-communication.azurewebsites.net X-Forwarded-Proto: https X-AppService-Proto: https X-ARR-SSL: 2048|256|CN=Microsoft TLS G2 RSA CA OCSP 16, O=Microsoft Corporation, C=US|CN=*.azurewebsites.net, O=Microsoft Corporation, L=Redmond, S=WA, C=US X-Forwarded-TlsVersion: 1.3 X-Forwarded-For: 20.226.8.66:14906 X-Original-URL: /Communication/SendEmailGrid X-WAWS-Unencoded-URL: /Communication/SendEmailGrid X-Client-IP: 20.226.8.66 X-Client-Port: 14906

System.Exception: System.Exception: Erro ao abrir conexão com banco de dados.
 ---> System.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: 40 - Could not open a connection to SQL Server)
   at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken)
   at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
   at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
   at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
   at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
   at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
   at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at System.Data.SqlClient.SqlConnection.Open()
   at Inpart.Communication.Data.ContextSql.Connection(String nomeInstancia) in /src/Inpart.Communication/Data/ContextSql.cs:line 30
ClientConnectionId:00000000-0000-0000-0000-000000000000
   --- End of inner exception stack trace ---
   at Inpart.Communication.Data.ContextSql.Connection(String nomeInstancia) in /src/Inpart.Communication/Data/ContextSql.cs:line 36
   at Inpart.Communication.Domain.Email.InsertQueueEmail(DtoCommunication msg) in /src/Inpart.Communication/Domain/Email.cs:line 20
   at Inpart.Communication.Domain.Communication.SendEmaiGridl(DtoCommunication msg) in /src/Inpart.Communication/Domain/Communication.cs:line 56
   at Inpart.Communication.Controllers.CommunicationController.CommunicationEmailGrid(DtoCommunication communication) in /src/Inpart.Communication/Controllers/CommunicationController.cs:line 28
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Logged|12_1(ControllerActionInvoker invoker)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
   at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)

HEADERS
=======
Accept: application/json, text/json, text/x-json, text/javascript, application/xml, text/xml
Host: inpart-hml-communication.azurewebsites.net
User-Agent: RestSharp/110.2.0.0
Accept-Encoding: gzip, deflate, br
Content-Type: application/json; charset=utf-8
Max-Forwards: 10
Request-Id: |658c691fedb7445d2417ca71b11574a2.7324191bf570d325.
traceparent: 00-658c691fedb7445d2417ca71b11574a2-7324191bf570d325-00
Content-Length: 185
Request-Context: appId=cid-v1:3e31c0f8-033c-49bf-be39-6048aae6e1a8
X-ARR-LOG-ID: ac0d2eac-a572-49f3-9634-58b3e6db43e8
CLIENT-IP: 20.226.8.66:14906
DISGUISED-HOST: inpart-hml-communication.azurewebsites.net
X-SITE-DEPLOYMENT-ID: inpart-hml-communication
WAS-DEFAULT-HOSTNAME: inpart-hml-communication.azurewebsites.net
X-Forwarded-Proto: https
X-AppService-Proto: https
X-ARR-SSL: 2048|256|CN=Microsoft TLS G2 RSA CA OCSP 16, O=Microsoft Corporation, C=US|CN=*.azurewebsites.net, O=Microsoft Corporation, L=Redmond, S=WA, C=US
X-Forwarded-TlsVersion: 1.3
X-Forwarded-For: 20.226.8.66:14906
X-Original-URL: /Communication/SendEmailGrid
X-WAWS-Unencoded-URL: /Communication/SendEmailGrid
X-Client-IP: 20.226.8.66
X-Client-Port: 14906

   at Inpart.Integracao.GerenciadorJobs.Helper.RequestHttp.Notification(DtoCommunication notification) in /src/Inpart.Integracao.GerenciadorJobs/Helper/RequestHttp.cs:line 27
   at Inpart.Integracao.GerenciadorJobs.Services.JobVerificaIPExternoExterno.Execute() in /src/Inpart.Integracao.GerenciadorJobs/Services/JobVerificaIPExternoExterno.cs:line 25
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+163ms Processing

Server:
bfc9f5e3f4dd.staging:1
Worker:
11647f7c

+44ms Enqueued

Triggered by recurring job scheduler

06/13/2026 05:00:05 Created