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

Handling connection problems getaddrinfo EAI_AGAIN #2091

Open
gajus opened this issue Feb 1, 2020 · 0 comments
Open

Handling connection problems getaddrinfo EAI_AGAIN #2091

gajus opened this issue Feb 1, 2020 · 0 comments

Comments

@gajus
Copy link
Contributor

gajus commented Feb 1, 2020

Occasionally I will get an error such as:

{
  "name": "ConnectionError",
  "stack": "ConnectionError: getaddrinfo EAI_AGAIN [redacted].aivencloud.com\n    at createConnection (/srv/node_modules/slonik/dist/factories/createConnection.js:64:15)",
  "message": "getaddrinfo EAI_AGAIN [redacted].aivencloud.com"
}

Perhaps node-postgres should provide a retry strategy.

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