-
Notifications
You must be signed in to change notification settings - Fork 13.3k
LmacRxBlk:1 mess #928
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
Comments
the problem comes from the fact that the webserver can only handle one connection at the time. you can try: |
Thank you for the piece of advise. I'll run some test and come back to you. |
Following your advice I re-engineered my html/javascript pages. That was not easy as there is no standard mechanism, I'm aware of, for avoiding parallel request from the browser. Now it is working perfectly event with two client connected. For the moment ,it is a bit slow because I'm uploading only one block (1450) byte per cycle (loop invocation) but coming back to the original ESP webserver code I hope to get something faster. If the community is interested in I may provide by html/javascript code as example on how to control upload of resources. For the ones interested I made a short video (sorry introduction is in FRENCH) : https://vimeo.com/143534223 |
you can have a small piece of javascript in your index that can load a list of files one after another. Just append the next script/css once the previous one is done. That will ensure that only one request is done at a time. |
I had the same experience. In my ESP-Radio project I handle a continuous stream of MP3-data together with a ESP8266WebServer. I also used ESP8266mDNS to get al local DNS-name for my radio. |
I've not seen this error recently after moving to the async web server. |
Mdns is unfortunately required for OTA? |
I don't think mDNS is required. Just added basicOTA to my InternetRadio project and it woks perfectly. |
Its already required and started internally: https://github.com/esp8266/Arduino/blob/master/libraries/ArduinoOTA/ArduinoOTA.cpp#L110 I'm wondering- if thats true- how removing mdns can remove the |
Going async is how you remove those ;) |
andig: In my project ArduinoOTA is only started (from the webserver) if OTA is required. |
I can't reproduce this error with latest git. Closing. |
|
Unfortunately backlog is unlimited…… |
Hi everybody
I'm no struggling for more than two weeks getting rid of the 'LmacRxBlk:1' errors in my ESP web server.
My ESP is serving a dozen of files (html, js, png) for a total of about 130KB. When a client download the main page (index.html) I've got during download of some file the message 'LmacRxBlk:1' on the logs (whith Serial.setDebugOutput(true)). On client side download of files where 'LmacRxBlk:1' appears appear to be corrupted (invalid file length). I assume the TCP socket died somewhere.
Reseting the ESP just changes the files impacted.
I've try to:
So if somebody can give me a tips about this ---- message, it's help me.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: