• Resolved turbodb

    (@turbodb)


    I’m running into a bit of a strange (to me) situation, and would appreciate help. I’m not even entirely sure that this is the right forum to ask for help, so pointers somewhere else would be great if there’s a better place.

    I have WP with WooCommerce installed, and it’s been working great for a couple of years. In the last little while (month? – not quite sure when this started), the WooCommerce cart widget has not been updating when a customer adds a product to their cart.

    This can be seen on the following page (https://adventuretaco.com/product/tacoma-to-tundra-hard-brake-line-kit/) by

    1. Open browser developer tools and switch to the Networking tab
    2. Click the Add to Cart button
    3. Watch the “cart” widget on the right and note that it does not update
    4. In the browser dev tools, look for the request to https://adventuretaco.com/?wc-ajax=get_refreshed_fragments

    The result is that it is always cut off after *exactly* 5 seconds. (or 5.01/5.02 seconds).

    Because the response doesn’t come back in that time, the cart never updates. However, direct requests (non-AJAX) to that URL do return correctly (after more than 5 seconds) with the correct cart data.

    Why is this request getting cut off? The answer might be in the browser dev tool data, but I don’t see it (or know what I’m looking for).

    I’m not sure if it matters, but the backend is linux/nginx.

    Thanks!

    • This topic was modified 1 year, 9 months ago by turbodb.

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

  • The topic ‘One WooCommerce AJAX call always timing out after 5 seconds’ is closed to new replies.