Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Piwik 3.0.2: Geolocation from server misses some city and ISP data #11582

Closed
iprok opened this issue Apr 4, 2017 · 4 comments
Closed

Piwik 3.0.2: Geolocation from server misses some city and ISP data #11582

iprok opened this issue Apr 4, 2017 · 4 comments
Labels
wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.

Comments

@iprok
Copy link

iprok commented Apr 4, 2017

I have nginx with geoip module. I've set it up using https://piwik.org/faq/how-to/#faq_166 . I see that it's working in Admin Page -> Geolocation. I use commercial MaxMind databases with ISP. It shows me correct information about my Country, City, ISP, Organization in Admin Page -> Geolocation . I've surely turned on GeoIP (server module) and saved my settings.

The problem is that in live users widgets it sometimes miss City information (all IPv6 and some IPv4) (I get IP of missed users and check in the maxmind DB that I have - it surely exist there: both IPv6 and IPv4) and I have no ISP information at all!

@iprok
Copy link
Author

iprok commented Apr 4, 2017

I have turned off "hide visitor IP" setting.

@mattab
Copy link
Member

mattab commented May 8, 2017

For the ISP information please see: https://piwik.org/faq/how-to/faq_180/

Could you paste here example of IPs and how they got geo located wrong and what exist in the maxmind db?

@iprok
Copy link
Author

iprok commented May 24, 2017

faq_180 has link to https://piwik.org/faq/how-to/#faq_166

For now I have only problem with ISP information. I have correctly set this $_SERVER variables:

GEOIP_ADDR
GEOIP_COUNTRY_CODE
GEOIP_COUNTRY_NAME
GEOIP_CITY
GEOIP_ORGANIZATION
GEOIP_ISP

For example: I got from Admin Page -> Geolocation:
Org: Hurricane Electric
ISP: Hurricane Electric

But in all statistics I just got russian (I have russian locale) word "Провайдер" (meaning "ISP") instead of correct ISP name.

@sgiehl
Copy link
Member

sgiehl commented Sep 10, 2018

closing this. We now have a working GeoIP2 implementation and GeoIP (Legacy) is deprecated

@sgiehl sgiehl closed this as completed Sep 10, 2018
@sgiehl sgiehl added the wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it. label Sep 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

3 participants