JobVerificaIPExternoExterno.Execute

The job is finished. It will be removed automatically 08/18/2026 05:31:01.
// Id: #9402091
using Inpart.Integracao.GerenciadorJobs.Services;

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

Parameters

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

State

08/17/2026 05:31:01 (+3ms) Deleted

Exceeded the maximum number of retry attempts.

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: |0514dce09d9c415fcc3cbb07cb8f71ae.49acdf9ebeae9cb7. traceparent: 00-0514dce09d9c415fcc3cbb07cb8f71ae-49acdf9ebeae9cb7-00 Content-Length: 188 X-ARR-LOG-ID: bf97b964-58a2-4ab7-be6e-8a56d9f1872a CLIENT-IP: 191.234.200.38:21888 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 10, 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: 191.234.200.38:21888 X-Original-URL: /Communication/SendEmailGrid X-WAWS-Unencoded-URL: /Communication/SendEmailGrid X-Client-IP: 191.234.200.38 X-Client-Port: 21888

+16.453s Failed

An exception occurred during performance of the job.

System.Exception (da61a0290d48.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: |0514dce09d9c415fcc3cbb07cb8f71ae.49acdf9ebeae9cb7. traceparent: 00-0514dce09d9c415fcc3cbb07cb8f71ae-49acdf9ebeae9cb7-00 Content-Length: 188 X-ARR-LOG-ID: bf97b964-58a2-4ab7-be6e-8a56d9f1872a CLIENT-IP: 191.234.200.38:21888 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 10, 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: 191.234.200.38:21888 X-Original-URL: /Communication/SendEmailGrid X-WAWS-Unencoded-URL: /Communication/SendEmailGrid X-Client-IP: 191.234.200.38 X-Client-Port: 21888

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: |0514dce09d9c415fcc3cbb07cb8f71ae.49acdf9ebeae9cb7.
traceparent: 00-0514dce09d9c415fcc3cbb07cb8f71ae-49acdf9ebeae9cb7-00
Content-Length: 188
X-ARR-LOG-ID: bf97b964-58a2-4ab7-be6e-8a56d9f1872a
CLIENT-IP: 191.234.200.38:21888
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 10, 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: 191.234.200.38:21888
X-Original-URL: /Communication/SendEmailGrid
X-WAWS-Unencoded-URL: /Communication/SendEmailGrid
X-Client-IP: 191.234.200.38
X-Client-Port: 21888

   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)

+44ms Processing

Server:
da61a0290d48.staging:1
Worker:
a9e6f5e8

+30m 23.933s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

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

Enqueue at:
08/17/2026 05:00:51

+17.077s Failed

An exception occurred during performance of the job.

System.Exception (ce7837afb19c.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: |80f8bdf740cdccda72ab0b0ed006dd72.c22f64becda91bb9. traceparent: 00-80f8bdf740cdccda72ab0b0ed006dd72-c22f64becda91bb9-00 Content-Length: 188 X-ARR-LOG-ID: b56c5e14-a742-4fe7-9bd2-29513f461d10 CLIENT-IP: 191.234.200.16:53165 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 10, 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: 191.234.200.16:53165 X-Original-URL: /Communication/SendEmailGrid X-WAWS-Unencoded-URL: /Communication/SendEmailGrid X-Client-IP: 191.234.200.16 X-Client-Port: 53165

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: |80f8bdf740cdccda72ab0b0ed006dd72.c22f64becda91bb9.
traceparent: 00-80f8bdf740cdccda72ab0b0ed006dd72-c22f64becda91bb9-00
Content-Length: 188
X-ARR-LOG-ID: b56c5e14-a742-4fe7-9bd2-29513f461d10
CLIENT-IP: 191.234.200.16:53165
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 10, 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: 191.234.200.16:53165
X-Original-URL: /Communication/SendEmailGrid
X-WAWS-Unencoded-URL: /Communication/SendEmailGrid
X-Client-IP: 191.234.200.16
X-Client-Port: 53165

   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)

+83ms Processing

Server:
ce7837afb19c.staging:1
Worker:
d7829495

+13ms Enqueued

Triggered by recurring job scheduler

08/17/2026 05:00:04 Created