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

Archive.php: Got invalid response from API request (The response was empty) (no replies)

$
0
0
I experience issues with the archive.php cron script. What am I doing wrong? Thank you.

1. The following is returned when I run the archive.php script.

INFO [2014-03-19 13:04:56] [4931a] ---------------------------
INFO [2014-03-19 13:04:56] [4931a] INIT
INFO [2014-03-19 13:04:56] [4931a] Querying Piwik API at: https://[domain]/analytics/index.php
INFO [2014-03-19 13:04:56] [4931a] Running Piwik 2.1.0 as Super User: [user]
INFO [2014-03-19 13:04:57] [4931a] ERROR: Got invalid response from API request: https://[domain]/analytics/index.php?module=API&method=API.getDefaultMetricTranslations&format=original&serialize=1&trigger=archivephp. Response was 'Got invalid response from API request: https://[domain]/analytics/index.php?module=API&method=API.getDefaultMetricTranslations&format=original&serialize=1&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check your Web server Error Log file for more details.'
INFO [2014-03-19 13:04:57] [4931a] ERROR: The Piwik URL https://[domain]/analytics/index.php does not seem to be pointing to a Piwik server. Response was ''.
Error in the last Piwik archive.php run: 
The Piwik URL https://[domain]/analytics/index.php does not seem to be pointing to a Piwik server. Response was ''.


 Here is the full errors output:

---------------------------
INIT
Querying Piwik API at: https://[domain]/analytics/index.php
Running Piwik 2.1.0 as Super User: [user]
ERROR: Got invalid response from API request: https://[domain]/analytics/index.php?module=API&method=API.getDefaultMetricTranslations&format=original&serialize=1&trigger=archivephp. Response was 'Got invalid response from API request: https://[domain]/analytics/index.php?module=API&method=API.getDefaultMetricTranslations&format=original&serialize=1&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check your Web server Error Log file for more details.'
ERROR: The Piwik URL https://[domain]/analytics/index.php does not seem to be pointing to a Piwik server. Response was ''.

2. Copying and pasting the https://[domain]/analytics/index.php url into a browser shows a Piwik's login page.

3. Copying and pasting the other url into a browser shows some serialized data.

4. The super user's user name is correct..

5. I have raised memory limit to 2048M but no help.

6. No error is reported in the web server log.

7. The users have full access rights for the piwik folder tree.

8. Allow Piwik archiving to trigger when reports are viewed from the browser = No.
Reports for today (or any other Date Range including today) will be processed at most every = 120 seconds.

9. allow_url_fopen = On
open_base_dir is the piwik's root dir for running over apache (fcgi), and empty for running from a command prompt
curl is enabled

Viewing all articles
Browse latest Browse all 4243

Trending Articles