NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9813) error
<p>I am facing the error while making HTTPS request :- </p>

<blockquote>
  <p><strong>NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9813).</strong></p>
</blockquote>

<p>I did some google and there were some solutions mentioned to by pass the ATS (Application Transport Security) by mentioning the following key in my project info plist file. This is the issue in iOS9 and above.</p>

<blockquote>
  <p>**Keys are :- </p>
  
  <p>key :- NSAppTransportSecurity</p>
  
  <p>value : -NSAllowsArbitraryLoads : true**</p>
</blockquote>

<p>I have tried this solution. But i am still facing the same issue all the time. I am stuck in this. Can anyone please help me ?  </p>