-
Notifications
You must be signed in to change notification settings - Fork 215
Description
Nothing has changed on our end but we all of sudden are starting to get errors below for this line. We event added ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
above it and above TwitterClient and still same issue. The funny thing is this works on my local computer just fine, just not on Windows R2 which it has done for years on multiple servers.
var authenticationRequestToken = await twitterClient.Auth.RequestAuthenticationUrlAsync(redirectURL);
Error
{"ClassName":"System.Net.WebException","Message":"The request was aborted: Could not create SSL/TLS secure channel.","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":" at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)\r\n at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nEndGetResponse\nSystem, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Net.HttpWebRequest\nSystem.Net.WebResponse EndGetResponse(System.IAsyncResult)","HResult":-2146233079,"Source":"System","WatsonBuckets":null}