• Resolved Vlad.C

    (@vladc-1)


    I always get the following error when running a scan: “The scan has failed to start. This is often because the site either cannot make outbound requests or is blocked from connecting to itself. Click here for steps you can try.”

    I’ve tried the troubleshooting from here, but didn’t change anything.

    I’ve also changed the “Maximum execution time for each scan stage” to 20 and enabled debugging mode.

    Here is the log I get:

    [Mar 08 14:04:50] Calling Wordfence API v2.26:https://noc1.wordfence.com/v2.26/?k=fbf2fabef7ef8cbf6bfbb749e4b2bf44777b8f2f813e8448c9f9008df6ba1714123b2ca49614224b273698f477380309f4499e6e97fe0bf450dd6690c85f0b70&s=eyJ3cCI6IjUuNi4yIiwid2YiOiI3LjQuMTQiLCJtcyI6ZmFsc2UsImgiOiJodHRwczpcL1wvbG9jYWxuaWMucm8iLCJzc2x2IjoyNjk0ODgzMDMsInB2IjoiNy40LjE2IiwicHQiOiJmcG0tZmNnaSIsImN2IjoiNy42OC4wIiwiY3MiOiJPcGVuU1NMXC8xLjEuMWoiLCJzdiI6Im5naW54XC8xLjE4LjAiLCJkdiI6IjEwLjQuMTgtTWFyaWFEQi0xOjEwLjQuMTgrbWFyaWF-Zm9jYWwtbG9nIn0&betaFeed=0&action=timestamp
    [Mar 08 14:05:06] Scan stop request received.
    [Mar 08 14:05:12] Ajax request received to start scan.
    [Mar 08 14:05:12] Entering start scan routine
    [Mar 08 14:05:12] Got value from wf config maxExecutionTime: 20
    [Mar 08 14:05:12] getMaxExecutionTime() returning config value: 20
    [Mar 08 14:05:12] Starting cron via proxy at URL https://noc1.wordfence.com/scanp/localnic.ro/wp-admin/admin-ajax.php?action=wordfence_doScan&isFork=0&scanMode=custom&cronKey=650573e1f7aae83247f55360dbaa6966&k=fbf2fabef7ef8cbf6bfbb749e4b2bf44777b8f2f813e8448c9f9008df6ba1714123b2ca49614224b273698f477380309f4499e6e97fe0bf450dd6690c85f0b70&ssl=1&signature=1595c89d01650f36166da46939853d9fd5b37fd15077563859aaea95c8135e9f
    [Mar 08 14:05:13] Scan process ended after forking.

    Any help toward making your plugin work would be really appreciated.

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

    (@wfadam)

    Hello @vladc-1 and thanks for reaching out to us!

    Can you send a diagnostic report to wftest @ wordfence . com? You can find the link to do so at the top of the Wordfence Tools > Diagnostics page. Then click on “Send Report by Email”. Please add your forum username where indicated and respond here after you have sent it.

    Thanks again!

    Thread Starter Vlad.C

    (@vladc-1)

    Hello Adam,

    I’ve sent the report and put @vladc-1 as my Ticket Number/Forum username.

    Plugin Support WFAdam

    (@wfadam)

    Thanks for sending that diagnostic!

    It looks like your site is using Cloudflare as its CDN. First, head over to your site and go to Wordfence > All Options > General Wordfence Options > How does Wordfence get IPs and select “Use the Cloudflare “CF-Connecting-IP” HTTP header to get a visitor IP. Only use if you’re using Cloudflare.” and then Save the settings.

    Now navigate over to your Cloudflare settings:

    • Login to Cloudflare
    • Go to “Firewall”
    • Click the “Firewall Rules” tab
    • Click “Create a Firewall rule”
    • Name the rule under “Rule Name”
    • Set the “Field” under “When incoming requests match…” to “IP Address”
    • Enter your site’s IP address under “Value”
    • At the bottom, under “Then…Choose an action” change “Block” to “Allow”
    • Click “Deploy

    Once you have added your site to the Cloudflare Whitelist, head back over to your site and attempt another scan.

    Let me know if this helps and if you have any questions!

    Thanks again!

    Thread Starter Vlad.C

    (@vladc-1)

    Thank you, Adam! That worked!

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    @vladc-1 I Unless it is an extreme case, posts and replies are not edited here.

    Forum topics will only be edited or deleted if they represent a valid legal, security, or safety concern.

    See https://www.ads-software.com/support/guidelines/#deleting-editing-posts and https://www.ads-software.com/about/privacy/

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    @vladc-1 Again: I’m sorry, but that is only done in extreme cases.

    https://www.ads-software.com/support/forum-user-guide/faq/#will-you-delete-my-post-or-my-link-within-my-post

    Search engine hits are never considered extreme. The post will not be edited or deleted.

    Do not report this topic a 4th time.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    @vladc-1
    As noted above, no. If you wish to take issue with this, contact moderators via the #forums channel on slack (https://make.www.ads-software.com/slack)

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