WebPagetest Forums

Full Version: S3 archiving with private server
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

We followed the S3 archiving steps by filling the required settings (please see below)
archive_s3_server=s3.amazonaws.com
archive_s3_key=my-key
archive_s3_secret=my-secret
archive_s3_bucket=my-archive-bucket
archive_days=0

For some reason, we don't see the test results in the S3 bucket even though the AWS key have the proper permissions and confirmed that by running aws s3 cp command and setting the keys on the WPT server.

Some other info:
The EC2 instances and S3 live in the us-east-1 region.
We didn't set lasyArchive in the settings.ini file
No logs were written to: /var/www/webpagetest/www/log
The agents completed the tests execution successfully.

Is there anything else we can try to solve this issue? Like turn on debug logging, etc..
The settings.ini file looks similar to mine. I'm not sure if this is the issue, but my setup uses an archiving cron job with the following curl command:

curl -sS http://localhost/cli/archive.php.

This then archives results to the S3 bucket per the settings.ini.
(07-13-2018 02:07 AM)natedelgado Wrote: [ -> ]The settings.ini file looks similar to mine. I'm not sure if this is the issue, but my setup uses an archiving cron job with the following curl command:

curl -sS http://localhost/cli/archive.php.

This then archives results to the S3 bucket per the settings.ini.

Thanks for you answer natedelgado. We want the test to be immediately archived after it completes. As far as I know archive cli is not needed since lasyArchive is not set.

I can give this a try if you can share the cron job setup steps.
Finally made it working by adding below to the settings.ini since we are protecting our instance inbound traffic:
local_server=http://127.0.0.1
Reference URL's