-
Notifications
You must be signed in to change notification settings - Fork 170
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
Crash on page load #6
Comments
hey, sry for the late response, what version of the espasyncwebserver library are you using? I am going to test this in the next days again |
That has to be the latest version. I downloaded it all 2 days ago.
…On 4 January 2018 10:07:06 GMT+01:00, Lukas Bachschwell ***@***.***> wrote:
hey, sry for the late response, what version of the espasyncwebserver
library are you using? I am going to test this in the next days again
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#6 (comment)
|
OK then, this issue drove me crazy today.... The problem is that the prepareFilesystem function does write the files correct, and if I list the filesystem contents immediatly afterwards it looks all fine But when I list the contents in a new sketch it only shows some of them.... and if the webserver can not find them it crashes This stops once I remove all file exists and remove operations in the function. I am not sure why this is but for now I'll leave it like this, if anyone has an Idea why the FS on the ESP32 behaves so strange please let me know I released a new patch version with the delete parts commented out |
I tested the patch, but i still get the "Control Offline" page.
|
This is an annoying problem, I have to do more checks but for now pls use the ESP32 Sketch Data upload tool As you can see in your debug output there is always one file with a size of 0, in this case /js/controls.js... |
indeed. uploading using the sketch data upload tool worked. |
Do you happen to know if it is possible to give the sliders "touch" support? Any help or clues on where to start are appreciated. :) |
Hm, that actually should already work... If it doesn't: can you put it into a new issue and put in info about the device you are using? |
I wanted to share an observation. I see the same reset problem when connecting through chrome web browser, however when I setup a hotspot on my phone, then connect to the ESP32(using the same phone) and mobile chrome, all works perfectly. |
This is probably some caching related issue you are having there, anyway the main problem is that the files are not written to the filesystem properly using prepareFilesystem() ... |
Alright everyone: Great News: I retested on ESP32 and on ESP8266 and both are working fine with the newest versions of the arduino cores, this means this issue can be closed now =D |
On a generic ESP32-dev board:
Uploaded the filesystem with the sketch. first time i didn't do a reset. I just let it run after upload. Not every file was written so i got the "Control Offline" message.
2nd upload and a reset after the upload fixed this.
But now when i load the page, i get nothing and the esp32 reboots. serial output below:
The text was updated successfully, but these errors were encountered: