Error “405 Method not allowed” during conversion
-
Hi there!
The site in question is running on a Plesk server (therefore using nginx proxy and apache).
After installing Converter for Media it took me a while to figure out the proper nginx configuration, but in the end I got rid of the server configuration error.But when I try to start the mass conversion to webp, not a single file is converted.
I get an error 405 for every file.405 - (https://capricorn-marketing.at/wp-json/webp-converter/v1/regenerate) ["/var/www/vhosts/capricorn-marketing.at/httpdocs/wp-content/uploads/bb-plugin/cache/leila_mahdavian_sommerakademie-circle.jpg", "/var/www/vhosts/capricorn-marketing.at/httpdocs/wp-content/uploads/bb-plugin/cache/ingrid_sojak_ohne_hg-square.jpg", "/var/www/vhosts/capricorn-marketing.at/httpdocs/wp-content/uploads/bb-plugin/cache/ingrid_sojak_ohne_hg-portrait.jpg", "/var/www/vhosts/capricorn-marketing.at/httpdocs/wp-content/uploads/bb-plugin/cache/ingrid_sojak_ohne_hg-circle.jpg", "/var/www/vhosts/capricorn-marketing.at/httpdocs/wp-content/uploads/bb-plugin/cache/ingrid_sojak_aufgestuetzt-circle-a781be6cf79e18f1a984ce496061a815-8cq72f9xgmw1.jpg", "/var/www/vhosts/capricorn-marketing.at/httpdocs/wp-content/uploads/bb-plugin/cache/ingrid_sojak_HG_transparent_fullbody-circle.png", "/var/www/vhosts/capricorn-marketing.at/httpdocs/wp-content/uploads/bb-plugin/cache/daniela_sokyan_tober_sommerakademie-circle.jpg", "/var/www/vhosts/capricorn-marketing.at/httpdocs/wp-content/uploads/2024/10/weihnachtsstern.png", "/var/www/vhosts/capricorn-marketing.at/httpdocs/wp-content/uploads/2024/10/meta-Werbebibliothek.jpg", "/var/www/vhosts/capricorn-marketing.at/httpdocs/wp-content/uploads/2024/10/meta-Werbebibliothek-768x254.jpg"]
Browser dev tools show the following request:
The “Response” is:
{"code":"webpc_rest_api_error","message":"","data":{"status":405}}
I cannot find anything relevant in the access and error logs on the server.
Tried disabling W3 Total Cache, switching vom PHP 8.0 to 8.2, disabling the web application firewall, nothing helped.Any idea where to look?
I attach the server configuration as shown by the plugin: screencapture-capricorn-marketing-at-wp-admin-options-general-php-2024-11-25-22_45_39.png
Thanks,
Christian
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.