• Resolved sbct

    (@sbct)


    Hello there!
    I’m contacting you because Im getting this error:

    “Scan Failed
    The scan has failed to start. This is often because the site either cannot make outbound requests or is blocked from connecting to itself.”

    I’ve seen some possible solutions: checking if HTACCESS is present in the WP_ADMIN folder (not working), using remote scan (not working), check admin-ajax.php (it’s 0), WP-ADMIN is not password protected.

    Can you please help me? Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support WFAdam

    (@wfadam)

    Hello @sbct and thanks for reaching out to us!

    If you could do the following steps to get me some more information on what is happening during your scan.

    • 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 in the post.

    On occasion, this fixes it straight away. That’s because 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. If this fixes the issue and scans run again, you can leave all the settings above except for “Enable Debugging Mode”.

    Let me know if this helps or just post the results!

    Thanks!

    Thread Starter sbct

    (@sbct)

    Hello @wfadam,
    Thanks for your help! Unfortunately changing the value to 20 didn’t help.

    Here’s the log:

    https://dpaste.com/6HMSLS9A4.txt


    [Large code excerpt removed by moderator per our FAQ. Please use Pastebin or a Gist for all large code excerpts, they work better anyway.]

    I hope we can figure out the error.

    Tanks!
    Andrea

    • This reply was modified 4 years, 3 months ago by Yui.
    • This reply was modified 4 years, 3 months ago by Yui. Reason: large code excerpt moderated
    Plugin Support WFAdam

    (@wfadam)

    Hello again @sbct

    Try running through some of the steps on this website:
    https://www.wordfence.com/help/scan/troubleshooting/#if-your-scans-arent-starting

    I also recall seeing this issue with some older SSL versions on the hosting end too.

    Let me know if this helps or if we need to dive any deeper.

    Thanks!

    Thread Starter sbct

    (@sbct)

    Hello again @wfadam,
    I’ve tried to do what written in the article but nothing changed.

    Do I need to do something else?

    Thanks!

    Plugin Support WFAdam

    (@wfadam)

    Hello @sbct

    At this point, I would recommend resetting Wordfence. Something is preventing it from running.

    You can follow https://www.wordfence.com/help/advanced/remove-or-reset/#remove-or-reset or install the Wordfence Assitant Plugin to help.

    After that, try to scan, and let’s see if that helps.

    Let me know if it’s successful.

    Thanks!

    Thread Starter sbct

    (@sbct)

    Hello @wfadam,
    I’ve reset WF and it is now working properly!

    Thanks for your help =)

    Andrea

    Plugin Support WFAdam

    (@wfadam)

    Glad to hear that @sbct !

    Let us know if you need anything else!

    Thanks again!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Scan Failed’ is closed to new replies.