I'm very rarely getting this error, An SSL error has occurred and a secure connection to the server cannot be made.
**Device: iPhone7
OS: 11.0.1
Language: Objective C and Swift**.
Раньше я использовал NSURLConnection, теперь я изменился на NSURLSession
ATS configuration: This is the modified configuration as per the accepted answer for the similar question. But still am getting this SSL error rarely.
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
Server TLS version 1.2
The question is, this error is not so common, but occurs atleast once in 100 http requests.
I have seen a lots of answers which tells about the ATS configuration. tried almost everything but of no use.
Anyone got into this situation and found a workaround.