Hi,
I have an issue of geoip DB not automatically updating.
i use ubuntu 22 and i had set up a proxy.
Proxy details are set up in /etc/environment.
in elasticsearch.yml i had added poll.interval="1d", so that an update check is done each day.
the error that i get is as following:
024-10-14T05:41:32,431][INFO ][o.e.p.PluginsService ] [node-1] loaded module [ingest-geoip]
[2024-10-14T05:41:43,999][INFO ][o.e.i.g.ConfigDatabases ] [node-1] initialized default databases [[GeoLite2-Country.mmdb, GeoLite2-City.mmdb, GeoLite2-ASN.mmdb]], config databases [[]] and watching [/etc/elasticsearch/ingest-geoip] for changes
[2024-10-14T05:41:44,002][INFO ][o.e.i.g.DatabaseNodeService] [node-1] initialized database registry, using geoip-databases directory [/tmp/elasticsearch-12044066651378251017/geoip-databases/4l73s6TISo-rpr_RNhFFjQ]
[2024-10-14T05:41:55,262][INFO ][o.e.i.g.GeoIpDownloader ] [node-1] updating geoip databases
[2024-10-14T05:41:55,262][INFO ][o.e.i.g.GeoIpDownloader ] [node-1] fetching geoip databases overview from [
https://geoip.elastic.co/v1/database?elastic_geoip_service_tos=agree]
[2024-10-14T05:42:05,341][ERROR][o.e.i.g.GeoIpDownloader ] [node-1] exception during geoip databases update
at org.elasticsearch.ingest.geoip.HttpClient.lambda$get$0(HttpClient.java:55) ~[ingest-geoip-7.17.6.jar:7.17.6]
at org.elasticsearch.ingest.geoip.HttpClient.doPrivileged(HttpClient.java:97) ~[ingest-geoip-7.17.6.jar:7.17.6]
at org.elasticsearch.ingest.geoip.HttpClient.get(HttpClient.java:49) ~[ingest-geoip-7.17.6.jar:7.17.6]
at org.elasticsearch.ingest.geoip.HttpClient.getBytes(HttpClient.java:40) ~[ingest-geoip-7.17.6.jar:7.17.6]
at org.elasticsearch.ingest.geoip.GeoIpDownloader.fetchDatabasesOverview(GeoIpDownloader.java:159) ~[ingest-geoip-7.17.6.jar:7.17.6]
at org.elasticsearch.ingest.geoip.GeoIpDownloader.updateDatabases(GeoIpDownloader.java:147) ~[ingest-geoip-7.17.6.jar:7.17.6]
at org.elasticsearch.ingest.geoip.GeoIpDownloader.runDownloader(GeoIpDownloader.java:284) [ingest-geoip-7.17.6.jar:7.17.6]
at org.elasticsearch.ingest.geoip.GeoIpDownloaderTaskExecutor.nodeOperation(GeoIpDownloaderTaskExecutor.java:100) [ingest-geoip-7.17.6.jar:7.17.6]
at org.elasticsearch.ingest.geoip.GeoIpDownloaderTaskExecutor.nodeOperation(GeoIpDownloaderTaskExecutor.java:46) [ingest-geoip-7.17.6.jar:7.17.6]
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.