Backendless endpoints fails 1200 SSL error

I’m currently using Backendless for a native iOS project and we’re getting a 1200 URL Error only in real devices and Wi-Fi. It works perfectly in simulators and LTE. I tried enabling App TransportSecurity to allow arbitrary loads, and I also tried to add domain to exception domains in .plist and yet had no luck.

Error Domain=NSURLErrorDomain Code=-1200 “An SSL error has occurred and a secure connection to the server cannot be made.” UserInfo={NSErrorFailingURLStringKey= https://someTest.backendless.app/api/data/bulk/Rows, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made., NSErrorFailingURLKey= https://someTest.backendless.app/api/data/bulk/Rows , NSUnderlyingError=0x281a43ab0 {Error Domain=kCFErrorDomainCFNetwork Code=-1200 “(null)” UserInfo={_kCFStreamPropertySSLClientCertificateState=0, _kCFNetworkCFStreamSSLErrorOriginalValue=-9805, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9805, _NSURLErrorNWPathKey=satisfied (Path is satisfied), viable, interface: en0[802.11], ipv4, dns}}, _kCFStreamErrorCodeKey=-9805, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <8D4FCFFC-0B01-4F21-B55A-2B931661C688>.<3>, _kCFStreamErrorDomainKey=3, _NSURLErrorRelatedURLSessionTaskErrorKey=(

“LocalDataTask <8D4FCFFC-0B01-4F21-B55A-2B931661C688>.<3>”

Hello @Ron_Ramirez,

This error is not related with Backendless, but directly with the device or wifi configs.

Google provides different solutions for this issue, e.g.

  1. ios - NSURLErrorDomain (SSL Error) on LTE, but not on Wifi - Stack Overflow
  2. https://appuals.com/ssl-error-on-an-iphone/
  3. Error Domain=NSURLErrorDomain Code=-1200 on iOS · Issue #2313 · home-assistant/iOS · GitHub
    etc

If everything works with LTE then problem could be with your network firewall. I can advise you to enable SSL / TLS from firewall settings.

Regards,
Olha