JobVerificaIPExternoExterno.Execute

The job is finished. It will be removed automatically 10/08/2026 08:01:14.
// Id: #10094385
using Inpart.Integracao.GerenciadorJobs.Services;

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

Parameters

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

State

10/07/2026 08:01:14 (+ <1ms) 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: |36cf5ec994426882403656a35e32ef31.2c6f466d4f29b882. traceparent: 00-36cf5ec994426882403656a35e32ef31-2c6f466d4f29b882-00 Content-Length: 188 X-ARR-LOG-ID: 7f5c2408-c87d-472f-be7b-fc748bbc7d9a CLIENT-IP: 191.234.200.89:17029 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: 191.234.200.89:17029 X-Original-URL: /Communication/SendEmailGrid X-WAWS-Unencoded-URL: /Communication/SendEmailGrid X-Client-IP: 191.234.200.89 X-Client-Port: 17029

+15.766s Failed

An exception occurred during performance of the job.

System.Exception (150a3693c5ec.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: |36cf5ec994426882403656a35e32ef31.2c6f466d4f29b882. traceparent: 00-36cf5ec994426882403656a35e32ef31-2c6f466d4f29b882-00 Content-Length: 188 X-ARR-LOG-ID: 7f5c2408-c87d-472f-be7b-fc748bbc7d9a CLIENT-IP: 191.234.200.89:17029 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: 191.234.200.89:17029 X-Original-URL: /Communication/SendEmailGrid X-WAWS-Unencoded-URL: /Communication/SendEmailGrid X-Client-IP: 191.234.200.89 X-Client-Port: 17029

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: |36cf5ec994426882403656a35e32ef31.2c6f466d4f29b882.
traceparent: 00-36cf5ec994426882403656a35e32ef31-2c6f466d4f29b882-00
Content-Length: 188
X-ARR-LOG-ID: 7f5c2408-c87d-472f-be7b-fc748bbc7d9a
CLIENT-IP: 191.234.200.89:17029
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: 191.234.200.89:17029
X-Original-URL: /Communication/SendEmailGrid
X-WAWS-Unencoded-URL: /Communication/SendEmailGrid
X-Client-IP: 191.234.200.89
X-Client-Port: 17029

   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.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

+30ms Processing

Server:
150a3693c5ec.staging:1
Worker:
48f1a223

+36.157s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

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

Enqueue at:
10/07/2026 08:00:55

+17.083s Failed

An exception occurred during performance of the job.

System.Exception (150a3693c5ec.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: |7d9587bc6d024cd959384223aa2b0784.b5fcb9ad25811a55. traceparent: 00-7d9587bc6d024cd959384223aa2b0784-b5fcb9ad25811a55-00 Content-Length: 188 X-ARR-LOG-ID: c40d1f9d-bb7f-47e6-98d1-a270e987cf76 CLIENT-IP: 191.234.200.89:17026 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: 191.234.200.89:17026 X-Original-URL: /Communication/SendEmailGrid X-WAWS-Unencoded-URL: /Communication/SendEmailGrid X-Client-IP: 191.234.200.89 X-Client-Port: 17026

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: |7d9587bc6d024cd959384223aa2b0784.b5fcb9ad25811a55.
traceparent: 00-7d9587bc6d024cd959384223aa2b0784-b5fcb9ad25811a55-00
Content-Length: 188
X-ARR-LOG-ID: c40d1f9d-bb7f-47e6-98d1-a270e987cf76
CLIENT-IP: 191.234.200.89:17026
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: 191.234.200.89:17026
X-Original-URL: /Communication/SendEmailGrid
X-WAWS-Unencoded-URL: /Communication/SendEmailGrid
X-Client-IP: 191.234.200.89
X-Client-Port: 17026

   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.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

+114ms Processing

Server:
150a3693c5ec.staging:1
Worker:
e71a565f

+26ms Enqueued

Triggered by recurring job scheduler

10/07/2026 08:00:05 Created