peacemaker Expert Licensed User Longtime User Jun 10, 2025 #1 Hi, All Do you have a statistics of your MCU B4R development ? What MCU did you run and how long without reboot ? Especial questions: 1) same, but if to use HTTP requests to a server ? 2) same, but if to use HTTPS requests to a server ? My result of the classic ESP32 with HTTPS requests - ~72 hours maximal uptime (Internet router connection was stable for sure), but after 72 hours something wrong is inside and MCU is rebooting. B4R v4.0, Arduino v2.3.6 (esptool.py v4.8.1), Arduino Espressif SDK v3.2.0. And the stack and RAM heap is not being changed.
Hi, All Do you have a statistics of your MCU B4R development ? What MCU did you run and how long without reboot ? Especial questions: 1) same, but if to use HTTP requests to a server ? 2) same, but if to use HTTPS requests to a server ? My result of the classic ESP32 with HTTPS requests - ~72 hours maximal uptime (Internet router connection was stable for sure), but after 72 hours something wrong is inside and MCU is rebooting. B4R v4.0, Arduino v2.3.6 (esptool.py v4.8.1), Arduino Espressif SDK v3.2.0. And the stack and RAM heap is not being changed.
hatzisn Expert Licensed User Longtime User Jun 10, 2025 #2 I have an ESP8266 application running in my home for ever since I built it. What I do, is everything that requires memory, I run it in its own sub so each time the sub exits the memory is released. What is interesting though, is that with http:// it works this way correctly, but with https:// I get the behavior you are mentioning. Upvote 0
I have an ESP8266 application running in my home for ever since I built it. What I do, is everything that requires memory, I run it in its own sub so each time the sub exits the memory is released. What is interesting though, is that with http:// it works this way correctly, but with https:// I get the behavior you are mentioning.
peacemaker Expert Licensed User Longtime User Jun 10, 2025 #3 So, system FreeRTOS code is buggy for HTTPS-requests, as i can conclude... DeepSeek suggested to try: C++: Copy WiFiClientSecure client; client.setSessionMode(true); // caching SSL-session Upvote 0
So, system FreeRTOS code is buggy for HTTPS-requests, as i can conclude... DeepSeek suggested to try: C++: Copy WiFiClientSecure client; client.setSessionMode(true); // caching SSL-session
peacemaker Expert Licensed User Longtime User Jun 10, 2025 #4 esp_http_client_perform can be connecting endlessly when is_async = true (IDFGH-5280) · Issue #7045 · espressif/esp-idf ----------------------------- Delete below ----------------------------- Environment Development Kit: ESP32-Wrover-Kit Chip is ESP32-D0WDQ6 (revision 1) IDF version: 4.2 Using an IDE?: Eclipse Prob... github.com found some... Upvote 0
esp_http_client_perform can be connecting endlessly when is_async = true (IDFGH-5280) · Issue #7045 · espressif/esp-idf ----------------------------- Delete below ----------------------------- Environment Development Kit: ESP32-Wrover-Kit Chip is ESP32-D0WDQ6 (revision 1) IDF version: 4.2 Using an IDE?: Eclipse Prob... github.com found some...
hatzisn Expert Licensed User Longtime User Jun 10, 2025 #5 peacemaker said: So, system FreeRTOS code is buggy for HTTPS-requests, as i can conclude... DeepSeek suggested to try: C++: Copy WiFiClientSecure client; client.setSessionMode(true); // caching SSL-session Click to expand... Sorry. Mine is not a FreeRTOS tasks application. It is pure B4R. I am not sure if there is even FreeRTOS for ESP8266 because as far as my knowledge goes ESP8266 is a single core processor. Upvote 0
peacemaker said: So, system FreeRTOS code is buggy for HTTPS-requests, as i can conclude... DeepSeek suggested to try: C++: Copy WiFiClientSecure client; client.setSessionMode(true); // caching SSL-session Click to expand... Sorry. Mine is not a FreeRTOS tasks application. It is pure B4R. I am not sure if there is even FreeRTOS for ESP8266 because as far as my knowledge goes ESP8266 is a single core processor.
peacemaker Expert Licensed User Longtime User Jun 10, 2025 #6 hatzisn said: ESP8266 is a single core processor. Click to expand... So, maybe it's some Arduino's HTTPS lib trouble. If HTTP can work stable - a error with HTTPS must be somewhere... Upvote 0
hatzisn said: ESP8266 is a single core processor. Click to expand... So, maybe it's some Arduino's HTTPS lib trouble. If HTTP can work stable - a error with HTTPS must be somewhere...