Skip to content
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

EHOSTUNREACH and EAI_AGAIN errors #1307

Open
rpong opened this issue Feb 28, 2022 · 0 comments
Open

EHOSTUNREACH and EAI_AGAIN errors #1307

rpong opened this issue Feb 28, 2022 · 0 comments

Comments

@rpong
Copy link

rpong commented Feb 28, 2022

We have been getting the following errors recently:

1.) request to https://cdn.ampproject.org/rtv/metadata failed, reason: getaddrinfo EAI_AGAIN cdn.ampproject.org

2.) request to https://cdn.ampproject.org/version.txt failed, reason: connect EHOSTUNREACH

Both of the errors seems to be originating from:

/node_modules/@ampproject/toolbox-core/node_modules/node-fetch/lib/index.js:1461:11

The issue is intermittent and when it occurs, our nodeJS app is unable to recover without restarting. Is it possible to implement a retry to work around the EAI_AGAIN and EHOSTUNREACH errors? or at least invalidate any output that may have been cached by node-fetch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant