أماني مفيد

أماني مفيد

  • 1.9k
  • 107
  • 3.9k

The request was aborted: API

Feb 15 2021 10:29 AM
Hi
 
i have  Api .Net 4.7.2 
 
and i have this erroe :
WebException: The request was aborted: Could not create SSL/TLS secure channel.
when i re- debug it's work fine but the first time i vall it i have the erroe 
 
 
at this line (
return response.Result;
)
i add this but still same  
 
ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072;
 

Answers (2)