-
Hi. Can you help me to get it in right way? ESP32-WROOM-32 board. Arduino IDE. My code:
Firebase.RTDB.getJSON(&fbdo, "/meteo", &query) gets following data:
In for loop it parsing each 8 childs and form new string "params" to write it to csv file named by dayStamp variable.
But after 100 readings of "Firebase.RTDB.getJSON(&fbdo, "/meteo", &query)" i get "connection refused". And i get it again and again until i RESET my ESP32-WROOM-32 board. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
When the server connection established, the session was kept open for reuse. Google limits the time to live of opened session for 40 seconds and terminated the connection. You should call |
Beta Was this translation helpful? Give feedback.
-
OMG Also. Great library. Thanks for what you doing. |
Beta Was this translation helpful? Give feedback.
When the server connection established, the session was kept open for reuse.
Google limits the time to live of opened session for 40 seconds and terminated the connection.
You should call
fbdo.clear()
to force the session to be closed before 40 seconds after first get function was called.