-
Notifications
You must be signed in to change notification settings - Fork 493
FirebaseStream could not detect changes from cloud and Firebase set() and get() got fail result. #167
Comments
Did you try checking the WiFi.status() when you are getting failures? (Similar to what you do in setup()) Maybe you re losing wifi for some reason. |
@ed7coyne : thanks for your reply. |
The stream depends currently on a open TCP connection. Once you lose wifi it will close and not reconnect itself. It seems a little heavy handed but it may be easiest to just reset the device when you notice the wifi is dropped. That way you will do the same setup() initialization again. Otherwise you can also reopen the stream yourself when you reset the wifi. However FirebaseStream.failed() should be returning true when the stream fails. That sounds like a bug we will need to address. I opened #177 to track it. |
Same issue at me #185 can not call set during stream |
I tried the following sketch, it worked fine at the beginning.
However after a period of time (in my case, after a night) it did not work as expected. I listed two points that I thinks the issues.
The output in Debug level "HTTP Client + SSL" is as below.
I am using
Does anyone experience the same issues.
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: