logstash-plugins / logstash-filter-geoip

Apache License 2.0
64 stars 82 forks source link

Anonymous IP and Connection Type support #168

Open rjmanzoni opened 4 years ago

Sitwon commented 4 years ago

The error that is failing both our PRs has nothing to do with our changes... Seems like maybe MaxMind changed the URL for the data, but for whatever reason it fails to download and that fails the build. I haven't debugged it any further.

Failure while downloading http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz: Failed to open TCP connection to geolite.maxmind.com:80 (initialize: name or service not known)
rake aborted!
SocketError: Failed to open TCP connection to geolite.maxmind.com:80 (initialize: name or service not known)
org/jruby/ext/socket/RubyTCPSocket.java:151:in `initialize'
org/jruby/ext/timeout/Timeout.java:99:in `timeout'
org/jruby/ext/timeout/Timeout.java:75:in `timeout'
/usr/share/logstash/vendor/jruby/bin/bundle:23:in `<main>'
Caused by:
SocketError: initialize: name or service not known
org/jruby/ext/socket/RubyTCPSocket.java:151:in `initialize'
org/jruby/ext/timeout/Timeout.java:99:in `timeout'
org/jruby/ext/timeout/Timeout.java:75:in `timeout'
/usr/share/logstash/vendor/jruby/bin/bundle:23:in `<main>'
Tasks: TOP => vendor/GeoLite2-City.mmdb.gz
(See full trace by running task with --trace)
ERROR: Service 'logstash' failed to build: The command '/bin/sh -c bundle exec rake vendor' returned a non-zero code: 1
The command ".ci/docker-setup.sh" failed and exited with 1 during .

Your build has been stopped.
rjmanzoni commented 4 years ago

http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz

This address is not working anymore. Maxmind has removed database download without an account. So, maybe the contributors should create an account in Maxmind for this plugin in order to download the databases.