• Resolved vipini

    (@vipini)


    Hi i cannot scan with wordfence:
    It keeps saying scan stage failed and stops the scan.
    I tried to activate only scan with ipv4 option because ipv6 ip seems not connecting. But it didnt work.
    I also tried remote scan option but it didnt work either.

    Here 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.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter vipini

    (@vipini)

    I followed the steps on debugging of this post:
    https://ww.wp.xz.cn/support/topic/scan-failed-the-scan-has-failed-to-start-this-is-often-because-the-site-either-5/

    Here is the last 20 line of the log of scan:

    [Nov 26 10:00:13:1669456813.121753:4:info] Calling Wordfence API v2.26:https://noc1.wordfence.com/v2.26/?k=02eafbfe279c483ac6ac983fc2a556ccc33da60ebe1c4afecfa903b469a58b6fddea9732658281830006b5d38c0913c11bcc4ba10f8dc52102821e0795d4b8e19fa5c981393eb46cba84a351fb76edf3&s=eyJ3cCI6IjYuMS4xIiwid2YiOiI3LjcuMSIsIm1zIjpmYWxzZSwiaCI6Imh0dHBzOlwvXC93d3cudmludGFnZXBvcm5iYXkuY29tIiwic3NsdiI6MjY5NDg4Mzk5LCJwdiI6IjcuNC4zMyIsInB0IjoibGl0ZXNwZWVkIiwiY3YiOiI3LjcxLjAiLCJjcyI6Ik9wZW5TU0xcLzEuMS4xcCIsInN2IjoiTGl0ZVNwZWVkIiwiZHYiOiIxMC4zLjM3LU1hcmlhREIiLCJsYW5nIjoiIn0&action=timestamp
    [Nov 26 09:06:53:1669453613.718988:2:info] Attempting to resume scan stage (0 attempt(s) remaining)...
    [Nov 26 09:05:42:1669453542.178776:2:info] Attempting to resume scan stage (1 attempt(s) remaining)...
    [Nov 26 08:55:17:1669452917.644840:10:info] SUM_KILLED:A request was received to stop the previous scan.
    [Nov 26 08:55:17:1669452917.644358:1:info] Scan stop request received.
    [Nov 26 05:32:31:1669440751.251136:2:info] Attempting to resume scan stage (0 attempt(s) remaining)...
    [Nov 26 05:31:17:1669440677.310981:2:info] Attempting to resume scan stage (1 attempt(s) remaining)...
    [Nov 26 04:10:39:1669435839.089975:2:info] Attempting to resume scan stage (0 attempt(s) remaining)...
    [Nov 26 04:08:57:1669435737.893317:2:info] Attempting to resume scan stage (1 attempt(s) remaining)...
    [Nov 26 04:07:21:1669435641.938529:10:info] SUM_KILLED:A request was received to stop the previous scan.
    [Nov 26 04:07:21:1669435641.937917:1:info] Scan stop request received.
    [Nov 26 03:56:52:1669435012.998679:2:info] Attempting to resume scan stage (0 attempt(s) remaining)...
    [Nov 26 03:55:48:1669434948.356568:2:info] Attempting to resume scan stage (1 attempt(s) remaining)...
    [Nov 26 02:23:17:1669429397.953840:2:error] IP Location Error: Failed to locate IP address: Reading 6 byte(s) from file failed
    [Nov 26 02:23:06:1669429386.404945:2:error] IP Location Error: Failed to locate IP address: Reading 1 byte(s) from file failed
    [Nov 25 14:24:26:1669386266.488812:10:info] SUM_KILLED:A request was received to stop the previous scan.
    [Nov 25 14:24:26:1669386266.488467:1:info] Scan stop request received.
    [Nov 25 05:32:25:1669354345.001370:2:info] Attempting to resume scan stage (0 attempt(s) remaining)...
    [Nov 25 05:31:21:1669354281.386067:2:info] Attempting to resume scan stage (1 attempt(s) remaining)...
    [Nov 25 03:00:26:1669345226.168283:2:error] IP Location Error: Failed to locate IP address: Reading 6 byte(s) from file failed
    • This reply was modified 3 years, 6 months ago by vipini.
    Thread Starter vipini

    (@vipini)

    I also tried to do these things but didnt work:
    – using only ipv4 for scan option enabled
    – added server ip into the cloudflare firewall rule as allowed
    – disabled and re enabled remote scan option
    – looked over htaccess for any code that blocks directory

    None worked!

    Thread Starter vipini

    (@vipini)

    Hi
    Any help on this issue?
    I updated wordfence but this problem still continues.

    Can you send a report from the diagnostics page to wftest [at] wordfence [dot] com? Make sure and add your forum username (@vipini) where indicated. I need to see the connectivity section specifically but include the whole report please.

    – Mia

    Thread Starter vipini

    (@vipini)

    Hi @wfsupport
    I’ve sent the report from diagnostic page to the email you mentioned.
    I also want to mention this problem on diagnostic page:

    Connecting back to this site via IPv6 (not required; failure to connect may not be an issue on some sites) (opens in new tab)
    wp_remote_post() test back to this server failed! Response was: cURL error 7:

    However it connects to the site via ipv4. So there is no problem with ipv4 on diagnostic page.

    But the scan still doesnt work.

    Thread Starter vipini

    (@vipini)

    Hello again,
    I tried these things:
    Max execution time on wf settings set to 20
    Max memory on wf settings: 256
    Unchecked remote scan
    And max execution time on cpanel setting set to 30

    Now the scan starts however after some time with 7000-14000 files indexed it fails and the server state is orange always.

    The error on the diagnostics page means that IPv6 isn’t available on the site. As it mentions that shouldn’t be an issue.


    Can you try adding error_log to the list of files to skip On the Scan > Scan Options and Scheduling page in the Advanced Scan Options section? Also turn off the scan option “Scan images, binary, and other files as if they were executable” in the General Options section. Save the changes and try a new scan.
    Mia

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Scan Stage Failed Error’ is closed to new replies.