Node container dns resolve fail with getaddrinfo EAI_AGAIN in App runner

0

Hello We have a problem with the App runner service. Sometime after deployment, we get:

19:32:05 0|kultr  | SequelizeConnectionError: getaddrinfo EAI_AGAIN xxxxxxxxxx.xxxxxxx.us-east-2.rds.amazonaws.com
19:34:17 1|kultr  | Error: getaddrinfo EAI_AGAIN logs.us-east-2.amazonaws.com

After a couple of redeploying this problem is gone.

Following https://github.com/nodejs/docker-node/issues/1030 node:12.13.0-alpine was changed to node:12.13.0-stretch but the problem still exists.

Something similar was mentioned on this topic https://forums.aws.amazon.com/thread.jspa?threadID=346652&tstart=0

Could somebody advise how we could fix this error and make the service more stable? Thank you!

asked 2 years ago143 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions