Page 2 of 2

Re: WiFi AP disappeared suddenly while using HTTP Server

Posted: Thu Sep 04, 2025 10:20 am
by VadymOstanin
I had the same issue, and
it was solved by calling "yield();" or "taskYIELD();" in webserver' handlers and every place in code where long work may be. "taskYIELD();" say to scheduler to switch work from your code to some other task, and specially WiFi, for short period of time. Otherwise if your code will block WiFi for long period of time, than WiFi will not work.

Re: WiFi AP disappeared suddenly while using HTTP Server

Posted: Mon Sep 08, 2025 10:10 am
by Ritesh
I had the same issue, and
it was solved by calling "yield();" or "taskYIELD();" in webserver' handlers and every place in code where long work may be. "taskYIELD();" say to scheduler to switch work from your code to some other task, and specially WiFi, for short period of time. Otherwise if your code will block WiFi for long period of time, than WiFi will not work.
Thanks for sharing your valuable feedback accordingly.

I agreed on your point that Wi-Fi will stuck into long time and we need to handle proper synchronization accordingly from our application code.

We have already managed it with new ESP IDF as well into our application side.