• Resolved masherbrum

    (@masherbrum)


    Hello everyone,

    I have a really high number of requests (like 1200/minute) overloading my website and causing 504 errors.

    These requests in my logs all look like this :

    XX.XX.XX.XX yyyyyyy.com ck_XXXXX [14/Jun/2023:17:05:19 +0000] “GET /wp-json/wc/v3/products/32015?consumer_key=ck_XXXXX &consumer_secret=cs_6XXXXX HTTP/1.1” 200 1306 “-” “-” | TLSv1.2 | 0.898 0.931 0.931 MISS 0 NC:000000 UP:SKIP_CACHE_SET_COOKIE cdnreq

    It seems that it is somewhat related to Woocommerce REST API.

    Does someone already had this kind of problem ? How can I fix this ? I am no developper.

    Many thanks for your help !

    __________

    Here are the plugins I use :

    ### Active Plugins (49) ###
    WooCommerce Upsells Shortcode: par SkyVerge – 1.0.0
    Axonaut: par Axonaut – 2.3.9
    B2B pour WooCommerce: par Addify – 2.2.4
    Back In Stock Notifier for WooCommerce | WooCommerce Waitlist Pro: par codewoogeek – 3.2
    Product Feed Manager for WooCommerce: par RexTheme – 7.3.1
    Divi Menu Cart: par Milen Krastev – 3.0.1
    Yoast Duplicate Post: par Enrico Battocchi & l’équipe Yoast – 4.5
    GTM4WP: par Thomas Geiger – 1.16.2
    Conversios.io – All-in-one Google Analytics, Pixels and Product Feed Manager for WooCommerce: par Conversios – 6.3.1Import Export Suite for WooCommerce: par WebToffee – 1.0.4
    LoftLoader: par Loft.Ocean – 2.4.0
    Mailchimp for WooCommerce: par Mailchimp – 2.8.3
    Metorik Helper: par Metorik – 1.6.3
    Netreviews: par NetReviews SAS – 2.3.14
    NotificationX: par WPDeveloper – 2.7.2
    Product GTIN (EAN, UPC, ISBN) for WooCommerce: par Emanuela Castorina – 1.1.1
    Redirection: par John Godley – 5.3.10
    Search & Replace: par Inpsyde GmbH – 3.2.1
    Woocommerce Table Rate Shipping Pro: par JEM Plugins – 2.4.10
    Themify – WooCommerce Product Filter: par Themify – 1.3.9
    UpdraftPlus – Sauvegarde/Restauration: par UpdraftPlus.Com
    DavidAnderson – 1.23.4
    User Role Editor: par Vladimir Garagulya – 4.63.3
    WC Secondary Product Thumbnail: par Hendy Tarnando – 1.3.2
    CTX Feed: par WebAppick – 5.4.22
    Weglot Translate: par L’équipe Weglot Translate – 4.0.2
    Advanced Order Export For WooCommerce: par AlgolPlus – 3.4.0
    NextMove Lite – Thank You Page for WooCommerce: par XLPlugins – 2.16.0
    Variation Swatches for WooCommerce: par Emran Ahmed – 2.0.23
    WooCommerce Extended Coupon Features FREE: par Soft79 (Soft79) – 3.3.3
    WooCommerce Customer/Order/Coupon Export: par SkyVerge – 5.3.2
    Table Rate Shipping for WooCommerce: par JEM Plugins – 2.28
    WooCommerce Stripe Gateway: par WooCommerce – 7.4.1
    Pixel Manager for WooCommerce: par SweetCode – 1.32.0
    PDF Invoices & Packing Slips for WooCommerce: par WP Overnight – 3.5.5
    WooCommerce Shipment Tracking: par Woocommerce – 2.3.1
    Stock Manager for WooCommerce: par StoreApps – 2.11.0
    WooCommerce: par Automattic – 7.8.0
    Wordfence Security: par Wordfence – 7.9.3
    Hustle: par WPMU DEV – 7.7.1
    Yoast SEO: par L’équipe Yoast – 20.9
    WP Mail Logging: par WP Mail Logging Team – 1.11.2
    Multi-Step Checkout for WooCommerce: par SilkyPress – 2.24.1
    WP Store Locator: par Tijmen Smit – 2.2.237
    WPS Cleaner: par WPServeur
    wpformation – 1.6.8
    WPS Hide Login: par WPServeur
    wpformation – 1.9.8
    Related Products for WooCommerce: par WebToffee – 1.4.7
    Custom Product Tabs for WooCommerce: par YIKES Inc. – 1.8.2
    YITH WooCommerce Ajax Search: par YITH – 1.31.0
    YITH WooCommerce Cart Messages Premium: par YITH – 1.18.0

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @masherbrum! ?? I noticed you are using our plugin Metorik. We make API requests but should not be making a large number like that within a minute. If you’re still using our app itself, please contact us through there and we can check if this is because of us and help out if so.

    Thread Starter masherbrum

    (@masherbrum)

    Hi Bryce, thank ou for our answer, I tried deactivating the plugin to see if there’s is any change in the total load of requests. I’ll keep you informed.

    Hi @masherbrum! ?? If you don’t have the actual Metorik app set up / being used, it shouldn’t be making any API requests so all good there and feel free to deactivate the plugin if not using. But if you are, feel free to message us through the app and I can take a closer look for you.

    Hi @masherbrum

    Thanks for reaching out!

    I understand that you’re experiencing high traffic that’s causing 504 errors on your website and I’m here to help.

    From the logs you’ve shared, it appears that your WooCommerce REST API is receiving a substantial amount of requests, specifically to the /wp-json/wc/v3/products/ endpoint. This could potentially be causing the overload on your server.

    For us to investigate this further, can you please try to switch to the default Storefront theme and only WooCommerce plugin is enabled and see if the number has decreased somehow?

    If so, then this kind of problem is usually caused by your theme or a third-party plugin present on your site. We can run a conflict test to verify this. I’d recommend cloning your site to a staging environment and performing the tests described on this guide without modifying your live site or impacting customers. Many hosts provide staging facilities, so it’s worth checking in with them. It’s also possible to do it using the free WP Staging plugin.

    If this was caused by a third-party plugin present on your site, it would be best to reach out to the developers for further assistance here.

    If this did not resolve the issue, please share your System Status Report, that will help us further troubleshoot.

    You can find it via WooCommerce > Status. Select Get system report and then Copy for support. Once you’ve done that, you can paste it into your reply here.

    If you could also provide the fatal error logs (if any) under WooCommerce > Status > Logs.

    You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.

    Hope this helps!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Woocommerce REST API requests cause timeout’ is closed to new replies.