Questions tagged [geoip2]
64 questions
-1
votes
1 answer
Maxmind GeoIP2 DB get Location region
I just upgraded to GeoIP2 and missing the Region field.
How can I extract the region from the CityResponse object?
I am using GeoLite2-City.mmdb

yoavba
- 401
- 2
- 6
- 13
-1
votes
2 answers
Why does Django raised IntegrityError :null value in column "user_id" violates not-null constraint when a form is committed?
I have a UserSession model that creates a session that uses the IPaddress, and city data to populate the model using Geip2. I set up a form that takes the info that I want the user to enter but get:
**django.db.utils.IntegrityError: null value in…

Alvaro Sanchez
- 53
- 5
-1
votes
1 answer
Updating Maxmind DatabaseReader between mmdb file manipulations
I have read many pages of documentation, and cannot find a clear answer regarding that.
Is it allowed to modify the mmdb file (for example, by geoipupdate) while a DatabaseReader is open? Or does any such manipulation render the existing Reader…

borisdan
- 3
- 2
-4
votes
1 answer
GEOIP2 The value "*IP*" is not a valid IP address
When ever we try to let google crawl our website we get several errors in sentry:
The value "213.55.176.155, 66.249.93.93" is not a valid IP address
or
The value "213.55.176.162, 66.102.9.18" is not a valid IP address.
The code error is coming…

vanful
- 102
- 1
- 11