• Resolved cullachie

    (@cullachie)


    When we do a performance scan on our site it reports that Woocommerce is generating 429 errors = “Too many requests. It was 44 and afetr flushubf the cache it came down to 14. We are using Woo with Storefront.

    It appears that all pages and even those with no product data or processing data has the following appear in th page source

    <a href="https://woocommerce.com" target=_blank title="WooCommerce - The Best eCommerce Platform for WordPress"

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @cullachie

    Thanks for reaching out!

    I am sorry to hear that your site is generating large number of errors.

    Firstly, it’s great to hear that flushing the cache has significantly reduced the number of errors. This indicates that caching might be one of the factors contributing to the issue. However, since you’re still experiencing some errors, let’s explore other possible solutions.

    The 429 Too many requests error typically occurs when a user or a script is sending too many requests to the server in a short period of time. This can be caused by a variety of factors, such as plugins, themes, or even server configurations.

    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 of error has been reduced if not eliminated?

    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.

    Let us know how it goes!

    Thread Starter cullachie

    (@cullachie)

    OK, thanks

    Thread Starter cullachie

    (@cullachie)

    Hi,

    I shut down all plugins apart from Woo, then flushed the cache, visited a few pages then ran S. Frog and it again came up 429 with 78 inlinks registered against Woo.

    There have been no fatal errors for several weeks.

    Here is the report.

    `
    ### WordPress Environment ###
    
    WordPress address (URL): https://www.trapbarn.com
    Site address (URL): https://www.trapbarn.com
    WC Version: 7.6.1
    REST API Version: ✔ 7.6.1
    WC Blocks Version: ✔ 9.8.5
    Action Scheduler Version: ✔ 3.5.4
    Log Directory Writable: ✔
    WP Version: 6.2
    WP Multisite: –
    WP Memory Limit: 950 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_GB
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.33
    PHP Post Max Size: 950 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 2500
    cURL Version: 7.86.0
    OpenSSL/1.1.1s-fips
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.4.26-MariaDB-log
    Max Upload Size: 950 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 7.6.1
    WC Database Prefix: wp_
    Total Database Size: 33.06MB
    Database Data Size: 29.75MB
    Database Index Size: 3.31MB
    wp_woocommerce_sessions: Data: 1.45MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 0.08MB + Index: 0.09MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 0.16MB + Index: 0.17MB + Engine InnoDB
    wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs: Data: 0.13MB + Index: 0.09MB + Engine InnoDB
    wp_blc_filters: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_blc_instances: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
    wp_blc_links: Data: 0.36MB + Index: 0.06MB + Engine InnoDB
    wp_blc_synch: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.06MB + Index: 0.09MB + Engine InnoDB
    wp_fusion_forms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_fusion_form_entries: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fusion_form_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fusion_form_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mystickymenu_contact_lists: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_odb_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_options: Data: 2.44MB + Index: 0.08MB + Engine InnoDB
    wp_postmeta: Data: 1.52MB + Index: 0.39MB + Engine InnoDB
    wp_posts: Data: 3.38MB + Index: 0.09MB + Engine InnoDB
    wp_redirects: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_rtafar_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_snippets: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_usermeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfconfig: Data: 0.47MB + Index: 0.00MB + Engine InnoDB
    wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wffilemods: Data: 6.52MB + Index: 0.00MB + Engine InnoDB
    wp_wfhits: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wfknownfilelist: Data: 4.52MB + Index: 0.00MB + Engine InnoDB
    wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wflogins: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfls_role_counts: Data: 0.00MB + Index: 0.00MB + Engine MEMORY
    wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfstatus: Data: 0.11MB + Index: 0.09MB + Engine InnoDB
    wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woo_shippment_provider: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    wp_wpil_report_links: Data: 0.08MB + Index: 0.05MB + Engine InnoDB
    wp_wplnst_urls_status: Data: 0.06MB + Index: 0.23MB + Engine InnoDB
    wp_wpml_mails: Data: 6.52MB + Index: 0.00MB + Engine InnoDB
    wp_yoast_indexable: Data: 0.08MB + Index: 0.09MB + Engine InnoDB
    wp_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yoast_seo_links: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wp_yoast_seo_meta: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    announcer: 2
    attachment: 220
    custom_css: 2
    customize_changeset: 1
    nav_menu_item: 39
    page: 44
    post: 1
    product: 8
    product_variation: 27
    revision: 140
    shop_order: 37
    wcs_ruleset: 4
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (1) ###
    
    WooCommerce: by Automattic – 7.6.1
    
    ### Inactive Plugins (30) ###
    
    301 Redirects: by WebFactory Ltd – 2.73
    All-in-One WP Migration: by ServMask – 7.74
    Announcer: by Aakash Chakravarthy – 5.8
    Asset CleanUp: Page Speed Booster: by Gabe Livan – 1.3.9.1
    Better Search Replace: by WP Engine – 1.4.2
    Broken Link Checker: by WPMU DEV – 2.0.0
    Change DropDown name to Quantity: by Jim Grant – 0.1
    CMB2: by CMB2 team – 2.10.1
    Code Snippets: by Code Snippets Pro – 3.3.0
    Conditional Shipping for WooCommerce: by Lauri Karisola / WP Trio – 2.4.1
    Delay emails for 2 mins: by Damien Carbery – 0.5
    Disable & Remove Google Fonts: by Fonts Plugin – 1.5.4
    Head, Footer and Post Injections: by Stefano Lissa – 3.2.5
    Meks Quick Plugin Disabler: by Meks – 1.0
    Optimize Database after Deleting Revisions: by CAGE Web Design | Rolf van Gelder
    Eindhoven
    The Netherlands – 5.0.110
    
    Perfect Brands WooCommerce: by QuadLayers – 3.0.7
    REST API Log: by Pete Nelson – 1.6.9
    Stripe Payment Plugin for WooCommerce: by WebToffee – 3.7.7
    TCs checked by default: by Patrick Rauland – 1.0 *
    Title Toggle for Storefront Theme: by Wooassist – 1.2.5
    Tracking Info to WooCommerce order: by Damien Carberry and Jim Grant –
    WebToffee PayPal Express Checkout Payment Gateway for WooCommerce ( Free ): by WebToffee – 1.7.9
    Wordfence Security: by Wordfence – 7.9.2
    WordPress Importer: by wordpressdotorg – 0.8.1
    WP-Optimize - Clean, Compress, Cache: by David Anderson
    Ruhani Rabin
    Team Updraft – 3.2.14
    
    WP Fastest Cache: by Emre Vona – 1.1.5
    WP Mail Logging: by WP Mail Logging Team – 1.11.0
    Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.5
    Yoast SEO: by Team Yoast – 20.6
    Yoast Test Helper: by Team Yoast – 1.17
    
    ### Must Use Plugins (1) ###
    
    StackCache: by Stack CP –
    
    ### Settings ###
    
    API Enabled: ✔
    Force SSL: –
    Currency: GBP (£)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    Connected to WooCommerce.com: –
    Enforce Approved Product Download Directories: ✔
    Order datastore: WC_Order_Data_Store_CPT
    
    ### WC Pages ###
    
    Shop base: ❌ Page not set
    Basket: #17523 - /basket/
    Checkout: #17524 - /checkout/
    My account: ❌ Page not set
    Terms and conditions: ❌ Page not set
    
    ### Theme ###
    
    Name: Chld theme
    Version: 4.2.0.1680276726
    Author URL: https://woocommerce.com/
    Child Theme: ✔
    Parent Theme Name: Storefront
    Parent Theme Version: 4.2.0
    Parent Theme Author URL: https://woocommerce.com/
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: –
    
    ### Admin ###
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    import-products-task
    experimental-fashion-sample-products
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    multichannel-marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    woo-mobile-welcome
    wc-pay-promotion
    wc-pay-welcome-page
    
    Disabled Features: block-editor-feature-enabled
    minified-js
    new-product-management-experience
    product-variation-management
    settings
    
    Daily Cron: ✔ Next scheduled: 2023-05-06 12:54:44 +01:00
    Options: ✔
    Notes: 27
    Onboarding: completed
    
    ### Action Scheduler ###
    
    Complete: 494
    Oldest: 2023-04-05 18:19:41 +0100
    Newest: 2023-05-06 07:07:53 +0100
    
    Failed: 29
    Oldest: 2023-03-18 15:34:45 +0000
    Newest: 2023-05-05 08:17:44 +0100
    
    Pending: 1
    Oldest: 2023-05-06 07:51:02 +0100
    Newest: 2023-05-06 07:51:02 +0100
    
    
    ### Status report information ###
    
    Generated at: 2023-05-06 07:14:13 +01:00
    `
    Thread Starter cullachie

    (@cullachie)

    Hi,

    I reckon that the 429’s were caused by this bit of custom CSS that was intended to remove the option to enter a separate shipping address.

    .woocommerce-shipping-destination {
    display : none;
    }

    Can you suggest how to do this properly?

    Hello,

    If I understood correctly, when the custom CSS code above is disabled, the issue is not present.

    Can you let me know why do you need to remove the element from the page? That way we can better address your concern.

    To hide an element via CSS you can use the property display: none or visibility: hidden, but please note the differences: display: none will remove the entire element from the page and mat affect the page layout. On the other hand, visibility: hidden hides the element while keeping the space the same.

    Hope this helps.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Woo too many 429 errores’ is closed to new replies.