-
Notifications
You must be signed in to change notification settings - Fork 492
Report error when streaming loses connection. #179 #301
Comments
I need solution for same issue. |
@maherahmed I'm currently running |
@proppy so if the stream has an error it will restart automatically? |
No!!!! Stream will not restart automatically, if any non stream command like "Firebase.setInt(path);" will executed in the program it restart stream. Also during this command if the internet connection is not found whole program will slow down and it continuously forcing to execute this command only, why program slow down ???????? |
i was trying to resolve this issue but i failed!!!!!! |
Is there a way to detect that the stream connection (socket) has been closed? I am willing to investigate and solve this issue, but any feedback / help / hints are welcome |
i am using mills and counting continuously after each 31 sec. whether stream running or not. i get an information about status of stream whether it is running or not. and if any non stream command like "Firebase.setInt(path);" will executed in the program it restart stream. |
I think this should be fixed with #356? can you test? |
SDK:2.2.1(cfd48f3)/Core:win-2.5.0-dev/lwIP:2.0.3(STABLE-2_0_3_RELEASE/glue:arduino-2.4.1-10-g0c0d8c2)/BearSSL:94e9704 Still having an issue when Stream looses connection when router switches between LTE and 3G described here: #356 As a workaround I'm using an errorCounter and reboot my esp if it gets enormous:
|
After the last commit, do we have a function to detect when streaming losses connection? Or Shall I execute
Firebase.stream(path)
in the loop ?Thanks,
@ed7coyne @proppy
The text was updated successfully, but these errors were encountered: