potatosalad / erlang-geolite2data

Downloads and updates the GeoLite2 databases from MaxMind for Erlang and Elixir.
MIT License
2 stars 0 forks source link

Does not work with CSV data #1

Closed cjbottaro closed 5 years ago

cjbottaro commented 5 years ago
config :geolite2data,
  databases: [
    {:city, "https://geolite.maxmind.com/download/geoip/database/GeoLite2-City-CSV.zip.md5", "https://geolite.maxmind.com/download/geoip/database/GeoLite2-City-CSV.zip"},
    {:country, "https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country-CSV.zip.md5", "https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country-CSV.zip"}
  ]

:geolite2data.get_database(:city)
** (exit) exited in: :gen_server.call({:via, :geolite2data_server, :city}, :get_database, 5000)
    ** (EXIT) time out
    (stdlib) gen_server.erl:223: :gen_server.call/3

Thanks.

potatosalad commented 5 years ago

@cjbottaro This should be fixed in version 1.0.0 of geolite2data.

Let me know if you run into any other problems.