Open fishcharlie opened 7 years ago
I have the same issue where 'end' is never triggered.
This appears to be happening on multipart uploads. It seems from stepping through execution that the AWS library is not calling the callback on s3.uploadPart
.
And it seems to be happening when I pass in an aws-sdk instance. If I let s3 create one itself it works fine. Note that there is only one version of aws-sdk in my node_modules (aws-sdk@2.6.14).
Try setting your client.s3.addExpect100Continue before calling uploadFile
client.s3.addExpect100Continue = function() {}; var uploader = client.uploadFile(params);
That worked. 👍 I see where you got that from: https://github.com/andrewrk/node-s3-client/issues/74 for those who are interested why this is necessary.
I'm having an issue where the uploader never calls the end function. Below is the code I'm using.
I have replaced the bucket name and AWS keys with other strings but other then that everything is the same. The console prints the following code.
So it the progress indicates it has completed but the end function never gets called. Any ideas?