Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with downloading - user and licence key not configurable #62

Open
jonathanpardon opened this issue Sep 2, 2024 · 2 comments
Open

Comments

@jonathanpardon
Copy link

The maxmind documentation show that you need to configure a user and license key to be able to download the files.
This is not configurable in Geomate, so the download fails. Maybe the download system was updated recently?

From https://dev.maxmind.com/geoip/updating-databases#directly-downloading-databases

curl -O -J -L -u YOUR_ACCOUNT_ID:YOUR_LICENSE_KEY 'https://download.maxmind.com/geoip/databases/GeoIP2-City-CSV/download?suffix=zip'
OR
wget --content-disposition --user=YOUR_ACCOUNT_ID --password=YOUR_LICENSE_KEY 'https://download.maxmind.com/geoip/databases/GeoIP2-City-CSV/download?suffix=zip'

@aelvan
Copy link
Contributor

aelvan commented Sep 2, 2024

Looks like the format described in the docs still works for me:

'countryDbDownloadUrl' => 'https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-Country&license_key=YOUR_LICENSE_KEY&suffix=tar.gz',
'cityDbDownloadUrl' => 'https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=YOUR_LICENSE_KEY&suffix=tar.gz',

@jonathanpardon
Copy link
Author

Yes ok, these url's work, but are not mentioned anymore in the Maxmind documentation.
Would feel more comfortable to have the new url's with basic auth curl in the future.

Thanks for the support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants