Title: cURL timeout error
Last modified: June 28, 2017

---

# cURL timeout error

 *  Resolved [tim15465233](https://wordpress.org/support/users/tim15465233/)
 * (@tim15465233)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/curl-timeout-error/)
 * When installing Wordfence on a clean install of WordPress, I’m getting the following
   error retrieving an API key:
    There was an error connecting to the the Wordfence
   scanning servers: cURL error 28: Connection timed out after 10000 milliseconds
 * Checking WordFence > Tools > Diagnostics I see:
    wp_remote_post() test to noc1.
   wordfence.com failed! Response was: cURL error 28: Operation timed out after 
   10001 milliseconds with 0 bytes received for http and wp_remote_post() test to
   noc1.wordfence.com failed! Response was: cURL error 28: Connection timed out 
   after 10001 milliseconds for https
 * This is on a new host who recently upgraded their WHM/cPanel versions. I’ve contacted
   support who say they’re more than happy to tinker with settings, but need to 
   know exactly which settings to alter. Should it matter, I’m running PHP 7.0.20–
   I have tried with 5.6.x with the exact same results.
 * Might anyone here, or the devs, have any suggestions? At this time “find a new
   host” isn’t an option, and I would feel much more comfortable having WordFence
   installed rather than not.
 * Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [wfyann](https://wordpress.org/support/users/wfyann/)
 * (@wfyann)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/curl-timeout-error/#post-9277961)
 * Hi [@tim15465233](https://wordpress.org/support/users/tim15465233/),
 * Could you please check with your hosting provider if they have [this type](https://wordpress.org/support/topic/wordfence-scan-dies/page/2/#post-8357510)
   of restrictions in place?
 * Also, please make sure the traffic to Wordfence servers [hasn’t been blocked](https://wordpress.org/support/topic/yet-another-curl-error/).
 *  [wfchloe](https://wordpress.org/support/users/wfchloe/)
 * (@wfchloe)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/curl-timeout-error/#post-9320569)
 * Hello!
 * I hope we were successful in helping you resolve your issue with Wordfence! Since
   we have not heard back from you in the past 2 weeks I will now be marking this
   support thread as resolved. However, if we still haven’t resolved your issue 
   please reach out to us as we would be more than happy to further assist you!
 * Thanks and have a great day!
    Chloe

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘cURL timeout error’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [wfchloe](https://wordpress.org/support/users/wfchloe/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/curl-timeout-error/#post-9320569)
 * Status: resolved