OpenAI.Net icon indicating copy to clipboard operation
OpenAI.Net copied to clipboard

eror

Open mamasexeno opened this issue 3 years ago • 2 comments

WebException: The request was aborted: Could not create SSL/TLS secure channel.

mamasexeno avatar Jan 20 '23 04:01 mamasexeno

Hi

I have the same issue (in a VSTO addon - I haven't this issue in WinForm apps)

effi10 avatar Jan 31 '23 15:01 effi10

I found a solution : add this line before httpclient call.

ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls;

effi10 avatar Jan 31 '23 16:01 effi10