nchaulet / node-geocoder

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

Running node-geocoder behind a coorporate proxy #263

Open noahwaldner opened 5 years ago

noahwaldner commented 5 years ago

I'm running this package in a coorporate environment where alle Requests have to be sent over a proxy.

I tried using request as an httpadapter and set the http_proxy and https_proxy evironment variables. The Proxy still doesnt get any calls from my Application and the App throws and ENOTFOUND error.

What is the Solution to this?

waqasnoor commented 4 years ago

@noahwaldner were you able to find a solution? I am facing the same problem

noahwaldner commented 4 years ago

Sadly i didnt. maybe i'll do a Fork of this wich includes proxy support

nchaulet commented 4 years ago

@waqasnoor if you use the request adapter and HTTP_PROXY or HTTPS_PROXY environment variable it should be working, I will give it a try later this week.