Well per Matt’s instructions I have updated to the most recent Beta build of Piwik. 1.12 p19. This did solve one problem normal tracking is back to working BUT the Hide URL is still sending the internal IP of the server sending the hide url request to the Piwik server. So starting the new thread per his request.
Server specs:
Web server with Piwik Hide URL on it:
Arch Linux on ec2
php --version
PHP 5.4.15 (cli) (built: May 12 2013 13:11:23)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
nginx version: nginx/1.4.1
PHP 5.4.15 (fpm-fcgi) (built: May 12 2013 13:12:40)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
Web server with Piwik installed on it:
Arch Linux on ec2
nginx version: nginx/1.4.1
mysql Ver 15.1 Distrib 5.5.31-MariaDB, for Linux (x86_64) using readline 5.1
PHP 5.4.15 (fpm-fcgi) (built: May 12 2013 13:12:40)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
PHP 5.4.15 (cli) (built: May 12 2013 13:11:23)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
Log from Piwik server for the request from the web server.
Internal.IP.Here - - [24/May/2013:10:52:42 -0700] "GET /piwik.js HTTP/1.0" 200 22142 "-" "-"
Internal.IP.Here - - [24/May/2013:10:52:44 -0700] "GET /piwik.php?cip=CLI.ENT.I.P.HERE&token_auth=MyTokenAuthCode&action_name=Page+Title+Here%21&idsite=2&rec=1&r=029089&h=10&m=52&s=11&url=http%3A%2F%2Fwww.MySiteBeingTracked.com%2F&_id=c19cd83bbc6163cc&_idts=1369113127&_idvc=15&_idn=0&_refts=0&_viewts=1369415672&pdf=0&qt=0&realp=0&wma=0&dir=0&fla=1&java=1&gears=0&ag=0&cookie=1&res=1680x945>_ms=241& HTTP/1.0" 200 43 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:21.0) Gecko/20100101 Firefox/21.0"
Log from Web Server serving the site being tracked:
Client.IP.Here - - [24/May/2013:17:52:44 +0000] "GET /piwik.php?action_name=Site%20Title%20Here!&idsite=2&rec=1&r=029089&h=10&m=52&s=11&url=http%3A%2F%2Fwww.MySiteBeingTracked.com%2F&_id=c19cd83bbc6163cc&_idts=1369113127&_idvc=15&_idn=0&_refts=0&_viewts=1369415672&pdf=0&qt=0&realp=0&wma=0&dir=0&fla=1&java=1&gears=0&ag=0&cookie=1&res=1680x945>_ms=241 HTTP/1.1" 200 54 "http://www.MySiteBeingTracked.com/" "Mozilla/5.0 (X11; Linux x86_64; rv:21.0) Gecko/20100101 Firefox/21.0"
How to duplicate:
- Install Piwik tracking code on webserver site to be tracked. Per the instruction in the wiki/FAQ
- Hit the page
- See the internal IP of the web server serving the web site to be tracked.
1a. Add in normal tracking code to the web site.
2a. Hit the page
3a. See the internal IP show up of the web server AND see the actual client IP show up.
4. Remove Hide URL tracking
5. Hit Page
6. See only the client IP as one would expect for tracking.
The web server serving the site is NOT behind a proxy, web accelerator or anything of that nature.
The only other issue I see is that the JS tracking does not register the hit either, even though the Piwik server sees the hits per the access logs.
Client.IP.Here - - [24/May/2013:11:02:55 -0700] "GET /piwik.php?idsite=1&rec=1 HTTP/1.1" 200 54 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:21.0) Gecko/20100101 Firefox/21.0"
Client.IP.Here - - [24/May/2013:11:02:56 -0700] "GET /piwik.php?idsite=1&rec=1 HTTP/1.1" 200 54 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:21.0) Gecko/20100101 Firefox/21.0"
So does anyone have any ideas on this? Before posting and updating to these Beta builds, I had setup Piwik and the webserver twice, to make sure I did not miss something. I have almost an identical setup on another network where these issues are not present. Would posting my tracking code that I have put in my web page help any? I can post any other info that is required to help sort this out.
Thanks for the time and help!!!
EDIT: Forgot to state the web server serving the website being tracked was initially on Apache, but setup NGINX this go around as I prefer this webserver personally and the exact same issue showed up.