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 code EAI_AGAIN #60

Open
bobmulder opened this issue Oct 16, 2015 · 0 comments
Open

Error code EAI_AGAIN #60

bobmulder opened this issue Oct 16, 2015 · 0 comments

Comments

@bobmulder
Copy link

Hey all,

I tried using this library because I am looking for something better than the AWS Library.

I used to following code:

var ddb = require('dynamodb');

module App.Infrastructure.Storage.DynamoDB
{
    export class DynamoDBRepository
    {
        public db;

        constructor()
        {
            this.db = ddb.ddb({
                accessKeyId: 'KEYID',
                secretAccessKey: 'ACCESSKEY',
                endpoint: 'dynamodb.us-east-2.amazonaws.com'
            });
        }
    }
}

However I got the following error after using this part on a request:

{
  "code": "EAI_AGAIN",
  "errno": "EAI_AGAIN",
  "syscall": "getaddrinfo",
  "hostname": "dynamodb.us-east-2.amazonaws.com",
  "host": "dynamodb.us-east-2.amazonaws.com",
  "port": 80
}

Can somebody explain me what this means? I can't find anything online and have no idea what to do. I am afraid this lib is out of date?

Thanks!

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

1 participant