Closed meandavejustice closed 9 years ago
Digging a bit deeper it looks like caching of the client has been added. When going back to just using s3Upload without creating a new instance.
I am still getting this error from issue 17
error s3 upload::: Failed to upload a part to S3: {"message":"The specified upload does not exist. The upload ID may be invalid, or the upload may have been aborted or completed.","code":"NoSuchUpload","time":"2014-12-04T07:41:34.023Z","statusCode":404,"retryable":false,"retryDelay":30}
Additionally failed to abort the multipart upload on S3: NoSuchUpload: The specified upload does not exist. The upload ID may be invalid, or the upload may have been aborted or completed.
uploaded::: { Location: 'https://davejusticedotcom.s3-us-west-2.amazonaws.com/2014-12-04T07%3A41%3A32.249Z.gif',
You actually need to remove the new in front of s3Stream.upload
I have adjusted this in the docs on Github, but I think there is still a bad doc on NPM itself.
On Thu, Dec 4, 2014 at 2:44 AM, Dave Justice notifications@github.com wrote:
Digging a bit deeper it looks like caching of the client has been added. When going back to just using s3Upload without creating a new instance.
I am still getting this error from issue 17
error s3 upload::: Failed to upload a part to S3: {"message":"The specified upload does not exist. The upload ID may be invalid, or the upload may have been aborted or completed.","code":"NoSuchUpload","time":"2014-12-04T07:41:34.023Z","statusCode":404,"retryable":false,"retryDelay":30} Additionally failed to abort the multipart upload on S3: NoSuchUpload: The specified upload does not exist. The upload ID may be invalid, or the upload may have been aborted or completed. uploaded::: { Location: 'https://davejusticedotcom.s3-us-west-2.amazonaws.com/2014-12-04T07%3A41%3A32.249Z.gif',
— Reply to this email directly or view it on GitHub https://github.com/nathanpeck/s3-upload-stream/issues/29#issuecomment-65548375 .
Removing the new
gives me the same error that was posted in issue #17. The cached client doesn't appear to be working correctly.
error s3 upload::: Failed to upload a part to S3: {"message":"The specified upload does not exist. The upload ID may be invalid, or the upload may have been aborted or completed.","code":"NoSuchUpload","time":"2014-12-04T07:41:34.023Z","statusCode":404,"retryable":false,"retryDelay":30}
Additionally failed to abort the multipart upload on S3: NoSuchUpload: The specified upload does not exist. The upload ID may be invalid, or the upload may have been aborted or completed.
uploaded::: { Location: 'https://davejusticedotcom.s3-us-west-2.amazonaws.com/2014-12-04T07%3A41%3A32.249Z.gif',
Which version of the client are you using?
1.0.6
I was someone still updating a reference in the bucketConfig when my next part was passed into the method. it was totally my fault, carry on!
I'm having an issue with parallel uploads, much like issue #17.
I've tried creating a new instance of the s3Upload object each time, but I keep getting this error: