cotestatnt / async-esp-fs-webserver

ESP32/ESP8266 WebServer, WiFi manager and ACE web editor Arduino library. Based on ESPAsyncWebServer
Apache License 2.0
33 stars 10 forks source link

SimpleServer example problem #3

Closed leevv66 closed 7 months ago

leevv66 commented 8 months ago

Hi,

I'm trying to follow your SimpleServer example on Lilygo T-embed ESP32 S3 board. Program compiles but constantrly resboots on hardware with error: "Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled."

When I add hostname (third argument) into AsyncFsWebServer server(80, LittleFS);

the problem gone. Something to do with srncpy in AsyncFsWebServer.h ?

Regards SL

cotestatnt commented 8 months ago

Hi @leevv66

I'm sorry but the example need to be updated. You need to pass also the hostname to class constructorm, it's not optional for the moment.

AsyncFsWebServer server(80, LittleFS, "hostname");