Replies: 1 comment
-
The high-level response is that Microdot assumes that the networking system is functional, which isn't always the case. It seems that when there is too much network activity the network may crash and disconnect. The issue that you linked has a number of suggestions you can try. Also see #271. If the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to use the microdot on ESP32 that would serve as a small webserver/controller for a fishfeeder.
My code runs fine when it is executed on PC but when I move the code on ESP32 then it fails on errors like
It seems that if multiple files are served concurrently from the microdot on ESP32 via wifi then it has this problem.
To Reproduce
I created a simplified example of your "static" example. Please find a diff for the "static" example on main...Kamosh:microdot:esp32_concurrent_send_file_issue .
I uploaded code the ESP32 and ran the static.py, the syspath set to include microdot libraries.
Using Chrome browser on my PC browser I am able to sometimes see whole screen served from ESP32 for the first time. But the refresh of the page fails with the mentioned error.
Complete logs:
Expected behavior
I would like to get whole page with all images on it without any error. It would be really great if I could continue with my FishFeeder project :-)
Additional context
I found that somethin similar has been already discussed here https://github.com/orgs/micropython/discussions/14427
Beta Was this translation helpful? Give feedback.
All reactions