-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Description
I recently came across this issue when using request-promise-native. When sending a GET or POST request to certain URLs, I received a "getaddrinfo ENOTFOUND" error. This seems to happen randomly (i.e. some URL requests would throw this error during one run but work completely fine on the next). After some Googling, I found this issue:
Although I didn't find this documented in the request-promise page, I added {"family": 4} to the options, and I stopped getting the error. It might be useful to either set "family" to 4 by default or just make a note of this in the documentation.
kilianc, aboutaaron, IdeaEcho, Mahmudur18, iluzyanin and 12 more
Metadata
Metadata
Assignees
Labels
No labels