Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---> (Inner Exception #0) System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
- --- End of inner exception stack trace ---
- at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error)
- at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.GetResult(Int16 token)
- at System.Net.FixedSizeReader.ReadPacketAsync(Stream transport, AsyncProtocolRequest request)
- at System.Net.Security.SslState.ThrowIfExceptional()
- at System.Net.Security.SslState.InternalEndProcessAuthentication(LazyAsyncResult lazyResult)
- at System.Net.Security.SslState.EndProcessAuthentication(IAsyncResult result)
- at System.Net.Security.SslStream.EndAuthenticateAsClient(IAsyncResult asyncResult)
- at System.Net.Security.SslStream.<>c.<AuthenticateAsClientAsync>b__47_1(IAsyncResult iar)
- at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
- --- End of stack trace from previous location where exception was thrown ---
- at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken)
- --- End of inner exception stack trace ---
- at Emporos.Enterprise.Infrastructure.Extensions.BearerTokenRepository.GetAuthenticationTokenAsync() in C:\agent\VSTS-Builds\9\s\src\Emporos.Enterprise\04-Infrastructure\Infrastructure\Extensions\BearerTokenRepository.cs:line 61
- at Emporos.Enterprise.Infrastructure.Extensions.HttpClientExtension.GetTokenAsync() in C:\agent\VSTS-Builds\9\s\src\Emporos.Enterprise\04-Infrastructure\Infrastructure\Extensions\HttpClientExtension.cs:line 308
- at Emporos.Enterprise.Infrastructure.Extensions.HttpClientExtension.InitializeAsync(String baseUrl) in C:\agent\VSTS-Builds\9\s\src\Emporos.Enterprise\04-Infrastructure\Infrastructure\Extensions\HttpClientExtension.cs:line 223
- at Emporos.Enterprise.Infrastructure.Extensions.HttpClientExtension.GetAsync[T](String requestUri) in C:\agent\VSTS-Builds\9\s\src\Emporos.Enterprise\04-Infrastructure\Infrastructure\Extensions\HttpClientExtension.cs:line 6
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement