• Resolved ChangeAgent

    (@changeagent)


    As of today, I get the same error on all 3 of my websites when I try to run Wordfence manually.  It has run fine for years on all 3, so I am a bit puzzled.  Has anybody else this problem?  

    This is the error:

    ????????????????????????Scan Stage Failed? A scan stage has failed to start. This is often because the site either cannot make outbound requests or is blocked from connecting to itself. Wordfence will make up to 2 attempts to resume each failed scan stage. This scan may recover if one of these attempts is successful.

    Look forward to any insights. 

Viewing 1 replies (of 1 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @changeagent, thanks for getting in touch.

    The scan stages on the Wordfence > Scan page and which icon(s) may be showing as a yellow exclamation triangle instead of a checkmark could assist with narrowing down the cause. They’re also highlighted here in case they help you: https://www.wordfence.com/help/scan/#scan-stages

    There’s also some troubleshooting, which includes having “Start all scans remotely” checked at the bottom of Wordfence > Tools > Diagnostics and adjusting your max_execution_time here: https://www.wordfence.com/help/scan/troubleshooting/

    If those don’t assist with finding the issue, ideally we’d like to see a scan log from an occasion when a scan fails:

    • Stop the existing scan if it is still running (The “Start New Scan” button turns into a “Stop” button while the scan is running).
    • Go to your Wordfence > Scan > Manage Scan and locate the “Performance Options” section. Set “Maximum execution time for each scan stage” to 20. 
    • Click to “Save Changes”.
    • Go to the Tools > Diagnostics page.
    • In the “Debugging Options” section check the circle “Enable debugging mode”.
      If “Start scan remotely” is checked, uncheck this option.
    • Click to “Save Changes”.
    • Start a new scan on the Scan page.
    • If the scan fails again, copy the last 20 lines or so from the Log (click the “Show Log” link) once the scan finishes and paste them in the post.

    On some sites, this will correct the issue. Adding “20” for the “Maximum execution time for each scan stage” tells the scan to pause every 20 seconds and start again where it left off, which makes the scan more performance-friendly for some servers. If this fixes the issue and scans run again, you can leave all the settings above except for “Enable Debugging Mode”.

    For a screenshot of my recommended Performance setting options click here.

    Thanks,
    Peter.

Viewing 1 replies (of 1 total)
  • The topic ‘Scan Stage Failed?A scan stage has failed to start. This is often because the’ is closed to new replies.