-
Notifications
You must be signed in to change notification settings - Fork 2k
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
EAI_AGAIN using alpine #1030
Comments
Seems that issue is that the DNS failed to resolve. Is this something that randomly happens or is it reproducible? |
It happened randomly, and I haven't been able to reproduce yet... |
Is DNS.js your own file or part of express? |
I am pretty sure that |
Can you try this?
|
It happens to me also after upgrading from node:10.15.1-alpine to node:12.1.0-alpine .
|
alipina will EAI_AGAIN or delays about 5s, using stretch-slim i solved this problem! |
I may be wrong, but it looks like this issue from a different alpine based image: gliderlabs/docker-alpine#255 |
We faced the same issue and figured out the reason. The Callstack Diagram below, explains what happens. There are two possible solutions: PS: I guess coding/fixing the musl libc implementation likely will not happen (assuming, as I see contradicting goals) |
Getting |
I also got this issue in combination: docker image So, current solution is stop using alpine image? |
i have one question |
Hi same issue running nodejs:alpine inside Docker: cause: Error: getaddrinfo EAI_AGAIN api.telegram.org |
alpine v3.18.2 still catch getaddrinfo EAI_AGAIN |
I don't think this is specifically a problem with Node. This thread from the Moby project might help: |
I am running an express server on AWS Fargate using the
node:10.13.0-alpine
image.A few days ago we had an instance crash, and I found this error in its logs:
Looking online this seems like an alpine issue, but I am not sure, and I am not sure that this is where to fix it, but I was hoping at least for tips on how to fix it for my instance...
Thanks!
The text was updated successfully, but these errors were encountered: