NREL / api-umbrella

Open source API management platform
MIT License
2.03k stars 325 forks source link

Could not resolve host: geolite.maxmind.com #582

Open AndreC10002 opened 3 years ago

AndreC10002 commented 3 years ago

Trying to install from source. Executed './configure' and 'make'. When trying to download 'GeoLite2-City.tar.gz', curl can't resolve the host name 'geolite.maxmind.com'.

I believe Maxmind requires registering to download GeoLite (https://dev.maxmind.com/geoip/geolite2-free-geolocation-data?lang=en)

AndreC10002 commented 3 years ago

A workaround is to modify 'tasks/deps/geolitecity' as follows:

curl --location --retry 3 --fail --remote-name https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz

curl --location --retry 3 --fail https://raw.githubusercontent.com/DocSpring/geolite2-city-mirror/master/GeoLite2-City.tar.gz > GeoLite2-City.tar.gz

Unfortunately, this file available on Github is 2 years old, as of November 2021.