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!

feita há 2 anos149 visualizações
Sem respostas

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas