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

Tracking local ip #6020

Closed
joubertredrat opened this issue Aug 18, 2014 · 4 comments
Closed

Tracking local ip #6020

joubertredrat opened this issue Aug 18, 2014 · 4 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.

Comments

@joubertredrat
Copy link
Contributor

My piwik works normally, but in at times it tracks local ip (192.168.X.X, 10.X.X.X, 172.X.X.X, etc) and not navegable ip.

Thread on forum: http://forum.piwik.org/read.php?15,118030

@sgiehl
Copy link
Member

sgiehl commented Aug 19, 2014

Piwik tracks the IP that is given as header in the request. So somehow there are requests sending a local IP in the header. That might be the case if the piwik server is behind a load balancer, a proxy is used or something similar.
Do you have anything set in config for "proxy_client_headers" (General)?

@joubertredrat
Copy link
Contributor Author

Hi,
My piwik is on standard vps with standard installation, my control panel have reserve proxy (I use VestaCP, another good open source project), but my VPS have only localip (127.0.0.1) and internet ip (181.xx.xx.147), don't have local network (10.x.x.x, 172.x.x.x, etc).

Yet it's possible to reverse proxy be causing the problem? Because the problem only appears sometimes.

@mattab
Copy link
Member

mattab commented Aug 20, 2014

Closing issue as "Works for me" as per @sgiehl feedback piwik will always use the specified IPs. If there are requests that don't send proper IPs maybe there's a server misconfiguration?

See also http://piwik.org/faq/how-to-install/faq_98/

@mattab mattab closed this as completed Aug 21, 2014
@joubertredrat
Copy link
Contributor Author

Hi guys,

I will get another VPS and transfer my piwik instance to see if problem persists, but I think strange this problem is only in some moments and not in all track.

Thanks again

@mattab mattab added the Bug For errors / faults / flaws / inconsistencies etc. label Sep 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

3 participants