I have a strange issue with the API (Piwik 2.1). I’m using the Actions.getPageUrl method. It working correctly when date range is not too big (30 days), but as soon as I use a larger range, the response take a while and when the response finally arrives, I get those ‘things’ at the end of the respond:
making the response unusable. On the server side, I have this error:
Connection reset by peer: FastCGI: comm with server "/var/www/domain.com/analytics/cgi-bin/php5.external" aborted: read failed Handler for fastcgi-script returned invalid result code 1
I doubled check the server config, the timeout is set to 600sec, the memory limit is set the 512M, and I know that it’s not a timeout or a memory limit because I get a clear message when it is the case.
Any idea what’s wrong with this?