Quantcast
Channel: Piwik Forums - Support & Bugs
Viewing all articles
Browse latest Browse all 4243

API: getPageUrl returns weird characters in the json response (no replies)

$
0
0
Hi!

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:

G?�Q?hA�Т?r�?�?F���Iu�aPl?��?�?-֚ 04lΚ?�?G?��#��P��(vԄ�?�?l?�?ml��ʇD�n.��r�����N


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?

Cheers,
Pv

Viewing all articles
Browse latest Browse all 4243

Trending Articles