Hello,
Installed iOS 15.4 beta on my test device, made a build launched the app, and when i try to log in i'm getting
Task <D85AA032-FE4E-4CA3-86A2-FF2DB4D57DA3>.<1> finished with error [-1200] Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made." UserInfo={NSErrorFailingURLStringKey=https://url.here, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <D85AA032-FE4E-4CA3-86A2-FF2DB4D57DA3>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalDataTask <D85AA032-FE4E-4CA3-86A2-FF2DB4D57DA3>.<1>"
), NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made., NSErrorFailingURLKey=https://url.here, NSUnderlyingError=0x283c27360 {Error Domain=kCFErrorDomainCFNetwork Code=-1200 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, _kCFNetworkCFStreamSSLErrorOriginalValue=-9816, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9816, _NSURLErrorNWPathKey=satisfied (Path is satisfied), viable, interface: en0, ipv4, dns}}, _kCFStreamErrorCodeKey=-9816}
I did find that adding following code into info.plist fixes it.
<key>NSExceptionDomains</key>
<dict>
<key>domain</key>
<dict>
<!-- Allow subdomains -->
<key>NSIncludesSubdomains</key>
<true/>
<!-- Disable some extra cypher suites -->
<key>NSExceptionRequiresForwardSecrecy</key>
<false/>
</dict>
</dict>
Did try also setting minimum TLS version to 1.2, which server is using, but it didn't help.
Does anyone know what might be the issue? Note that there is no such issue on all other ios versions. Is it a beta defect or something? or is apple introducing some big changes in iOS 15.4?
Regards, Kris