Issue with handleUpload #73
Replies: 5 comments 4 replies
-
I do a test on this repo: 3.7.0 - Bug described in this issue |
Beta Was this translation helpful? Give feedback.
-
@TheMechanos converted to a support discussion since there is no issue that can be found for now. I raised a PR to add an Upload example in the project for text upload, file upload and binary upload: #72 There is something in the way you upload that is not working, you can try with curl first and display the full requests (see Upload example). |
Beta Was this translation helpful? Give feedback.
-
PR merged, example available in the main branch here: https://github.com/ESP32Async/ESPAsyncWebServer/blob/main/examples/Upload/Upload.ino Please try with them and curl first (curl commands are in the examples). Let us know if you still see some issues! |
Beta Was this translation helpful? Give feedback.
-
Your example is working good. I have to investigate all my code 😅 |
Beta Was this translation helpful? Give feedback.
-
Okey I found the problem. The problem was another library "ElegantOTA". I commented code and all include of this library in my code. But in OTA library was a dependency to another version of AsyncWebServer( mathieucarbou/ESPAsyncWebServer@^3.3.11). In result i don't know which version of AsyncWebServer was used in my code and why uploading don't worked |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Platform
ESP32
IDE / Tooling
PlatformIO
What happened?
I'm experiencing an issue with handling file uploads in the Async Web Server on ESP32. The handleUpload function is called only once and receives only the first chunk of data.
For small files (that fit within a single chunk), the upload works correctly. However, larger files that are sent in multiple chunks fail, as handleUpload is not called for subsequent parts.
When I use latest https://github.com/me-no-dev/ESPAsyncWebServer problem don't exists.
Stack Trace
Minimal Reproductible Example (MRE)
Board: ESP32-S3
Log:
And this is all, no more chunks.
I confirm that:
Beta Was this translation helpful? Give feedback.
All reactions