Skip to content

The getaddrinfo EAI_AGAIN error again #15780

@AgentCoop

Description

@AgentCoop
  • v6.11.4, within the node:6.11.4-onbuild image:
  • Linux 0123f9db6b51 4.12.8-2-ARCH deps: update openssl to 1.0.1j #1 SMP PREEMPT Fri Aug 18 14:08:02 UTC 2017 x86_64 GNU/Linux:
  • dns.lookup():

There are lots of similar issues but not one stated clearly how this problem can be fixed.

In run bower install --allow-root when building a Docker image and every time I get errors like this one: bower morris.js#^0.5.1 EAI_AGAIN Request to https://registry.bower.io/packages/morrisjs failed: getaddrinfo EAI_AGAIN registry.bower.io:443

The bower package raising error can be any. Some people say that the problem relates the number of libuv threads but tweaking UA_THREADPOOL_SIZE environment variable did not help.

With few packages to install there are no issues, in my case I have about 20 packages to install and the error appears somewhere in the middle of the process.

As for now I have to use this "solution":

RUN bower install --allow-root; exit 0 # Workaround for the bower install getaddrinfo EAI_AGAIN error
RUN bower install --allow-root

Metadata

Metadata

Assignees

No one assigned

    Labels

    dnsIssues and PRs related to the dns subsystem.questionIssues that look for answers.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions