Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

301, write ECONNRESET #81

Open
bitliner opened this issue Jul 13, 2013 · 6 comments
Open

301, write ECONNRESET #81

bitliner opened this issue Jul 13, 2013 · 6 comments

Comments

@bitliner
Copy link

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:'/'
                }
            ]
        }
    }
@bitliner
Copy link
Author

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

@csikosjanos
Copy link

Hi @bitliner, I have same problem here. Any solution so far?

@bitliner
Copy link
Author

bitliner commented Aug 6, 2013

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. Automattic/knox#191).

@csikosjanos
Copy link

Thank you for the hint. I'll try knox then.

@DivineTraube
Copy link

Getting the same error, any new solutions?

@mkelle
Copy link

mkelle commented Jan 26, 2017

same error, still no solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants