Skip to content
New issue

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

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

Already on GitHub? # to your account

[BREAKING] Significant Changes to Accessing and Using GeoLite2 Databases #1432

Open
sergey-alekseev opened this issue Dec 31, 2019 · 7 comments

Comments

@sergey-alekseev
Copy link

Copy-pasting key points from https://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-using-geolite2-databases/:

Starting December 30, 2019, we will be requiring users of our GeoLite2 databases to register for a MaxMind account and obtain a license key in order to download GeoLite2 databases.

Starting December 30, 2019, downloads will no longer be served from our public GeoLite2 page, from geolite.maxmind.com/download/geoip/database/*, or from any other public URL.

See Steps for Migration:

  1. # for a MaxMind account (no purchase required)
  2. Set your password and create a license key
  3. Setup your download mechanism by using our GeoIP Update program or creating a direct download script

So Geocoder:: MaxmindDatabase.base_url is no longer valid.


P.S.: Sorry, I'm not going to submit a PR as I'm not a user of rake geocoder:maxmind:geolite:*. Otherwise I'd probably contribute.

@alexreisner
Copy link
Owner

Thanks for reporting this!

@garethrees
Copy link

Hey 👋 We don't use geocoder (yet!) but I've just fixed this in mysociety/alaveteli#5524 for our homebrew downloader. Quite an easy fix, but thought it worth noting to give someone a leg up in fixing it here.

@sergey-alekseev
Copy link
Author

Code looks so similar to what I did in my project 😄

@alexreisner
Copy link
Owner

Thanks @garethrees! Also, I hadn't heard of Alaveteli but looks like a very cool project.

@garethrees
Copy link

Thanks, and no problem. I did just have a go at installing geocoder locally to have a stab at contributing a fix, but bundle just seems to take forever at the "Resolving dependencies" step. Currently using ruby 2.6.5p114 via brew on macOS Mojave. Seems to be similar issue to rubygems/bundler#2125 🤷‍♀

@alexreisner
Copy link
Owner

@garethrees that's odd since Geocoder has no dependencies. Is it possible it's something else in your Gemfile?

@alexreisner
Copy link
Owner

@garethrees Sorry, I see what you mean--development dependencies. Thanks for posting in a separate issue.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants