<FIRInstanceID/WARNING> Failed to fetch default token Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “device-provisioning.googleapis.com” which could put your confidential information at risk." UserInfo=0x1706fb70 {NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be “device-provisioning.googleapis.com” which could put your confidential information at risk., NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorCodeKey=-9807, NSErrorFailingURLStringKey=https://device-provisioning.googleapis.com/checkin, _kCFStreamErrorDomainKey=3, NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x15f8d480>, NSUnderlyingError=0x15fb35f0 "The operation couldn’t be completed. (kCFErrorDomainCFNetwork error -1202.)", NSErrorFailingURLKey=https://device-provisioning.googleapis.com/checkin}
Any subsequent calls fail:
<FIRAnalytics/ERROR> Encounter network error. Error: Error Domain=NSURLErrorDomain Code=-999 "cancelled" UserInfo=0x15d280b0 {NSErrorFailingURLKey=https://play.googleapis.com/log, NSErrorFailingURLStringKey=https://play.googleapis.com/log, NSLocalizedDescription=cancelled}
--
You received this message because you are subscribed to a topic in the Google Groups "Firebase Google Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/firebase-talk/Snd0Hxtj7BM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/c665a462-c340-4020-b30c-bc5321e99211%40googlegroups.com.
can't believe i didn't think of that (has happened to me before!) thanks ian.
On Tue, Nov 8, 2016 at 8:48 PM, 'Ian Barber' via Firebase Google Group <fireba...@googlegroups.com> wrote:
Any chance the time might be off on the device? That can throw off cert validity checks.
On Tuesday, 8 November 2016 03:54:26 UTC-8, Joris Weimar wrote:I've already set the<dict><key>NSAllowsArbitraryLoads</key><true/></dict></plist>key in the info.plist
On Tuesday, November 8, 2016 at 12:53:05 PM UTC+1, Joris Weimar wrote:<FIRInstanceID/WARNING> Failed to fetch default token Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “device-provisioning.googleapis.com” which could put your confidential information at risk." UserInfo=0x1706fb70 {NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be “device-provisioning.googleapis.com” which could put your confidential information at risk., NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorCodeKey=-9807, NSErrorFailingURLStringKey=https://device-provisioning.googleapis.com/checkin, _kCFStreamErrorDomainKey=3, NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x15f8d480>, NSUnderlyingError=0x15fb35f0 "The operation couldn’t be completed. (kCFErrorDomainCFNetwork error -1202.)", NSErrorFailingURLKey=https://device-provisioning.googleapis.com/checkin}
Any subsequent calls fail:
<FIRAnalytics/ERROR> Encounter network error. Error: Error Domain=NSURLErrorDomain Code=-999 "cancelled" UserInfo=0x15d280b0 {NSErrorFailingURLKey=https://play.googleapis.com/log, NSErrorFailingURLStringKey=https://play.googleapis.com/log, NSLocalizedDescription=cancelled}
--
You received this message because you are subscribed to a topic in the Google Groups "Firebase Google Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/firebase-talk/Snd0Hxtj7BM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/7d42c392-f01e-4ada-a579-a2abcbe221b4%40googlegroups.com.