Firebase suddenly reports invalid signature

不想你离开。 提交于 2019-12-10 11:37:40

问题


We are current hosting a Java/Spring server including firebase ID token verification on SAP Cloud Platforms (Hana Cloud). The authentication worked fine for the last few month, but suddenly stopped working yesterday, then it recovered after ~30 minutes and today it suddenly stopped working again. The error always is:

java.util.concurrent.ExecutionException: com.google.firebase.auth.FirebaseAuthException: Firebase ID token has invalid signature. See https://firebase.google.com/docs/auth/admin/verify-id-tokens for details on how to retrieve an ID token.

It is still working fine when i test it locally. What could cause this error in this unpredictable way? Are there request limits on the firebase-backend regarding Id token verification requests (which would still be strange, because other times it worked under heavy load just fine)?

Any ideas what might be causing this? I could not find really anything regarding this error. Thanks!


回答1:


It appears that there indeed was a server configuration problem with the root certificate. Sadly i cannot give any specifics, because i don't have direct access to the server and only the information the system admin gave me.



来源:https://stackoverflow.com/questions/46114381/firebase-suddenly-reports-invalid-signature

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!