HI, running Static HTML Output Version 6.6.21 on WordPress version version 5.5.3.
I used bitnami on Amazon Lightsail to configure a Wordpress server.
I got an error when trying to export a static site to S3.
The log is as follows.
2020-11-10 05:07:04 Deployment: error encountered
2020-11-10 05:07:04 /opt/bitnami/apps/wordpress/htdocs/wp-content/uploads/static-html-output/wp-content/themes/generic/A.style.css,qver=5.5.3.pagespeed.cf.9BzikomhR3.css
StaticHTMLOutput\StaticHTMLOutputException: BAD RESPONSE STATUS FROM API (403) in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/static-html-output-plugin/src/SitePublisher.php:297
The cause was that the PageSpeed changed the CSS and the response was 403.
I can now export to S3 by changing the htaccess setting to “mod_pagespeed ON-> OFF”.
I hope it helps people who have the same problem.
And @leonstafford Thank you so much for creating such a great plugin.
I hope that you will continue to improve it.