connection lost after 3-4 hours #544
-
Hi, I am having problems with RTDB. I reboot my ESP32 and everything works perfectly for 3-4 hours and then it loses connection and no longer recovers until I reboot the board. This code has been working fine for about 9 months, maybe something has changed in Firebase that generates this problem. The failure occurred about 2 weeks ago. Every 6 seconds I have these token failures: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Your device free memory is not enough, and it's not related to the library update. Only 80k is not enough for SSL client in the library to work, it required at least 100k - 120k. You can set the debug port in Arduino IDE to see the error about SSL. If you are using latest ESP32 core v2.0.11, please use v2.0.9 instead because of free heap is 30% reduced in latest core. |
Beta Was this translation helpful? Give feedback.
Your device free memory is not enough, and it's not related to the library update.
Only 80k is not enough for SSL client in the library to work, it required at least 100k - 120k.
You can set the debug port in Arduino IDE to see the error about SSL.
If you are using latest ESP32 core v2.0.11, please use v2.0.9 instead because of free heap is 30% reduced in latest core.