• Too many remote requests, that slow down page generation

    1. Advanced_Media_Offloader\Observers\GetAttachedFileObserver->filter()
      wp-content/plugins/advanced-media-offloader/includes/Observers/GetAttachedFileObserver.php:69
    2. apply_filters('get_attached_file')
      wp-includes/plugin.php:205
Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Alexey Ponomarev

    (@luway)

    This situation occurs if the site is located in Kubernetes and if more than one pod is used.

    Plugin Author Masoud Golchin

    (@masoudin)

    Hi @luway

    Do you have SVG file icons in your website?

    Can you please update to the latest version of Advanced Media Offloader and check your performance again? The new version of the plugin contains a bug fix that will probably fix your issue too!

    But if it didn’t help, i would appreciate if you could share your website address and login details with us via email “hi@wpfitter.com” so we can take a look around and debug the issue for you at no charge.

    Moderator Support Moderator

    (@moderator)

    @masoudin I’m am 100% sure you mean well but please never ask for credentials on these forums.

    https://wordpress.org/support/guidelines/#we-reserve-the-right-to-manage-the-forums-to-the-best-of-our-ability

    Now for the why: The internet is a wonderful place full of very nice people and a few very bad ones. I’m sure everyone here is very nice however, by giving some ones keys to your house you are trusting they wont steal anything. Likewise the person who takes the keys is now responsible for the house FOREVER.

    If something was to go wrong, then you the author may well legally become liable for damages, which they would not normally have been as their software is provided without warranty.

    Please be aware that repeatedly asking for credentials will result in us escalating this to the plugins team.

    It’s never necessary to do that. Here’s why.

    There are many ways to get information you need and accessing the user’s site is not one of them. That’s going too far.

    *Ask for a link to the https://pastebin.com/ or https://gist.github.com log of the user’s web server error log.

    *Ask the user to create and post a link to their phpinfo(); output.

    *Ask the user to install the Health Check plugin and get the data that way.

    *Walk the user through enabling WP_DEBUG and how to log that output to a file and how to share that file.

    *Walk the user through basic troubleshooting steps such and disabling all other plugins, clear their cache and cookies and try again.

    *Ask the user for the step-by-step on how they can reproduce the problem.

    You get the idea.

    Volunteer support is not easy. But these forums need to a safe place for all users, experienced or new. Accessing their system that way is a short cut that will get you into real trouble in these forums.

    Thread Starter Alexey Ponomarev

    (@luway)

    Yes, we use SVG images. I disabled file caching via the “advmo_temp_fetch_mime_types” hook, because in Kubernetes, if several pods are running, each pod has its own file system, and when balancing, it is not known which pod the request will go to. I think the simplest option would be to save images either to a database or to a cache, using Redis, for example. Or to add an option in the plugin settings where you can enable or disable this feature.

    Plugin Author Masoud Golchin

    (@masoudin)

    @luway

    Great to hear that you have resolved the issue you were facing with.

    Thanks for the recommendation!

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

The topic ‘Too many remote requests’ is closed to new replies.