Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By martinayotte
#76001 The fact that it is working fine on ESP32 is maybe related that it has 2 cores and using FreeRTOS.
A possible workaround on ESP8266 would be that your AsyncWebServer callback only turn a boolean flag to true and doing the HHTPClient GET inside the loop() when this flag appears ...
User avatar
By Cosmic Mac
#76003
rudy wrote:When I read this I assumed you meant that you found your solution. Maybe that's what other people thought.
Now, knowing you still are looking for a solution, unfortunately I don't know enough to help.

Oups! Sorry for the confusion. :?

martinayotte wrote:A possible workaround on ESP8266 would be that your AsyncWebServer callback only turn a boolean flag to true and doing the HHTPClient GET inside the loop() when this flag appears ...

Unfortunately, I can't use this workaround in my real project because the AsyncWebServer response is depending on the HTTP Client GET result.

Thank you anyway Rudy & Martin for taking the time to answer.
In the meantime, I opened an issue on Github (but no answer yet).