nathanpeck / s3-upload-stream

A Node.js module for streaming data to Amazon S3 via the multipart upload API
MIT License
347 stars 46 forks source link

node-webkit interaction: Failed to create a multipart upload on S3: {} #11

Closed rmp closed 10 years ago

rmp commented 10 years ago

Hi,

I'm using s3-upload-stream 0.6.1, node 0.10.22 on the commandline and node-webkit 0.8.6 which also packages node 0.10.22.

I have a short bit of code to stream-upload a file to S3 which works fine on the commandline but when run in node-webkit throws:

Failed to create a multipart upload on S3: {}

with no content in the err object. I currently pass in a preconfigured S3 object built with aws-sdk 2.0.15 but can confirm it also happens without passing in an S3 object and using the s3-upload-stream packaged aws-sdk 1.18.0.

Any pointers for where to look very gratefully received.

rmp commented 10 years ago

Upon further hackery, updating the s3-upload-stream dependency to aws-sdk 2.0.15 appears to fix the problem (without debugging what it really was).

nathanpeck commented 10 years ago

Thanks for the report. I'll look into this, and if everything seems good with your pull request I'll merge it in.

nathanpeck commented 10 years ago

This should be fixed now in version 0.6.2

Thanks for finding and reporting!