• Resolved Vishal Lohar

    (@vlohar08)


    Hi,
    I am getting this error in the Query monitor. Bcoz of this error, the Wp-admin panel speed has been reduced. Please tell me how can I fix this?
    I am getting this error for 3 plugins that are trying to access the API. I know the API is working perfectly and I can access it using the URL.

    Error Image – https://pasteboard.co/KdYVYH1.png

    I tried disabling all plugins except 3 but having the same error. I am using Litespeed Server on Google cloud + Cloudflare. I confirmed with Cloudflare and even paused Cloudflare for a moment but it didn’t solve the problem.
    Even Google cloud is not blocking any API. So IDK what’s causing this issue?

    Please help!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Hi there ??

    This kind of problem is usually caused by a conflict with your theme or with another plugin.
    ?
    The best way to determine this is to:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.

    Additionally, here you have an excellent guide that will help you to fix the error cURL error 28:

    https://www.wpbeginner.com/wp-tutorials/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds/

    Cheers!

    Thread Starter Vishal Lohar

    (@vlohar08)

    Hi,
    I disabled all plugins except woocommerce and plugin which Is trying to access the API. Even I changed my theme from Shoptimizer to Storefront, but the issue is not resolved.
    Three plugins are trying to access the woocommerce.json API, and I am getting errors for all 3 plugins when they are activated. Other plugins or themes are not affecting them.

    I contacted the plugin developers, but they said it’s not the issue of their plugins.

    Reply from Google cloud hosting support – GCP only blocks port 25.
    Cloudflare is not the problem.
    Don’t know what’s causing this issue?

    Thread Starter Vishal Lohar

    (@vlohar08)

    I cloned my website on two different systems one with Cloudflare deactivated and one with activated. The deactivated one had an external IP and no domain linked to it and the other one had my previous domain which has Cloudflare activated on it.

    The website with no Cloudflare loaded the API perfectly with no errors. Now, IDK which Cloudflare setting is causing this issue as the firewall is also disabled.
    Please help me!

    These are the settings I am using on Cloudflare.
    SSL/TLS Encryption – Full
    Always use HTTPS – ON
    HSTS – OFF ( I turned it off after this issue )
    Minimum TLS Version – TLS 1.0
    Opportunistic Encryption – ON
    TLS 1.3 – ON
    Automatic HTTP Rewrites – ON
    Firewall – OFF

    Page Rules –
    1) Cache Level
    Cache Everything`

    2) For Wp-admin-
    Disable Security – Security is disabled
    Cache Level – Bypass
    Disable Performance – Performance is disabled`

    • This reply was modified 3 years, 7 months ago by Vishal Lohar.
    Mirko P.

    (@rainfallnixfig)

    Hi @vlohar08,

    This doesn’t seem to be an issue related to the core WooCommerce plugin, so you should follow the link provided by my colleague that explains how to try to fix cURL error 28.

    If the steps mentioned in the troubleshooting guide fail to resolve the cURL error 28 on your WordPress site, then the problem is most likely a hosting environment issue.

    There are many factors that can only be controlled and fixed by your hosting company. For instance, if their DNS servers are unable to resolve requests in a timely manner, then this will cause cURL requests to timeout. Another scenario could be slower connectivity or networking issues with your hosting server.

    Simply drop your hosting provider a support request with the error details and their technical staff should be able to provide some support and help you troubleshoot the issue.

    Thanks.

    Thread Starter Vishal Lohar

    (@vlohar08)

    My problem is resolved by LiteSpeed support.
    It’s a real timeout issue and I confirmed this with LiteSpeed support. This issue is possible due to the network latency. If your server is in the Asia region, the curl timeout happens easily.

    And, It is not bcoz of plugin or theme conflict.

    If anyone having the same issue then use the code given on this page – https://gist.github.com/sudar/4945588

    Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Glad to hear that you could solve it! And thank you for sharing the solution with the community ??

    Great! If you have any further questions, you can start a new thread.

    Cheers!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Operation Timed Out’ is closed to new replies.