api-umbrella icon indicating copy to clipboard operation
api-umbrella copied to clipboard

Could not resolve host: geolite.maxmind.com

Open AndreC10002 opened this issue 3 years ago • 1 comments

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 avatar Nov 16 '21 22:11 AndreC10002

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.

AndreC10002 avatar Nov 17 '21 17:11 AndreC10002