WiFi Freezes on ESP32S3 module some hours later #289
Replies: 3 comments 11 replies
-
Sorry for intruding...
This won't give you Arduino-ESP32 3.0.0 but Espressif Arduino 2.0.14 (which is quite outdated) - See here Try pioarduino's Espressif32 platform to get the latest Espressif Arduino 3.x framework - See the various Arduino 3.x platform settings from the link above |
Beta Was this translation helpful? Give feedback.
-
Moving to a support ticket. This does not seem to me like a genuine opened issue but much more an badly-AI-geenratd issue. @fernandoleal-cmyk : if you have some issues with ESPAsyncWS and one of teh supported board, please show your complete code and pio file and explain better the crash / exceptions you see. FYI, as a matter of fact, I know that WiFi reconnects and ESPAsycnWS and S3 work fine alltogether. So I bet this is more likely an issue in your project. If this is really an Arduino Core bug, then you should be able to reproduce it without ESPAsycnWS but just by using AsyncTCP or the lwip network layer. ESPAsycnWS cannot have any effect on the WiFi since this is the web serevr layer on top of the AsyncTCP and lwip network handling stacks. |
Beta Was this translation helpful? Give feedback.
-
Dear Mathieu, First of all, I sincerely apologize if I caused any inconvenience — for opening an issue instead of a discussion, for insisting, or for misunderstanding the scope of the supported libraries. I'm still new to GitHub and learning how to navigate its ecosystem. I'm not very experienced in networking, and I often struggle to identify which libraries are compatible in such a vast and fragmented universe. Fernando |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Platform
ESP32
IDE / Tooling
Arduino (IDE/CLI)
What happened?
🐛 [ESP32‑S3] WiFi Freezes After Setup When Using ESPAsyncWebServer
Summary:
On ESP32‑S3 modules, the WiFi stack freezes after setup when using ESPAsyncWebServer. The server initializes correctly, and the device boots normally, but after a few seconds or during reconnection attempts, the WiFi becomes unresponsive. This issue does not cause a boot loop — it only affects WiFi stability after setup.
Environment:
Observed Behavior:
Why This Matters:
Hypothesis:
Suggested Fixes:
Temporary Workarounds:
Final Note:
Thank you for your foundational work on this library. It has enabled countless projects and remains a cornerstone of async development on ESP32. If this repo is no longer maintained, we’d be grateful for a note in the README or a pointer to the recommended successor.
Warm regards,
Fernando
São Gonçalo do Rio Abaixo, Brazil
Stack Trace
No error message. Just freezes wifi conection forcing new boot.
On the block code bellow, a routine to try wifi reconection. No success.
Minimal Reproductible Example (MRE)
// Verifica a cada ciclo se houve falha anterior de WiFi a cada 15 minutos - FALHA WIFI - FALHA NO WIFI
if (!WiFi.isConnected() || integr[9] == false || !conexaoRealAtiva()) {
unsigned long tempoAtual = millis();
if (tempoAtual - ultimoCheckWiFi >= intervaloReconexao) {
ultimoCheckWiFi = tempoAtual;
reconectarWiFiNonBlocking(); // chamada segura e modular
}
} // bloco de correção de WiFi a cada 15 minutos
I confirm that:
Beta Was this translation helpful? Give feedback.
All reactions