测试身份验证desktop_app时Firebase发生内部错误

时间:2018-11-17 20:04:39

标签: c++ firebase firebase-authentication

我尝试使用从github克隆的Firebase C ++ SDK运行“ testapp_desktop”进行身份验证:

https://github.com/firebase/quickstart-cpp/

我已经设置了Firebase SDK C ++的路径,并且该项目已成功构建,并且在Firebase仪表板上启用了匿名服务和电子邮件/密码服务。问题是没有任何验证测试通过显示“发生内部错误”而通过。测试的完整日志如下所示:

Starting Auth tests.
Firebase App initializing app __FIRAPP_DEFAULT (default 1).
Created the Firebase app 16d09c0.
Created the Auth 16d33a0 class for the Firebase app.
No user signed in at creation time.
AuthStateListener called 0 times on registration.
IdTokenListener called 0 times on registration.
AuthStateListener called 0 times on SignOut() when already signed-out.
IdTokenListener called 0 times on SignOut() when already signed-out.
  Calling Auth::SignInAnonymously()...
ERROR: Auth::SignInAnonymously() completed with error: 1, `An internal error has occurred.`
ERROR: AuthStateListener called 0 times on SignInAnonymously().
ERROR: IdTokenListener called 0 times on SignInAnonymously().
Current user (nil)
ERROR: AuthStateListener called 0 times on SignOut().
ERROR: IdTokenListener called 0 times on SignOut().
Current user (nil)
  Calling CreateUserWithEmailAndPassword() to create temp user...
ERROR: CreateUserWithEmailAndPassword() to create temp user completed with error: 1, `An internal error has occurred.`
ERROR: Could not register new user.
  Calling Auth::SignInAnonymously() for User...
ERROR: Auth::SignInAnonymously() for User completed with error: 1, `An internal error has occurred.`
  Calling Auth::CreateUserWithEmailAndPassword() new email for delete...
ERROR: Auth::CreateUserWithEmailAndPassword() new email for delete completed with error: 1, `An internal error has occurred.`
  Calling Auth::SignInAnonymously() at end...
ERROR: Auth::SignInAnonymously() at end completed with error: 1, `An internal error has occurred.`
Completed Auth tests.

我们非常感谢您的帮助,

0 个答案:

没有答案