grunt-s3
grunt-s3 copied to clipboard
301, write ECONNRESET
I got the following error
Running "s3:dev" (s3) task
>> Error: Upload error: /home/user/node_project/public/file1 (301)
Fatal error: write ECONNRESET
with the following configuration
s3:{
options:{
key: '***',
secret: '***',
bucket: 'bucket.01',
access: 'public-read'
},
dev:{
// Files to be uploaded.
upload:[
{
src:'public/*',
dest:'/'
}
]
}
}
Sometimes i received also the error:
Upload error: /home/user/node_project/public/a.pdf (Error: socket hang up)
It seems the S3 refuses my credentials and then the connection, but key and secret are right
Hi @bitliner, I have same problem here. Any solution so far?
Try first uploading manually a file on Amazon. The problem is from Amazon. Now i'm using knox, but at first moment also with knox i wasn't able to solve the problem cause the error was from amazon. With knox you can catch the error, wait and try to reconnect until amazon accept the connection (e.g. https://github.com/LearnBoost/knox/issues/191).
Thank you for the hint. I'll try knox then.
Getting the same error, any new solutions?
same error, still no solution?