Jenkins, kubernetes, getaddrinfo EAI_AGAIN

12/1/2019

Getting this weird error when building vuejs app -

[91merror An unexpected error occurred: "https://registry.yarnpkg.com/url/-/url-0.11.0.tgz: getaddrinfo EAI_AGAIN registry.yarnpkg.com".
[0minfo If you think this is a bug, please open a bug report with the information provided in "/web/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...

Tried to change ndots in the resolv conf - didn't work

I'm using node:latest image

When connection to this contained I'm able to resolve. Resolving on kube host works fine as well.

Any suggestions?

Thanks

-- kotyara85
docker
kubernetes
vue.js

0 Answers