• Hello
    I have had this problem with all my websites this week. I have 16 live websites all running Wordfence and they all report this error.
    I have asked my hosting company who tried a number of solutions which are on the list of suggestions from Wordfence but they didn’t work, so what they say is to request white listing of the ip address.
    Please advise.
    Thank you.
    Kind regards
    Lotte

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

Viewing 15 replies - 1 through 15 (of 15 total)
  • Greetings,
    i run into the same problem:

    Call to Wordfence API to resolve IPs failed: There was an error connecting to the Wordfence scanning servers: cURL error 28: Connection timed out after 10000 milliseconds

    Thread Starter Lotte Mikkelsen

    (@lott3178)

    Yeah – it also comes up with that error on occasions when it fails. Do you have any workarounds or are we waiting to hear from Wordfence or WordPress?

    Hi guys!
    Sorry to hear you are having this problem. We are still trying to figure out what the pattern is here and need to gather as much information as possible. Can you please send me these two things?

    1. Wordfence > Tools > Diagnostics page at the top “Send report as email” and send it to [email protected] (reference your forum username so I know where it’s coming from)
    2. Run this test if you are able, and let me know the results: Create a .php file with the content below, visit the file you created and copy the result output.

    
    <?php
    $url = 'https://noc1.wordfence.com/';
    $ch = curl_init($url);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_VERBOSE, 1);
    curl_setopt($ch, CURLOPT_HEADER, 1);
    $response = curl_exec($ch);
    $header_size = curl_getinfo($ch, CURLINFO_HEADER_SIZE);
    $header = substr($response, 0, $header_size);
    $body = substr($response, $header_size);    
    
    echo $header;
    echo $body;
    exit;

    Remember to remove that file after you’re done with it. Send the result (what you saw on the page when you loaded it to: [email protected]. Include your forum username so I know where the email came from.

    All or any of the above would be very helpful! Thanks in advance!

    Thread Starter Lotte Mikkelsen

    (@lott3178)

    Thanks for your reply. I am not really truly that technical so not sure exactly what to do with this information.

    I have followed step 1 but not sure about step 2.

    What would I name the php file and where would I place it?
    And would I run the Wordfence scan after I have created the php file and put it where it needs to go?

    We are having the same issue – I will run the diagnostic and content of php file and send them through.

    Emails on their way to you for the two tests.

    LotteMik, you can call the file anything you want e.g. wftest.php then FTP it to your root directory and then via the browser go to https://www.yourdomain.com/wftest.php (changing yourdomain.com to your own website address)

    • This reply was modified 6 years, 11 months ago by elainewildash.
    • This reply was modified 6 years, 11 months ago by elainewildash.
    • This reply was modified 6 years, 11 months ago by elainewildash.
    Thread Starter Lotte Mikkelsen

    (@lott3178)

    I sent off the requested information and still waiting for response – scan still doesn’t work and it makes me worried if the plugin truly works right now and creates the security it is supposed to :/

    Hi folks!
    We sent out a fix for this about 14 hours ago. It should be working now. If it’s not, your issue is probably different from the one discussed in this thread. In that case, create a new thread in the forum and describe your situation in as much detail as possible.

    Thanks for all your help in resolving the issue!

    Thread Starter Lotte Mikkelsen

    (@lott3178)

    Definitely not sorted for me. Still getting

    Scan Failed

    The current scan looks like it has failed. Its last status update was 6 mins ago. You may continue to wait in case it resumes or stop and restart the scan.

    It is the same issue for me so I don’t really want to start another thread ??

    Thread Starter Lotte Mikkelsen

    (@lott3178)

    I am currently running on the free version but have been thinking of upgrading to the paid version but this is definitely making me rethink and find another tool.
    Sorry – for me it really needs sorting real soon ??

    Hi Lotte,
    Sorry, I perceived this thread to be about “unable to contact the Wordfence servers”. You can check this on the Wordfence Diagnostics page in the “Connectivity” section. Are your sites still showing an error in the Connectivity section in Wordfence Diagnostics?

    Hi wfasa and LotteMike,

    I had two error messages:

    – Scan terminated with error: There was an error connecting to the Wordfence scanning servers: cURL error 28: Connection timed out after 10002 milliseconds

    – Scan Failed The current scan looks like it has failed. Its last status update was 5 mins ago. You may continue to wait in case it resumes or stop and restart the scan

    The fix appears to have fixed the connection error but I was also still getting the scan failed error.

    I tried un-ticking some of the options under All Options > General Options (Scan files outside your WordPress installation and Scan images, binary, and other files as if they were executable) which I had previously ticked so that more of the site files were scanned. Un-ticking these options lets me complete a scan.

    If the scan is timing out is this a hosting issue?

    • This reply was modified 6 years, 11 months ago by elainewildash.
    Thread Starter Lotte Mikkelsen

    (@lott3178)

    Yeah – the same as Elaine.

    Hi there,
    @wfasa your content / plugin update fixed my scan problem.
    There is no error anymore. I was able to initiate a full scan now.

    It’s a pity other people here still have problems ??
    Hopefully you will find the error soon.

    Br

    Thanks @kaleu81 glad to hear it worked for you.

    If your scans are no longer timing out but still dying, there is another cause. Here are a few things you can look out for:

    1. Keep Debug mode enabled (You can find this at the bottom of the Diagnostics page). The scan log will now show each individual file that is being scanned and it will show more information about errors.

    2. Check your servers PHP error logs to see if any errors are added there when you try to start a scan or while the scan is running

    3. Check Tools > Diagnostics page to make sure there are no checks on this page that fail. That could be an indication of problems with your system.

    4. If you are on a LiteSpeed server, a configuration issue could be stopping your scan. Read more here.

    We also have some more general scan troubleshooting information on this page.

    Hi, i’ve the same problem (unable to contact the Wordfence servers).
    Wordfence Diagnostic show an SSL problem.
    Version too old : OpenSSL 0.9.8o 01 Jun 2010 (0x9080ff)

    Need to update my SSL version to 1.01, to do that, i need to change the PHP version to my provider OVH. But i can’t beacause my theme doesn’t work with PHP >5.6.
    Need to update my them first…

    • This reply was modified 6 years, 9 months ago by eric4969.
Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘The scan has failed because we were unable to contact the Wordfence servers’ is closed to new replies.