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!

gefragt vor 2 Jahren149 Aufrufe
Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen