GeoIP Database | Invalid attempt to open a GeoLite2-Country database using the city method


(Nav) #1

Hi,

I have configured Geo location processor using mindmax GeoLite2-City database. I have also moved GeoIP Resolver to the last under message processors configuration. However, I am not seeing GeoIp data being populated for public ip address.
I am seeing the following errors in server.log

2018-10-03T10:20:04.491-04:00 WARN  [MaxmindDataAdapter] Unable to look up IP address, returning empty result.
java.lang.UnsupportedOperationException: Invalid attempt to open a GeoLite2-Country database using the city method

The permissions on the GeoLite2-City Database
-rw-r--r-- 1 root root 3459515 Oct 2 10:48 GeoLite2-City.mmdb

any pointers what might be causing problem for Geo location processor?


(Jan Doberstein) #2

Did you download that from here: https://dev.maxmind.com/geoip/geoip2/geolite2/

taking GeoLite2 City?


(Nav) #3

Hi Jan, thanks for pointing out. I downloaded the country database hence it wasn’t working. I have downloaded the correct db and can see the fields populated.


(system) #4

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.