uppy icon indicating copy to clipboard operation
uppy copied to clipboard

s3 multipart: upload never completes if computer goes to sleep

Open JL-Vidinoti opened this issue 2 years ago • 1 comments

I have observed that the upload may never completes if the computer goes to sleep while a file is being uploaded.

How to reproduce:

  • start the upload of a large file
  • after some time, the computer goes to sleep
  • some time later, wake up the computer. The upload resumes
  • the upload continues up to 99-100% but never completes

When it happened, I debugged the code and saw that some of the chunks have status "busy" but they are stuck and their status never change. So when #uploadParts is being called, the upload does not complete because all the chunks have either the status done or busy. For some reason, some of the uploaded parts failed but their status remained busy.

Environment:

JL-Vidinoti avatar May 25 '22 13:05 JL-Vidinoti

Thank you for reporting. Could be related to issues you investigated yesterday @Murderlon @goto-bus-stop?

arturi avatar May 26 '22 06:05 arturi