We used to be on version 10 and we recently upgraded to version 21. Back then we didn’t have geolocation set up but after upgrading, I decided to enable geolocation on our instance of Sentry. I followed the steps in the documentation to enable geolocation and the database looks like it downloaded properly after I restarted all services:
However the heatmap was still showing no signs of geolocation data being captured:
Also, before I forget - after every change I made, I ran docker-compose restart to restart all services. I think based on the documentation, every time I do that, the database gets updated? I’m really confused as to what I’m doing wrong here.
Thanks @BYK - it’s not a rush but I’d love it if we could get this to work. Most of our errors come from within the company’s network but we do have global users as well, just not as much.
@gregorip I’m able to reproduce your result. I have a valid GeoLite2-City.mmdb database, and both web and relay seem to be picking up what I’m putting down, yet I’m not seeing any evidence of IP address geolocation in the app. Gonna have to dig deeper …
False alarm. I was hitting localhost with a private IP, which isn’t picked up. It still works for me with a public IP (via ngrok). Actually, though … could this be an issue for you, @gregorip? What IP addresses are you trying to geolocate? Are they public or private?
@chadwhitacre Majority of our traffic is on a private IP address, usually starts with 10.* - however we do have public-facing apps and some of our traffic comes from across the world, Europe, North and South America, China, etc.
I just found out that the geolocation works for a react project.
It doesn’t work for my c# project however.
I’m using those nugets:
Sentry.AspNetCore Version=3.1.0
Sentry.Serilog Version=3.1.0