• ajayrds

    (@ajayrds)


    Hi,

    I am unable to set ‘Deliver Offloaded Media‘ to deliver from a S3 bucket. No recent changes to the site except updating all plugins to the latest versions. This is the message i am shown in the Delivery Settings tab of the plugin –

    Delivery provider is successfully connected, but offloaded media will not be served until Deliver Offloaded Media is enabled. In the meantime, local media is being served if available.

    I am able to set ‘Deliver Offloaded Media‘ option to enabled and then Save the setting, but if i refresh the page, it again reverts to disabled state.

    i have enabled debug.log using https://deliciousbrains.com/why-use-wp-debug-log-wordpress-development/ but not seeing any errors either.

    Quick question – how can i check if my AWS credentials are working correctly for the plugin?

    Please help understanding how to fix this!

    Attached screenshots of the Settings tabs for wp-offload-media plugin –

    https://ibb.co/6rWkGYW
    https://ibb.co/tJ2znhK

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Delicious Brains Support

    (@dbisupport)

    Hi,

    To try and check if AWS credentials are working correctly, you could try browsing your buckets on the plugin – https://share.getcloudapp.com/9ZugoWD1

    Regarding the main issue, are you able to change and save the other settings? is the issue limited only to ‘Deliver Offloaded Media’ setting only?
    Could you kindly try disabling any type of caching that your site may have and see if it fixes the issue?

    Thank you.

    Thread Starter ajayrds

    (@ajayrds)

    Hi,

    I tried to check if i can retrieve the list of S3 buckets, but in the Storage Provider page, the Save & Continue button does not work.

    I checked the network tab in the browser and i see a few JS errors.

    Here are the screenshots

    https://ibb.co/VvxN6Vq
    https://ibb.co/3YWrr8H

    I have set up the AWS settings in wp-config, and the same credentials are working ok for a different website (using Offload Media lite plugin too, different S3 bucket).

    Plugin Support Delicious Brains Support

    (@dbisupport)

    Hi there,

    Thanks for the update!

    The 405 HTTP error code indicates that your web server doesn’t allow the PUT HTTP method which is quite unusual these days. After the initial creation, all our settings are updated using the HTTP PUT method so this is most likely what’s causing the Deliver Offloaded Media not saving and the Save and Continue button not working.

    Relying on the different HTTP methods isn’t limited to just WP Offload Media, we know that parts of Gutenberg (Block editor) will use the HTTP PUT method to update certain aspects of posts and pages. Over time, more and more functionality in WordPress is going to require that the REST API works as expected.

    Before version 3.0 we didn’t use the REST API to update settings, so it’s possible that you previously had an older version of the plugin and when you’ve updated to the latest version, the issue then occurred.

    The best way forward is to make sure that the web server accepts at least the more common HTTP methods: GET, POST, PUT, DELETE, and HEAD. I recommend reaching out to your server admin as they would be better equipped with assisting you on this issue.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Offloaded media not being served by plugin’ is closed to new replies.