We have been facing this issue for iOS 9.0.2. please check stacktrace at botttom.
I tried adding in plist but still same issue.
<key>urbanairship.com</key>
<dict>
<key>NSIncludesSubdomains</key>
<true/>
<key>NSThirdPartyExceptionRequiresForwardSecrecy</key>
<true/>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
<true/>
</dict>
Stacktrace:
CFNetwork SSLHandshake failed (-9824)
CFNetwork SSLHandshake failed (-9824)
NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9824)
[UAHTTPConnection connection:didFailWithError:] [Line 194] ERROR: connection <UAHTTPConnection: 0x12e218a90> didFailWithError: Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made." UserInfo={_kCFStreamErrorCodeKey=-9824, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, NSUnderlyingError=0x12dcc75d0 {Error Domain=kCFErrorDomainCFNetwork Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made." UserInfo={NSErrorFailingURLStringKey=https://device-api.urbanairship.com/api/user/hHZ7gZvyQ4aEuDxjpK_CPg/messages/, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFNetworkCFStreamSSLErrorOriginalValue=-9824, _kCFStreamPropertySSLClientCertificateState=0, NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made., _kCFStreamErrorDomainKey=3, NSErrorFailingURLKey=https://device-api.urbanairship.com/api/user/hHZ7gZvyQ4aEuDxjpK_CPg/messages/, _kCFStreamErrorCodeKey=-9824}}, NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made., NSErrorFailingURLKey=https://device-api.urbanairship.com/api/user/hHZ7gZvyQ4aEuDxjpK_CPg/messages/, NSErrorFailingURLStringKey=https://device-api.urbanairship.com/api/user/hHZ7gZvyQ4aEuDxjpK_CPg/messages/, _kCFStreamErrorDomainKey=3}
Comments
5 comments