Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/93.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios FIRAuthErrorDomain代码=17020_Ios_Login_Firebase_Firebase Realtime Database - Fatal编程技术网

Ios FIRAuthErrorDomain代码=17020

Ios FIRAuthErrorDomain代码=17020,ios,login,firebase,firebase-realtime-database,Ios,Login,Firebase,Firebase Realtime Database,这是什么意思 FIRAuthErrorDomain Code=17020 我正在尝试以iOS FireBase应用程序的用户身份登录。我在Firabase控制台上启用了电子邮件身份验证方法,并创建了一个用户 以下是完整的错误: Error Domain=FIRAuthErrorDomain Code=17020 "Network error (such as timeout, interrupted connection or unreachable host) has occurred."

这是什么意思

FIRAuthErrorDomain Code=17020
我正在尝试以iOS FireBase应用程序的用户身份登录。我在Firabase控制台上启用了电子邮件身份验证方法,并创建了一个用户

以下是完整的错误:

Error Domain=FIRAuthErrorDomain Code=17020 "Network error (such as timeout, interrupted connection or unreachable host) has occurred." UserInfo={NSUnderlyingError=0x134fadd30 {Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made." UserInfo={NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: ->, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9806, NSErrorPeerCertificateChainKey=<CFArray - [-]>{type = immutable, count = 3, values = (
    0 : <cert(-) s: *.googleapis.com i: Google Internet Authority G2>
    1 : <cert(-) s: Google Internet Authority G2 i: GeoTrust Global CA>
    2 : <cert(-) s: GeoTrust Global CA i: Equifax Secure Certificate Authority>
)}, NSUnderlyingError=- {Error Domain=kCFErrorDomainCFNetwork Code=-1200 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, kCFStreamPropertySSLPeerTrust=<SecTrustRef: ->, _kCFNetworkCFStreamSSLErrorOriginalValue=-9806, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9806, kCFStreamPropertySSLPeerCertificates=<CFArray 0x134d7e240 [0x1a0880b68]>{type = immutable, count = 3, values = (
    0 : <cert(-) s: *.googleapis.com i: Google Internet Authority G2>
    1 : <cert(-) s: Google Internet Authority G2 i: GeoTrust Global CA>
    2 : <cert(-) s: GeoTrust Global CA i: Equifax Secure Certificate Authority>
)}}}, NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made., NSErrorFailingURLKey=https://www.googleapis.com/identitytoolkit/v3/relyingparty/verifyPassword?key=-, NSErrorFailingURLStringKey=https://www.googleapis.com/identitytoolkit/v3/relyingparty/verifyPassword?key=-, NSErrorClientCertificateStateKey=0}}, error_name=ERROR_NETWORK_REQUEST_FAILED, NSLocalizedDescription=Network error (such as timeout, interrupted connection or unreachable host) has occurred.}

您的身份验证令牌可能已过期。试着先注销。我今天突然收到这个消息,原因是什么@MM24您的身份验证令牌可能已过期。试着先注销。我今天突然收到这个消息,原因是什么@mm24
- (IBAction)didTapEmailLogin:(id)sender {
  [self showSpinner:^{
    [[FIRAuth auth] signInWithEmail:_emailField.text
                           password:_passwordField.text
                         completion:^(FIRUser *user, NSError *error) {
                             [self hideSpinner:^{
                               if (error) {
                                 [self showMessagePrompt:error.localizedDescription];
                                 return;
                               }
                               [[[_ref child:@"users"] child:user.uid]
                                    observeEventType:FIRDataEventTypeValue
                                           withBlock:^(FIRDataSnapshot * _Nonnull snapshot) {
                                              if (![snapshot exists]) {
                                                [self promptForNewUserName:user];
                                              } else {

                                                  //[self performSegueWithIdentifier:@"signIn"         sender:nil];
                                              }
                                            }];
                             }];
                         }];
  }];
}