after configuring everything according to the setup guides (twice)
in the function: didRegisterForRemoteNotificationsWithDeviceToken
we use this code:
NSString *deviceTokenStr = [backendless.messagingService deviceTokenAsString:deviceToken]; @try { NSString *deviceRegistrationId = [backendless.messagingService registerDeviceToken:deviceTokenStr]; NSLog(@"deviceToken = %@, deviceRegistrationId = %@", deviceTokenStr, deviceRegistrationId); } @catch (Fault *fault) { NSLog(@"deviceToken = %@, FAULT = %@ <%@>", deviceTokenStr, fault.message, fault.detail); }
and we get:
deviceToken = *************, FAULT = NSURLErrorDomain <The request timed out.>]
CFNetwork SSLHandshake failed (-9806)
NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9806)
FAULT = ‘-1200’ [NSURLErrorDomain] <An SSL error has occurred and a secure connection to the server cannot be made.>
how can we fix this?