WebPagetest Forums
Can't retreive S3 archived tests - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Private Instances (/forumdisplay.php?fid=12)
+--- Thread: Can't retreive S3 archived tests (/showthread.php?tid=14758)



Can't retreive S3 archived tests - JeroenVdb - 02-17-2017 10:42 PM

I added the s3 archive options to our settings.ini file and did a GET to /cli/archive.php.

A few moments later I saw the tests coming in, in the S3 bucket and the "old" tests being removed from the server. But, now, when I try to see those old results I just get a "Testing... Test not found" screen.

The EC2 user had AmazonS3FullAccess.

Should I see some archive.dat file somewhere?


RE: Can't retreive S3 archived tests - pmeenan - 02-17-2017 11:06 PM

When s3archive is configured it should automatically check the s3 bucket for the test and restore from there if it isn't available locally (it checks on any miss, no dat files needed). if you have archive_s3_url set it could be a problem because it will prefer that over using the API and it will probably fail: https://github.com/WPO-Foundation/webpagetest/blob/master/www/archive.inc#L175

The only settings should be archive_s3_server, archive_s3_key, archive_s3_secret and archive_s3_bucket


RE: Can't retreive S3 archived tests - JeroenVdb - 02-18-2017 06:57 PM

Arg, I don't know what I did exactly wrong to fix it, but it works now Smile