I’m getting the following reply when doing a daily archive
ERROR: Got invalid response from API request: https://example.com/index.php?module=API&method=VisitsSummary.getVisits&idSite=4&period=day&date=last52&format=php&token_auth=xxxx&trigger=archivephp. Response was 'curl_exec: Empty reply from server'
I only archive data on this server daily because it does a import via the log analytics tool, then I run a archive straight away. Is this because Piwik is taking to long to response, IE it’s still doing something? Or some other reason?
Is it possible to set the timeout on the archive script a bit higher to see if that helps? I can’t see any errors in my apache logs or anything, so I assume it’s just because it’s taking longer than the archive script wants.