Open zekageri opened 1 year ago
Do you have a minimal sketch that will reproduce this crash?
Could you please specify the branches and commit tips at which you downloaded snapshots of the libraries?
Does your crashing sketch require SSL support?
Does the crash occur on sketch startup? Or does it occur when handling an incoming http request?
At which point in the lifetime of the sketch does it attempt to call begin()
on the AsyncWebServer
instance? Right in the body of the setup()
function? Inside one of the wifi callbacks? Or some other way?
Sorry for not including a sketch. I will make one today.
The sketch does not reach server begin, it crashes as soon as I touch any built in WiFi method and crashes with the same error no matter what method I call.
It does not require SSL and I do not initialize any SSL related stuff.
Both of the libraries are from the main brach.
Board crashes on wifi instruction calls.
I have tried with WiFi.softAPConfig(apIP, apIP, netMsk); And WiFi.mode(WIFI_STA); Even on ethernet cb setup.
Crash:
Crash does not happen with https://github.com/khoih-prog/AsyncTCP_SSL nor with the official Async tcp library.
Sketch is the same in every case.
I'm using PIO with the following config:
Libraries used are:
https://github.com/yubox-node-org/AsyncTCPSock https://github.com/yubox-node-org/ESPAsyncWebServer