Closed paulaegido closed 3 years ago
You should update the library and ESP32 SDK first.
As I mention you from last post, you should debug it first and don't conclude anything as I test all intensively 24/7 to identify all possible issues.
If you test with ESP32 and ESP8266 and get the same issue, your network is most the possible issue.
I had ESP32 SDK version 1.0.4 because it was the right one to be able to seamlessly integrate Wifi and BLE on the same board. I have updated it to the latest version and the bug has disappeared. I'll keep trying with more complex codes, but so far it seems to be solved. Thank you very much for your help.
ESP32 Core v1.0.6 WiFIClientSecure is more reliable and stable than 1.0.4 with better lwip handle as I ever found the issue as it hangs in long time open socket connection for file download and upload issue.
Yes, I have noticed. Well, after trying with more complex codes everything works correctly, so problem solved. Again, thanks for the quick response and efficient help.
You should update the library and ESP32 SDK first.
I am also facing the same issue.. I tried updating the libraries and sdk. I am using esp32s with firebase realtime database. Versions are as follows: 1) Arduino version : 1.8.19 2) ESP32 board manager : 1.0.6 (latest available) 3) SDK version : sdk esp32 : v3.3.5-1-g85c43024c (Also tried with 4.4, installed from github)
Can you please help me with this :)
You can post in Discussions with the code and debug message and describe your problem.
I have a nodemcu ESP32-S, which I connect to RealTime Database to send and read data. Everything works correctly, but it always 'breaks' when it reaches 100 read or write requests. Each one follows its own independent counter, and of course, when it restarts, it takes about 10s to re-establish the connection and send data again. I used the example of the library and it does exactly the same, so it must be a bug in the library that I hope I can fix as soon as possible, because it is urgent.
The simplest code to reproduce my error
Expected behavior When it adds up to 100 iterations, the sending stops for a maximum of 10s and gives the following error cause:
(in case it is useful, I have seen that it corresponds to the following line of code of the lib:
static const char fb_esp_pgm_str_69[] PROGMEM = "read timed out
")IDE and its version:
ESP32 Arduino Core SDK version
Additional context I have tried with another board, with another cable, with more or less complex codes, with the library for the ESP8266 and ESP32, and I get the same bug in all of them.