Skip to content

Error writing every 3 minutes #163

Answered by mobizt
biagio983 asked this question in Q&A
Discussion options

You must be logged in to vote

That is the ESP32 WiFiClient bug.

You have to read and follow this.

https://github.com/mobizt/FirebaseClient?tab=readme-ov-file#running-many-tasks-concurrency-using-different-async-clients-in-different-ssl-clients <-- see the warning in this section.

// In ESP32, when using WiFiClient with ESP_SSLClient, the WiFiClient was unable to detect
// the server disconnection in case server session timed out and the TCP session was kept alive for reusage.
// The TCP session timeout in seconds (>= 60 seconds) can be set via `ESP_SSLClient::setSessionTimeo…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mobizt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants