Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BAD RESPONSE STATUS (404) #201

Open
asi-yana opened this issue Jan 26, 2024 · 0 comments
Open

BAD RESPONSE STATUS (404) #201

asi-yana opened this issue Jan 26, 2024 · 0 comments

Comments

@asi-yana
Copy link

asi-yana commented Jan 26, 2024

When trying to deploy static HTML to S3, this error shows.

BAD RESPONSE STATUS (404): /%e7%84%a1%e9%a1%8c%e3%81%ae%e5%86%8d%e5%88%a9%e7%94%a8%e3%83%96%e3%83%ad%e3%83%83%e3%82%af-2/
BAD RESPONSE STATUS (404): /%e7%84%a1%e9%a1%8c%e3%81%ae%e5%86%8d%e5%88%a9%e7%94%a8%e3%83%96%e3%83%ad%e3%83%83%e3%82%af/
BAD RESPONSE STATUS (404): /ads.txt
BAD RESPONSE STATUS (404): /mh-magazine-lite/
BAD RESPONSE STATUS (404): /wp-global-styles-mh-magazine-lite/
BAD RESPONSE STATUS (400): /wp-json/oembed/1.0/embed
BAD RESPONSE STATUS FROM API (403)
Deployment: error encountered
/var/www/html/wp-content/uploads/static-html-output/20230530テストタイトル/index.html
StaticHTMLOutput\StaticHTMLOutputException: BAD RESPONSE STATUS FROM API (403) in /var/www/html/wp-content/plugins/static-html-output-plugin/src/SitePublisher.php:297
Stack trace:
#0 /var/www/html/wp-content/plugins/static-html-output-plugin/src/S3.php(258): StaticHTMLOutput\SitePublisher->checkForValidResponses(403, Array)
#1 /var/www/html/wp-content/plugins/static-html-output-plugin/src/S3.php(98): StaticHTMLOutput\S3->put_s3_object('20230530\xE3\x83\x86\xE3\x82\xB9\xE3...', '...', 'text/html')
#2 /var/www/html/wp-content/plugins/static-html-output-plugin/static-html-output-plugin.php(280): StaticHTMLOutput\S3->upload_files()
#3 /var/www/html/wp-includes/class-wp-hook.php(324): static_html_output_ajax('')
#4 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#5 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#6 /var/www/html/wp-admin/admin-ajax.php(188): do_action('wp_ajax_wp_stat...')
#7 {main}

Static HTML Output Version: 6.6.21
Wordpress Version: 6.4.2

tried testing s3 connection and connection was successful.

Has somebody encountered the same error?
Your help is very much appreciated.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant