Replies: 6 comments 40 replies
-
I encountered that too while developing v4. From the error message, I guess it's when the ESP doesn't deliver the whole file, or maybe taking too long. If it's something that's changed in the browser, the ESP wifi libraries or memory shortage, I don't know. But it works again for me. I've had one occasion but I waited a while and retried and it worked. |
Beta Was this translation helpful? Give feedback.
-
I had been playing around with a few things without much luck but I minified the CSS and function.js files and now it seems to work fine. |
Beta Was this translation helpful? Give feedback.
-
This started happening both to v3.5 and v4 so there must be something that changed. Can someone try downgrading some libraries. Starting with |
Beta Was this translation helpful? Give feedback.
-
mine continues failing from time to time, no idea why :( I wish this was ported this to esp32 |
Beta Was this translation helpful? Give feedback.
-
🧐 in still trying to find out why mqtt generates issues There is some spotty connections 😪 but when I operate the layzspa manually it responds ok... Misterious |
Beta Was this translation helpful? Give feedback.
-
I've optimized the code to use less RAM and in my testing that got rid of the error mentioned in OP. khoih-prog: replace khoih with tzapu: Saved 1484 bytes RAM, 37244 bytes Flash removed double definitions of CHARS[]: Saved another 108 bytes of RAM moved strings to Flash: Saved another 496 bytes of RAM Move display text string outside sStates into DSP object: Saved another 128 bytes of RAM Present code is in dev branch 2023-03-25-1526 |
Beta Was this translation helpful? Give feedback.
-
I have set this up on 1 D1 mini (https://smile.amazon.co.uk/AZDelivery-Development-ESP8266EX-Compatible-Micropython/dp/B08BTYHJM1/) as per https://antanaitis.lt/2022/09/07/wi-fi-on-your-lay-z-spa-make-it-easy-to-remote-control/
This seems to flash fine, I can connect and set the WiFi credentials but then things start to go awry
Straight after flashing and updating the WiFi details I can normally get to the home page and sometimes open up some of the child pages but at some point very quickly after that it just stops rendering
I have just gone in now (I flashed it this morning) and if I connect a serial monitor I see
so it looks like files are requests are getting through and files are being served..
I am seeing ERR_CONTENT_LENGTH_MISMATCH errors in the console for main.css and function.js but I am not certain this actually prevents them downloading?
Any thoughts on what this might be? I have tried in Chrome and Firefox and both show the same issue
Beta Was this translation helpful? Give feedback.
All reactions