• Resolved kryptkeepr

    (@kryptkeepr)


    I have closed this prior however the solution I found is only temporary. Receiving random curl error on asset Optimization. This is not only causing assets to stop being optimized, but seems when it’s fixed if cache is not cleared it defaults all my assets to http.
    No errors in debug, or in error log. The only error found _transient_wphb-minify-server-errors
    I am having to manually clear this transient and my cache multiple times a day to keep asset Optimization functioning on site. Any help would be appreciated.
    Transient entry:
    a:3:{i:0;O:8:"WP_Error":3:{s:6:"errors";a:1:{s:19:"http_request_failed";a:1:{i:0;s:81:"cURL error 28: Operation timed out after 15001 milliseconds with 0 bytes received";}}s:10:"error_data";a:0:{}s:18:"*additional_data";a:0:{}}i:1;O:8:"WP_Error":3:{s:6:"errors";a:1:{s:19:"http_request_failed";a:1:{i:0;s:81:"cURL error 28: Operation timed out after 15001 milliseconds with 0 bytes received";}}s:10:"error_data";a:0:{}s:18:"*additional_data";a:0:{}}i:2;O:8:"WP_Error":3:{s:6:"errors";a:1:{s:19:"http_request_failed";a:1:{i:0;s:81:"cURL error 28: Operation timed out after 15001 milliseconds with 0 bytes received";}}s:10:"error_data";a:0:{}s:18:"*additional_data";a:0:{}}}

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi @kryptkeepr

    I hope you are doing well today.

    “timed out” most of the time means the site is too slow to respond. Could be something slowing it down there.

    Would you please run a conflict test? Please deactivate all plugins except this one and check if the problem is gone. If so, then enable all plugins one by one and find which one is having a conflict. If there is no positive result, switch to the default WordPress theme like 2019, and see if it works.

    Before this test, we recommend full site backup or running this test on the staging site.

    Also check what is your max_execution_time on hosting for that site. If it is to low please increase it to max_execution_time 300 and see if this helps.

    Kind Regards,
    Kris

    Thread Starter kryptkeepr

    (@kryptkeepr)

    Thanks for the suggestions! I have attempted conflicts testing with no change. For some reason I didn’t think about curl being my server so thank you for that direction.

    I did find some random 500-700 Ms delays on server with max execution time of only 30. Increasing this limit has resolved the issue for now. Time to deal with hosting, thanks for the help and for the awesome plugin!

    • This reply was modified 1 year, 4 months ago by kryptkeepr.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Asset Optimization Curl Error’ is closed to new replies.