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

Error: getaddrinfo ENOTFOUND #95

Open
alanshaw opened this issue Aug 20, 2013 · 1 comment
Open

Error: getaddrinfo ENOTFOUND #95

alanshaw opened this issue Aug 20, 2013 · 1 comment

Comments

@alanshaw
Copy link

I'm running into this issue with the latest version of grunt-s3:
Automattic/knox#192

I get Error: getaddrinfo ENOTFOUND after a while when uploading many files.

I found that adding res.resume() to the client.putFile callback in tasks/lib/s3.js solved the problem.

collin added a commit to collin/grunt-s3 that referenced this issue Aug 22, 2013
collin added a commit to collin/grunt-s3 that referenced this issue Aug 22, 2013
pifantastic added a commit that referenced this issue Aug 22, 2013
call res.resume() to prevent #95
coen-hyde added a commit to coen-hyde/grunt-s3 that referenced this issue Aug 24, 2013
* master:
  call res.resume() to prevent pifantastic#95
@danwdart
Copy link

This is fixed for me by using "us-standard" as the "region" option in my JS.
Even though the website was available on "us-east-1" apparently you should still PUT to:

BUCKETNAME.s3.amazonaws.com

rather than
BUCKETNAME-us-east-1.s3.amazonaws.com

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

2 participants