Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runtime crash with provided examples #47

Open
alka79 opened this issue Oct 16, 2024 · 0 comments
Open

Runtime crash with provided examples #47

alka79 opened this issue Oct 16, 2024 · 0 comments

Comments

@alka79
Copy link

alka79 commented Oct 16, 2024

Hello,
To discover the library, I tried some provided examples with a ESP32-C3 (Super Mini) and a ESP32 WROOM (D1 mini)

I started with simpleServer.ino : compiles but crashes at runtime during setup it seems.
Then tried simpleServerCaptive.ino : it works fine. I could enter my wifi credentials on the /setup page.
Then tried withWebSocket.ino : crash at runtime same as simpleServer

crash with sampleserver.ino or withWebSocket.ino

LittleFS filesystem ready!
Stored "testInt" value: 150
Stored "testFloat" value: 123.46

[E][AsyncFsWebServer.cpp:605] startWiFi():	File not found, will be created new configuration file
[I][AsyncFsWebServer.cpp:152] startCaptivePortal():	Captive portal started. Redirecting all requests to /setupGuru Meditation Error: Core  1 panic'ed (LoadProhibited). Exception was unhandled.

Core  1 register dump:

successfull simpleServerCaptive.ino on a fresh board

[E][AsyncFsWebServer.cpp:605] startWiFi():	File not found, will be created new configuration file
Listing directory: /

[E][AsyncFsWebServer.cpp:605] startWiFi():	File not found, will be created new configuration file
[I][AsyncFsWebServer.cpp:152] startCaptivePortal():	Captive portal started. Redirecting all requests to /setup
[E][src/SetupConfig.hpp:19] checkConfigFile():	Failed to open /setup directory. Create new folder
Async ESP Web Server started on IP Address: 8.8.8.8
This is "simpleServerCaptive.ino" example.
Open /setup page to configure optional parameters.
Open /edit page to view, edit or upload example or your custom webserver source files.

I use board ESP32 version 2.0.17 and latest versions of all libs.

Obviously there are differences in each example. Are there any particular recommendation and/or requirements ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant