Closed cjprinse closed 3 years ago
Hi. Thanks for the report. Let me have a look and I will get back to you.
@cjprinse are you sure the file is readable by Varnish and is a valid Geoip2 database?
The only case where country
will not be initialised is if we cannot open the database.
In the meantime, I'd see if we can bubble up the error when we cannot open the database.
@fgsch Sorry for bothering you. It was a docker mount issue. Mounting the mmdb file as volume mount, turned out to be a directory in the container. I'm not mounting the directory above.
I got it working now :) Issue can be closed
No worries, glad you got it working.
I installed the vmod from git, following all instructions. But I get the message: "Object country not initialized". What am I doing wrong?