Scan Stage Failed
-
Wordfence scan is failing with this message: “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.”I have migrated this website to it’s current server yesterday. Wordfence scan was working before migration. I have migrated other websites to this server and Wordfence scan working fine on all of them. I tried deleting Wordfence and all it’s data and reinstalling it but that didn’t change anything. I’ve increased Maximum execution time to 40 but no difference. It fails after just a few seconds.
I turned on debugging and this is the log (**************some details redacted in case it’s a security issue):
[Oct 05 11:12:19] Ajax request received to start scan.
[Oct 05 11:12:19] Entering start scan routine
[Oct 05 11:12:19] Got value from wf config maxExecutionTime: 40
[Oct 05 11:12:19] getMaxExecutionTime() returning config value: 40
[Oct 05 11:12:20] Test result of scan start URL fetch: array ( ‘headers’ => WpOrg\Requests\Utility\CaseInsensitiveDictionary::__set_state(array( ‘data’ => array ( ‘date’ => ‘Wed, 04 Oct 2023 22:12:19 GMT’, ‘server’ => ‘Apache’, ‘x-powered-by’ => ‘PHP/7.3.33’, ‘x-robots-tag’ => ‘noindex’, ‘x-content-type-options’ => ‘nosniff’, ‘expires’ => ‘Wed, 11 Jan 1984 05:00:00 GMT’, ‘cache-control’ => ‘no-cache, must-revalidate, max-age=0’, ‘referrer-policy’ => ‘strict-origin-when-cross-origin’, ‘x-frame-options’ => ‘SAMEORIGIN’, ‘upgrade’ => ‘h2,h2c’, ‘vary’ => ‘Accept-Encoding’, ‘content-encoding’ => ‘gzip’, ‘content-length’ => ’32’, ‘content-type’ => ‘text/html; charset=UTF-8’, ), )), ‘body’ => ‘WFSCANTESTOK’, ‘response’ => array ( ‘code’ => 200, ‘message’ => ‘OK’, ), ‘cookies’ => array ( ), ‘filename’ => NULL, ‘http_response’ => WP_HTTP_Requests_Response::__set_state(array(
[Oct 05 11:12:20] Starting cron with normal ajax at URL https://**************/wp-admin/admin-ajax.php?action=wordfence_doScan&isFork=0&scanMode=custom&cronKey=**************&signature=**************
[Oct 05 11:12:21] Scan process ended after forking.The page I need help with: [log in to see the link]
- The topic ‘Scan Stage Failed’ is closed to new replies.