Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The request was aborted: Could not create SSL/TLS secure channel on production not localhost #1223

Open
cblaze22 opened this issue Dec 9, 2024 · 0 comments

Comments

@cblaze22
Copy link

cblaze22 commented Dec 9, 2024

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}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant