• Scan Failed
    message : The current scan looks like it has failed. Its last status update was xx minutes ago.

    I cannot complete a Wordfence scan. I am using WP5.3.2 and wordfence 7.4.6. php7.2
    I have four websites on the same server and they all have the same problem.
    I deleted the plugin and its data and tables and re-installed
    I changed the max execution time to 15 seconds as advised by my hosting and turned off low-usage-resources in wordfence options
    the scan keeps stopping, in different places when I change options for what is/is not scanned
    When the scan stopped on a plugin I deleted the plugin and it would stop at another.
    I have used debug , and it stops on different files all the time.
    Please help as I have reviewed many of the other topics and tried everything – I think.
    It did complete once but then the next time (without making changes to any settings ) it failed with the same error again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey @anitaharris,

    If they’re failing at some point, can you do the following so I can get the information I need to help you?

    Kill the existing scan if it is still running (The “Start New Scan” button turns in to a “Stop” button while the scan is running)

    Go to your Scan > Scan Options and Scheduling page and locate the “Performance Options”

    Set “Maximum execution time for each scan stage” to 20 on the options page
    Click to “Save Changes”

    Go to the Tools > Diagnostics page

    In the “Debugging Options” section check the circle “Enable debugging mode”

    Click to “Save Changes”

    Start a new scan

    Copy the last 20 lines from the Log (click the “Show Log” link) or so of the activity log and paste them here

    Please let me know.

    Thanks,

    Gerroald

    Thread Starter anitaharris

    (@anitaharris)

    Hi,

    I am posting this to help anyone else getting the ‘scan failed’ message for the same reasons I was…
    This issue was fixed by my service provider eventually after I supplied them with them with my login details and they traced where the problem was ..
    Your suggestion to increase the ‘max executuion time’ did not help and every time I tried to run the scan with debug the scan failed in different locations.

    So the solution the scan completing was two fold.

    1) ensure its not run after midnight when the service provider is not busy backing up and running security scans on their servers (scan showed server status with an exclamation mark) – wait until after 5am – then the exclamation mark vanishes.

    2) Hosting service provider updated the .htacces file adding this to the very beginning and fixed the scan on one website. I applied the same change to my other sites and then they all worked.. – RESOLVED!!!

    even having disabled the litespeed plugin did not help, yet the code indicates its a litespeed problem.. Setting the wordfence settting for noabort did not help either. only this code when added to the .htaccess file resolved the error for this topic.

    # BEGIN litespeed noabort – for Wordfence scan fix – AH
    <IfModule rewrite_module>
    RewriteEngine On
    RewriteRule .* – [E=noabort:1]
    </IfModule>
    # END litespeed noabort

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Scan Failed The current scan looks like it has failed.’ is closed to new replies.