You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A couple of days ago, I encountered an exception on every get(InetAddress) method call on a GeoIP2 City database file, dated from June 11, 2017:
For now, I don't see any (public) method that could allow some sanity check on a database file.
The MD5 hash computed on the downloaded file was matching the one available on your web site.
Appart from testing a new database file with some values, how could we ensure that we can safely switch to a valid database?
For production systems, this is very important.
Thanks,
Dimitri
The text was updated successfully, but these errors were encountered:
If you want to verify a database, I would suggest using mmdbverify. If you just want a basic sanity check and you have already checked the MD5 of the download, I would suggest just opening the database and reading an IP address from it.
For Java users, the most frequent source of "invalid" database is not disabling binary filtering when deploying with Maven.
Hello,
A couple of days ago, I encountered an exception on every
get(InetAddress)
method call on a GeoIP2 City database file, dated from June 11, 2017:For now, I don't see any (public) method that could allow some sanity check on a database file.
The MD5 hash computed on the downloaded file was matching the one available on your web site.
Appart from testing a new database file with some values, how could we ensure that we can safely switch to a valid database?
For production systems, this is very important.
Thanks,
Dimitri
The text was updated successfully, but these errors were encountered: