Closed kbscrapper closed 7 months ago
System.AggregateException: Loading of API endpoints failed. ---> System.AggregateException: Downloading from web failed. Please check your internet connection. ---> System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.ConnectStream.WriteHeaders(Boolean async)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetResponse()
at eduVPN.Xml.Response.Get(ResourceRef res, NameValueCollection param, AccessToken token, String responseType, Response previous, CancellationToken ct)
--- End of inner exception stack trace ---
at eduVPN.Xml.Response.Get(ResourceRef res, NameValueCollection param, AccessToken token, String responseType, Response previous, CancellationToken ct)
at eduVPN.Models.Server.GetEndpoints(CancellationToken ct)
--- End of inner exception stack trace ---
at eduVPN.Models.Server.GetEndpoints(CancellationToken ct)
at eduVPN.ViewModels.Pages.AuthorizationPage.OnRequestAuthorization(Object sender, RequestAuthorizationEventArgs e)
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at eduVPN.ViewModels.Pages.AuthorizationPage.
and now I have another issue
System.Exception: Server: 'https://ims.ou.ac.lk/idp/shibboleth' could not be connected to with cause: No connection could be made because the target machine actively refused it.
at eduVPN.Engine.GetConfig(Cookie cookie, ServerType type, String id, Boolean tcp, Boolean startup)
at eduVPN.ViewModels.Windows.ConnectWizard.<>c__DisplayClass68_0.
System.AggregateException: Loading of API endpoints failed. ---> System.AggregateException: Downloading from web failed. Please check your internet connection. ---> System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure. at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception) at ...
This means that TLS (encryption) between eduVPN client and eduVPN server cannot be established. In other words, eduVPN client doesn't trust certificate eduVPN server is using for HTTPS.
You have to ask your admin who set up eduVPN server to fix it.
System.Exception: Server: 'https://ims.ou.ac.lk/idp/shibboleth' could not be connected to with cause: No connection could be made because the target machine actively refused it. at eduVPN.Engine.GetConfig(Cookie cookie, ServerType type, String id, Boolean tcp, Boolean startup) at ...
Thank you for reporting this. I have tested and I can confirm Sri Lanka eduVPN/Secure Internet server is indeed down. Will report it.
This is not an eduVPN client problem, so I am closing this issue now.
Thank you for your help. Please report this immediately. This app is very useful to us.