Загрузка данных
administrator@astra-77777:~$ sudo docker ps --format 'table {{.Names}}\t{{.Status}}\t{{.Ports}}' | grep -E 'smp-gateway|license|smp-service'
sudo docker logs --since 30m nsms-smp-gateway-service-1 2>&1 | grep -Ei 'error|exception|fatal|fail|license|503|500|401|403|timeout|unavailable' | tail -300
sudo docker exec nsms-ncc-service-1 sh -c '
echo "=== SMP GATEWAY ==="
getent hosts smp-gateway-service
echo "=== HTTP /api/license ==="
curl -sS -i --max-time 10 http://smp-gateway-service:26012/api/license
'
nsms-smp-gateway-service-1 Up 30 hours (healthy) 26012/tcp
smp-smp-service-1 Up 6 hours (healthy) 5020/tcp
smp-smp-license-1 Up 6 hours (healthy) 5022/tcp
[ERR] HTTP "GET" "/api/license" responded 503 in 0.0135 ms {"SourceContext": "Serilog.AspNetCore.RequestLoggingMiddleware", "RequestId": "d8612126-285c-4685-bb2e-0ec969acf57f"}
[ERR] HTTP "GET" "/api/license" responded 503 in 0.0135 ms {"SourceContext": "Serilog.AspNetCore.RequestLoggingMiddleware", "RequestId": "d8612126-285c-4685-bb2e-0ec969acf57f"}
[ERR] HTTP "GET" "/api/license" responded 503 in 0.0133 ms {"SourceContext": "Serilog.AspNetCore.RequestLoggingMiddleware", "RequestId": "d8612126-285c-4685-bb2e-0ec969acf57f"}
[ERR] "Error.Default.ServiceUnavailable" {"SourceContext": "Infotecs.RestClient.Policies.PolicyFactory", "RequestId": "0e0a0379-d8f9-4ce0-97a8-71eeda9a335a"}
System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch
--- End of inner exception stack trace ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, CancellationToken cancellationToken, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
at Polly.Fallback.AsyncFallbackEngine.ImplementationAsync[TResult](Func`3 action, Context context, ExceptionPredicates shouldHandleExceptionPredicates, ResultPredicates`1 shouldHandleResultPredicates, Func`3 onFallbackAsync, Func`4 fallbackAction, Boolean continueOnCapturedContext, CancellationToken cancellationToken)
[ERR] Error while register to SMP. {"SourceContext": "Infotecs.Nsms.SmpGatewayService.Application.Processors.RegistrationProcessor", "RequestId": "41769c0f-fd6c-4a64-87e1-566c875fc0fb"}
Infotecs.Nsms.Core.Exceptions.NsmsException: Error.Default.ServiceUnavailable
at Infotecs.Nsms.Web.Core.Extensions.HttpClientBuilderExtensions.<>c.<HandleServiceUnavailableException>b__2_0(DelegateResult`1 result, Context _, CancellationToken _)
at Polly.Fallback.AsyncFallbackEngine.ImplementationAsync[TResult](Func`3 action, Context context, ExceptionPredicates shouldHandleExceptionPredicates, ResultPredicates`1 shouldHandleResultPredicates, Func`3 onFallbackAsync, Func`4 fallbackAction, Boolean continueOnCapturedContext, CancellationToken cancellationToken)
at Polly.Fallback.AsyncFallbackEngine.ImplementationAsync[TResult](Func`3 action, Context context, ExceptionPredicates shouldHandleExceptionPredicates, ResultPredicates`1 shouldHandleResultPredicates, Func`3 onFallbackAsync, Func`4 fallbackAction, Boolean continueOnCapturedContext, CancellationToken cancellationToken)
at Polly.Timeout.AsyncTimeoutEngine.ImplementationAsync[TResult](Func`3 action, Context context, Func`2 timeoutProvider, TimeoutStrategy timeoutStrategy, Func`5 onTimeoutAsync, Boolean continueOnCapturedContext, CancellationToken cancellationToken)
at Polly.Timeout.AsyncTimeoutEngine.ImplementationAsync[TResult](Func`3 action, Context context, Func`2 timeoutProvider, TimeoutStrategy timeoutStrategy, Func`5 onTimeoutAsync, Boolean continueOnCapturedContext, CancellationToken cancellationToken)
at Infotecs.RestClient.Policies.TimeoutExceptionConvertDelegatingHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, CancellationToken cancellationToken, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
[ERR] HTTP "GET" "/api/license" responded 503 in 0.0132 ms {"SourceContext": "Serilog.AspNetCore.RequestLoggingMiddleware", "RequestId": "d8612126-285c-4685-bb2e-0ec969acf57f"}
[ERR] HTTP "GET" "/api/license" responded 503 in 0.0118 ms {"SourceContext": "Serilog.AspNetCore.RequestLoggingMiddleware", "RequestId": "d8612126-285c-4685-bb2e-0ec969acf57f"}
[ERR] HTTP "GET" "/api/license" responded 503 in 0.0132 ms {"SourceContext": "Serilog.AspNetCore.RequestLoggingMiddleware", "RequestId": "d8612126-285c-4685-bb2e-0ec969acf57f"}
[ERR] HTTP "GET" "/api/license" responded 503 in 0.0132 ms {"SourceContext": "Serilog.AspNetCore.RequestLoggingMiddleware", "RequestId": "d8612126-285c-4685-bb2e-0ec969acf57f"}
[ERR] HTTP "GET" "/api/license" responded 503 in 0.0121 ms {"SourceContext": "Serilog.AspNetCore.RequestLoggingMiddleware", "RequestId": "d8612126-285c-4685-bb2e-0ec969acf57f"}
[WRN] Unable make http call to "IKcWebApiServiceClient" by uri https://vpn.it.enigma-ufa.local:444/api/kc/version. Retry 1 due to exception. {"SourceContext": "Infotecs.RestClient.Policies.PolicyFactory", "RequestId": "2415598d-95ce-4f01-a4fd-6d3b96e85c4b"}
System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch
--- End of inner exception stack trace ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, CancellationToken cancellationToken, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
[WRN] Unable make http call to "IKcWebApiServiceClient" by uri https://vpn.it.enigma-ufa.local:444/api/kc/version. Retry 2 due to exception. {"SourceContext": "Infotecs.RestClient.Policies.PolicyFactory", "RequestId": "2415598d-95ce-4f01-a4fd-6d3b96e85c4b"}
System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch
--- End of inner exception stack trace ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, CancellationToken cancellationToken, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
[WRN] Unable make http call to "IKcWebApiServiceClient" by uri https://vpn.it.enigma-ufa.local:444/api/kc/version. Retry 3 due to exception. {"SourceContext": "Infotecs.RestClient.Policies.PolicyFactory", "RequestId": "2415598d-95ce-4f01-a4fd-6d3b96e85c4b"}
System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch
--- End of inner exception stack trace ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, CancellationToken cancellationToken, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
[WRN] Unable make http call to "IKcWebApiServiceClient" by uri https://vpn.it.enigma-ufa.local:444/api/kc/version. Retry 4 due to exception. {"SourceContext": "Infotecs.RestClient.Policies.PolicyFactory", "RequestId": "2415598d-95ce-4f01-a4fd-6d3b96e85c4b"}
System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch
--- End of inner exception stack trace ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, CancellationToken cancellationToken, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
[ERR] HTTP "GET" "/api/license" responded 503 in 0.0123 ms {"SourceContext": "Serilog.AspNetCore.RequestLoggingMiddleware", "RequestId": "63e32047-ba7d-41a6-812c-a64bf2df5d6b"}
[ERR] HTTP "GET" "/api/license" responded 503 in 0.0131 ms {"SourceContext": "Serilog.AspNetCore.RequestLoggingMiddleware", "RequestId": "63e32047-ba7d-41a6-812c-a64bf2df5d6b"}
[ERR] HTTP "GET" "/api/license" responded 503 in 0.0126 ms {"SourceContext": "Serilog.AspNetCore.RequestLoggingMiddleware", "RequestId": "63e32047-ba7d-41a6-812c-a64bf2df5d6b"}
[WRN] Unable make http call to "IKcWebApiServiceClient" by uri https://vpn.it.enigma-ufa.local:444/api/kc/version. Retry 5 due to exception. {"SourceContext": "Infotecs.RestClient.Policies.PolicyFactory", "RequestId": "2415598d-95ce-4f01-a4fd-6d3b96e85c4b"}
System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch
--- End of inner exception stack trace ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, CancellationToken cancellationToken, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
[ERR] HTTP "GET" "/api/license" responded 503 in 0.0131 ms {"SourceContext": "Serilog.AspNetCore.RequestLoggingMiddleware", "RequestId": "63e32047-ba7d-41a6-812c-a64bf2df5d6b"}
[ERR] HTTP "GET" "/api/license" responded 503 in 0.0073 ms {"SourceContext": "Serilog.AspNetCore.RequestLoggingMiddleware", "RequestId": "63e32047-ba7d-41a6-812c-a64bf2df5d6b"}
[ERR] HTTP "GET" "/api/license" responded 503 in 0.0122 ms {"SourceContext": "Serilog.AspNetCore.RequestLoggingMiddleware", "RequestId": "63e32047-ba7d-41a6-812c-a64bf2df5d6b"}
[ERR] HTTP "GET" "/api/license" responded 503 in 0.0146 ms {"SourceContext": "Serilog.AspNetCore.RequestLoggingMiddleware", "RequestId": "63e32047-ba7d-41a6-812c-a64bf2df5d6b"}
[ERR] HTTP "GET" "/api/license" responded 503 in 0.0132 ms {"SourceContext": "Serilog.AspNetCore.RequestLoggingMiddleware", "RequestId": "63e32047-ba7d-41a6-812c-a64bf2df5d6b"}
[WRN] Unable make http call to "IKcWebApiServiceClient" by uri https://vpn.it.enigma-ufa.local:444/api/kc/version. Retry 6 due to exception. {"SourceContext": "Infotecs.RestClient.Policies.PolicyFactory", "RequestId": "2415598d-95ce-4f01-a4fd-6d3b96e85c4b"}
System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch
--- End of inner exception stack trace ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, CancellationToken cancellationToken, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
[ERR] HTTP "GET" "/api/license" responded 503 in 0.0279 ms {"SourceContext": "Serilog.AspNetCore.RequestLoggingMiddleware", "RequestId": "c5710ac5-2b89-4e34-aab8-71e207d7ae60"}
[ERR] HTTP "GET" "/api/license" responded 503 in 0.0137 ms {"SourceContext": "Serilog.AspNetCore.RequestLoggingMiddleware", "RequestId": "c5710ac5-2b89-4e34-aab8-71e207d7ae60"}
[ERR] "Error.Default.ServiceUnavailable" {"SourceContext": "Infotecs.RestClient.Policies.PolicyFactory", "RequestId": "2415598d-95ce-4f01-a4fd-6d3b96e85c4b"}
System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch
--- End of inner exception stack trace ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, CancellationToken cancellationToken, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
at Polly.Fallback.AsyncFallbackEngine.ImplementationAsync[TResult](Func`3 action, Context context, ExceptionPredicates shouldHandleExceptionPredicates, ResultPredicates`1 shouldHandleResultPredicates, Func`3 onFallbackAsync, Func`4 fallbackAction, Boolean continueOnCapturedContext, CancellationToken cancellationToken)
[ERR] Error while register to SMP. {"SourceContext": "Infotecs.Nsms.SmpGatewayService.Application.Processors.RegistrationProcessor", "RequestId": "41769c0f-fd6c-4a64-87e1-566c875fc0fb"}
Infotecs.Nsms.Core.Exceptions.NsmsException: Error.Default.ServiceUnavailable
at Infotecs.Nsms.Web.Core.Extensions.HttpClientBuilderExtensions.<>c.<HandleServiceUnavailableException>b__2_0(DelegateResult`1 result, Context _, CancellationToken _)
at Polly.Fallback.AsyncFallbackEngine.ImplementationAsync[TResult](Func`3 action, Context context, ExceptionPredicates shouldHandleExceptionPredicates, ResultPredicates`1 shouldHandleResultPredicates, Func`3 onFallbackAsync, Func`4 fallbackAction, Boolean continueOnCapturedContext, CancellationToken cancellationToken)
at Polly.Fallback.AsyncFallbackEngine.ImplementationAsync[TResult](Func`3 action, Context context, ExceptionPredicates shouldHandleExceptionPredicates, ResultPredicates`1 shouldHandleResultPredicates, Func`3 onFallbackAsync, Func`4 fallbackAction, Boolean continueOnCapturedContext, CancellationToken cancellationToken)
at Polly.Timeout.AsyncTimeoutEngine.ImplementationAsync[TResult](Func`3 action, Context context, Func`2 timeoutProvider, TimeoutStrategy timeoutStrategy, Func`5 onTimeoutAsync, Boolean continueOnCapturedContext, CancellationToken cancellationToken)
at Polly.Timeout.AsyncTimeoutEngine.ImplementationAsync[TResult](Func`3 action, Context context, Func`2 timeoutProvider, TimeoutStrategy timeoutStrategy, Func`5 onTimeoutAsync, Boolean continueOnCapturedContext, CancellationToken cancellationToken)
at Infotecs.RestClient.Policies.TimeoutExceptionConvertDelegatingHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, CancellationToken cancellationToken, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
[ERR] HTTP "GET" "/api/license" responded 503 in 0.0183 ms {"SourceContext": "Serilog.AspNetCore.RequestLoggingMiddleware", "RequestId": "c5710ac5-2b89-4e34-aab8-71e207d7ae60"}
[ERR] HTTP "GET" "/api/license" responded 503 in 0.0423 ms {"SourceContext": "Serilog.AspNetCore.RequestLoggingMiddleware", "RequestId": "c5710ac5-2b89-4e34-aab8-71e207d7ae60"}
[ERR] HTTP "GET" "/api/license" responded 503 in 0.0271 ms {"SourceContext": "Serilog.AspNetCore.RequestLoggingMiddleware", "RequestId": "c5710ac5-2b89-4e34-aab8-71e207d7ae60"}
[ERR] HTTP "GET" "/api/license" responded 503 in 0.0125 ms {"SourceContext": "Serilog.AspNetCore.RequestLoggingMiddleware", "RequestId": "c5710ac5-2b89-4e34-aab8-71e207d7ae60"}
[ERR] HTTP "GET" "/api/license" responded 503 in 0.0203 ms {"SourceContext": "Serilog.AspNetCore.RequestLoggingMiddleware", "RequestId": "c5710ac5-2b89-4e34-aab8-71e207d7ae60"}
[ERR] HTTP "GET" "/api/license" responded 503 in 0.0129 ms {"SourceContext": "Serilog.AspNetCore.RequestLoggingMiddleware", "RequestId": "c5710ac5-2b89-4e34-aab8-71e207d7ae60"}
[WRN] Unable make http call to "IKcWebApiServiceClient" by uri https://vpn.it.enigma-ufa.local:444/api/kc/version. Retry 1 due to exception. {"SourceContext": "Infotecs.RestClient.Policies.PolicyFactory", "RequestId": "c37d4379-b3e1-4366-8686-fbfed6ba6ddc"}
System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch
--- End of inner exception stack trace ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, CancellationToken cancellationToken, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
[WRN] Unable make http call to "IKcWebApiServiceClient" by uri https://vpn.it.enigma-ufa.local:444/api/kc/version. Retry 2 due to exception. {"SourceContext": "Infotecs.RestClient.Policies.PolicyFactory", "RequestId": "c37d4379-b3e1-4366-8686-fbfed6ba6ddc"}
System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch
--- End of inner exception stack trace ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, CancellationToken cancellationToken, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
[ERR] HTTP "GET" "/api/license" responded 503 in 0.0379 ms {"SourceContext": "Serilog.AspNetCore.RequestLoggingMiddleware", "RequestId": "ac06044a-7b0f-456a-8de1-b539caf17ffd"}
[WRN] Unable make http call to "IKcWebApiServiceClient" by uri https://vpn.it.enigma-ufa.local:444/api/kc/version. Retry 3 due to exception. {"SourceContext": "Infotecs.RestClient.Policies.PolicyFactory", "RequestId": "c37d4379-b3e1-4366-8686-fbfed6ba6ddc"}
System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch
--- End of inner exception stack trace ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, CancellationToken cancellationToken, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
[ERR] HTTP "GET" "/api/license" responded 503 in 0.0193 ms {"SourceContext": "Serilog.AspNetCore.RequestLoggingMiddleware", "RequestId": "ac06044a-7b0f-456a-8de1-b539caf17ffd"}
[ERR] HTTP "GET" "/api/license" responded 503 in 0.0199 ms {"SourceContext": "Serilog.AspNetCore.RequestLoggingMiddleware", "RequestId": "ac06044a-7b0f-456a-8de1-b539caf17ffd"}
[WRN] Unable make http call to "IKcWebApiServiceClient" by uri https://vpn.it.enigma-ufa.local:444/api/kc/version. Retry 4 due to exception. {"SourceContext": "Infotecs.RestClient.Policies.PolicyFactory", "RequestId": "c37d4379-b3e1-4366-8686-fbfed6ba6ddc"}
System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch
--- End of inner exception stack trace ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, CancellationToken cancellationToken, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
[ERR] HTTP "GET" "/api/license" responded 503 in 0.0200 ms {"SourceContext": "Serilog.AspNetCore.RequestLoggingMiddleware", "RequestId": "ac06044a-7b0f-456a-8de1-b539caf17ffd"}
[ERR] HTTP "GET" "/api/license" responded 503 in 0.0170 ms {"SourceContext": "Serilog.AspNetCore.RequestLoggingMiddleware", "RequestId": "ac06044a-7b0f-456a-8de1-b539caf17ffd"}
[ERR] HTTP "GET" "/api/license" responded 503 in 0.0269 ms {"SourceContext": "Serilog.AspNetCore.RequestLoggingMiddleware", "RequestId": "ac06044a-7b0f-456a-8de1-b539caf17ffd"}
[ERR] HTTP "GET" "/api/license" responded 503 in 0.0248 ms {"SourceContext": "Serilog.AspNetCore.RequestLoggingMiddleware", "RequestId": "ac06044a-7b0f-456a-8de1-b539caf17ffd"}
[WRN] Unable make http call to "IKcWebApiServiceClient" by uri https://vpn.it.enigma-ufa.local:444/api/kc/version. Retry 5 due to exception. {"SourceContext": "Infotecs.RestClient.Policies.PolicyFactory", "RequestId": "c37d4379-b3e1-4366-8686-fbfed6ba6ddc"}
System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch
--- End of inner exception stack trace ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, CancellationToken cancellationToken, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
[ERR] HTTP "GET" "/api/license" responded 503 in 0.0201 ms {"SourceContext": "Serilog.AspNetCore.RequestLoggingMiddleware", "RequestId": "ac06044a-7b0f-456a-8de1-b539caf17ffd"}
[WRN] Unable make http call to "IKcWebApiServiceClient" by uri https://vpn.it.enigma-ufa.local:444/api/kc/version. Retry 6 due to exception. {"SourceContext": "Infotecs.RestClient.Policies.PolicyFactory", "RequestId": "c37d4379-b3e1-4366-8686-fbfed6ba6ddc"}
System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch
--- End of inner exception stack trace ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, CancellationToken cancellationToken, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
[ERR] "Error.Default.ServiceUnavailable" {"SourceContext": "Infotecs.RestClient.Policies.PolicyFactory", "RequestId": "c37d4379-b3e1-4366-8686-fbfed6ba6ddc"}
System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch
--- End of inner exception stack trace ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, CancellationToken cancellationToken, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
at Polly.Fallback.AsyncFallbackEngine.ImplementationAsync[TResult](Func`3 action, Context context, ExceptionPredicates shouldHandleExceptionPredicates, ResultPredicates`1 shouldHandleResultPredicates, Func`3 onFallbackAsync, Func`4 fallbackAction, Boolean continueOnCapturedContext, CancellationToken cancellationToken)
[ERR] Error while register to SMP. {"SourceContext": "Infotecs.Nsms.SmpGatewayService.Application.Processors.RegistrationProcessor", "RequestId": "41769c0f-fd6c-4a64-87e1-566c875fc0fb"}
Infotecs.Nsms.Core.Exceptions.NsmsException: Error.Default.ServiceUnavailable
at Infotecs.Nsms.Web.Core.Extensions.HttpClientBuilderExtensions.<>c.<HandleServiceUnavailableException>b__2_0(DelegateResult`1 result, Context _, CancellationToken _)
at Polly.Fallback.AsyncFallbackEngine.ImplementationAsync[TResult](Func`3 action, Context context, ExceptionPredicates shouldHandleExceptionPredicates, ResultPredicates`1 shouldHandleResultPredicates, Func`3 onFallbackAsync, Func`4 fallbackAction, Boolean continueOnCapturedContext, CancellationToken cancellationToken)
at Polly.Fallback.AsyncFallbackEngine.ImplementationAsync[TResult](Func`3 action, Context context, ExceptionPredicates shouldHandleExceptionPredicates, ResultPredicates`1 shouldHandleResultPredicates, Func`3 onFallbackAsync, Func`4 fallbackAction, Boolean continueOnCapturedContext, CancellationToken cancellationToken)
at Polly.Timeout.AsyncTimeoutEngine.ImplementationAsync[TResult](Func`3 action, Context context, Func`2 timeoutProvider, TimeoutStrategy timeoutStrategy, Func`5 onTimeoutAsync, Boolean continueOnCapturedContext, CancellationToken cancellationToken)
at Polly.Timeout.AsyncTimeoutEngine.ImplementationAsync[TResult](Func`3 action, Context context, Func`2 timeoutProvider, TimeoutStrategy timeoutStrategy, Func`5 onTimeoutAsync, Boolean continueOnCapturedContext, CancellationToken cancellationToken)
at Infotecs.RestClient.Policies.TimeoutExceptionConvertDelegatingHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, CancellationToken cancellationToken, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
=== SMP GATEWAY ===
172.17.4.9 smp-gateway-service
=== HTTP /api/license ===
HTTP/1.1 503 Service Unavailable
Content-Length: 0
Date: Wed, 23 Sep 2026 12:11:56 GMT
Server: Kestrel
administrator@astra-77777:~$