After doing further tests while waiting for help with my previous question about Module 3 section 4.1, I tested out Module 3 section 1.2 “Serve Files from Filesystem” and am experiencing the same issue as my previous post.
There are no errors when compiling or uploading, and I have copied the code exactly (both main.cpp and platformio.ini, as well as the files in data folder). However, after I get the wifi connection and ip address displayed in the serial monitor, as well as “LittleFS mounted successfully” I navigate to my browser and type in the ip address: I get an error page that says “this page cant be found.”
Only the web server examples that do not use littlefs appear to work. I am hoping someone can give some sort of direction here or some explanation of the issue.
Thanks,
Dan
Update – now it is working after exiting VS Code and uploading again. Now to find out why this is working and section 4.1 example is not….
This issue was solved: https://rntlab.com/question/module-3-section-4-1-failed-to-open-file-for-reading/