javascript - Whats the source of Error: getaddrinfo EAI_AGAIN

javascript – Whats the source of Error: getaddrinfo EAI_AGAIN?

javascript – Whats the source of Error: getaddrinfo EAI_AGAIN?

If you get this error with Firebase Cloud Functions, this is due to the limitations of the free tier (outbound networking only allowed to Google services).

Upgrade to the Flame or Blaze plans for it to work.

enter

EAI_AGAIN is a DNS lookup timed out error, means it is a network connectivity error or proxy related error.

My main question is what does dns.js do?

  • The dns.js is there for node to get ip address of the domain(in brief).

Some more info:
http://www.codingdefined.com/2015/06/nodejs-error-errno-eaiagain.html

javascript – Whats the source of Error: getaddrinfo EAI_AGAIN?

If you get this error from within a docker container, e.g. when running npm install inside of an alpine container, the cause could be that the network changed since the container was started.

To solve this, just stop and restart the container

docker-compose down
docker-compose up

Source: https://github.com/moby/moby/issues/32106#issuecomment-578725551

Related posts on java script  :

Leave a Reply

Your email address will not be published.