nchaulet / node-geocoder

nodejs geocoding library
http://nchaulet.github.io/node-geocoder/
MIT License
931 stars 214 forks source link

The error 'HttpError: read ECONNRESET' when 'provider' is 'google'. #293

Open hulinNeil opened 4 years ago

hulinNeil commented 4 years ago

If I use the 'Request' to request the url (https://maps.googleapis.com/maps/api/geocode/json?xxx) will be a success, but using 'geocoder' will be a fail. image

nchaulet commented 4 years ago

Can you give more information on how you get this bug? some code snippet?

alacret commented 2 years ago

I'm also getting this error.

It seems that I'm making lots of requests at the same time, but, google doesn't complains with a TOO MANY REQUESTS error, instead we get the ECONNRESET from node