Firebase error code 9999 “blocked”

 ̄綄美尐妖づ 提交于 2019-12-12 09:51:52

问题


All of a sudden, we are getting an error authenticating with Nest and Firebase. The error code is 9999, and the message is "blocked". The source code has not changed on the app side, so it seems like something has changed on the server side.

I see a similar issue here, however they are getting a message of "too many requests", instead of "blocked".

Can anyone help us resolve this issue? Thanks.


回答1:


This error occurs when you have too many concurrent open connections to Nest using the same access token. This is a different issue to "too many requests" issue which, as indicated, is to protect the battery in the thermostat.

It seems that you may be opening up Firebase or REST streaming connections and not closing them properly before opening up a new connection. Once a Firebase connection is open you should use this connection for reading and writing any new data and open a new connection only if when this connection is severed.

Could you please post sample code on how you are handling opening, closing and using the connections? Your sample code will help analyze the specifics of the issue.



来源:https://stackoverflow.com/questions/28815002/firebase-error-code-9999-blocked

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