When trying to upload 10 files an error message occurs
Console shows this:
[Uppy] [17:11:51] Failed to upload cce616b640fc4352250416f7f403a35813826092.jpeg Upload error chunk.660.cfa44cc656d26c5d04fa.js:2:209371
(Async: promise callback)
(Async: setTimeout handler)
simultaneous uploads is 10.
Is there anything particular regarding your files? When trying to upload 10 pictures with
simultaneous uploads set to 10, I encounter no issue. I’m on the latest Discourse version.
Nothing special, random files, I can repro on multiple systems hosted in different places.
Maybe it’s Firefox…
EDIT No I can repro on Chrome as well
Thanks for reporting Richard; this is a tricky one to debug at times. Can you please enable the site setting
enable_upload_debug_mode, and hopefully you will get a more detailed error message, and if not if you go to
/logs on the site it should show a more detailed message.
I know the UX around this is not ideal either. Currently you can upload 10 files and 3 might fail, but we only show the generic dialog and “that file”. At the very least I can see if I can change that dialog to at least show the file name.
Thanks Martin. I enabled debugging and digged deeper. I previously overlooked a 503 error that is now showing more clearly.
That 503 error is in
UploadsController.create and seems to happen when hijack is called. I don’t have much experience with hijack unfortunately.
I have been able to reproduce this on a standard install to rule out any Communiteq specific issues:
Is there any news here? Has anyone been able to reproduce the bug on their instance as well?
Seeing the same problem here after upgrading to 3.x. Often with anything over 10 files it will cause random files in the batch to error out. DO droplet configured with spaces for uploads. No problems with 2.x and a fairly image intensive forum.