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!

已提问 2 年前149 查看次数
没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则