cottboy
Forum Replies Created
-
Thank you for your reply,
I am not using any plugin that displays a maintenance page. The maintenance page is displayed through CDN and does not affect the scan operation. The reason for showing the maintenance page is that I wanted to reinstall the VPS system.
It is worth noting that after reinstalling the system, the first scan failed at step two. When I tried scanning again, it returned to the state where the scan could not start.
If you would like to access the debugging parameters by visiting the page https://www.joyfamily.top/wp-admin/admin-ajax.php?action=wordfence_testAjax, you can now access it. The page only displays “WFSCANTESTOK”.
I have sent the scan logs and web logs via email. I look forward to your reply.
Hi there,
I wanted to check in and ask if there’s any update on resolving the scanning cannot start issue? It’s been a few days since my last message, and I’d really appreciate any guidance or next steps you might suggest.
Thank you for your time and support!
Oh, sorry, do you mean setting max_execution_time to 60, instead of setting it to 60 or higher?
I have already adjusted max_execution_time to 60. The scan now seems to shift from failing to start at all to getting stuck at the first step. Below is the scan log:[Jul 05 00:03:44:1751645024.966220:4:info] Calling Wordfence API v2.26:https://noc1.wordfence.com/v2.26/?k=b0f70517bc7866584f4d04d6053f431e84c4e486d12e1a5cdf7c03064d133dfe6e53f4841491c3cb9fbabb9a683e1a682600ae20b05d8a5d849ec48f69245a1c&s=eyJ3cCI6IjYuOC4xIiwid2YiOiI4LjAuNSIsIm1zIjpmYWxzZSwiaCI6Imh0dHBzOlwvXC93d3cuam95ZmFtaWx5LnRvcCIsInNzbHYiOjI2OTQ4ODM4MywicHYiOiI4LjAuMjYiLCJwdCI6ImZwbS1mY2dpIiwiY3YiOiI3Ljc0LjAiLCJjcyI6Ik9wZW5TU0xcLzEuMS4xbyIsInN2IjoibmdpbnhcLzEuMjQuMCIsImR2IjoiNS43LjQzLWxvZyIsImxhbmciOiIifQ&action=resolve_ips
[Jul 04 23:49:46:1751644186.147083:4:info] Calling Wordfence API v2.26:https://noc1.wordfence.com/v2.26/?k=b0f70517bc7866584f4d04d6053f431e84c4e486d12e1a5cdf7c03064d133dfe6e53f4841491c3cb9fbabb9a683e1a682600ae20b05d8a5d849ec48f69245a1c&s=eyJ3cCI6IjYuOC4xIiwid2YiOiI4LjAuNSIsIm1zIjpmYWxzZSwiaCI6Imh0dHBzOlwvXC93d3cuam95ZmFtaWx5LnRvcCIsInNzbHYiOjI2OTQ4ODM4MywicHYiOiI4LjAuMjYiLCJwdCI6ImZwbS1mY2dpIiwiY3YiOiI3Ljc0LjAiLCJjcyI6Ik9wZW5TU0xcLzEuMS4xbyIsInN2IjoibmdpbnhcLzEuMjQuMCIsImR2IjoiNS43LjQzLWxvZyIsImxhbmciOiIifQ&action=timestamp
[Jul 04 23:44:58:1751643898.012883:4:info] Scan process ended after forking.
[Jul 04 23:44:57:1751643897.881707:4:info] Starting cron with normal ajax at URL https://www.joyfamily.top/wp-admin/admin-ajax.php?action=wordfence_doScan&isFork=0&scanMode=custom&cronKey=c02eb1acb10572b33db71568785df3b5&signature=601888ac7ee7cecfc2ad05e77f4c220d692d34bc2f1e59464c79387c7d60b664
[Jul 04 23:44:57:1751643897.874670:4:info] Test result of scan start URL fetch: array ( 'headers' => WpOrg\Requests\Utility\CaseInsensitiveDictionary::__set_state(array( 'data' => array ( 'cache-control' => 'no-cache, must-revalidate, max-age=0, no-store, private', 'content-encoding' => 'gzip', 'content-type' => 'text/html; charset=UTF-8', 'date' => 'Fri, 04 Jul 2025 15:44:57 GMT', 'expires' => 'Wed, 11 Jan 1984 05:00:00 GMT', 'referrer-policy' => 'strict-origin-when-cross-origin', 'server' => 'nginx', 'strict-transport-security' => 'max-age=31536000', 'vary' => 'Accept-Encoding', 'x-cache' => 'BYPASS', 'x-content-type-options' => 'nosniff', 'x-frame-options' => 'SAMEORIGIN', 'x-robots-tag' => 'noindex', 'content-length' => '32', ), )), 'body' => 'WFSCANTESTOK', 'response' => array ( 'code' => 200, 'message' => 'OK', ), 'cookies' => array ( ), 'filename' => NULL, 'http_response' => WP_HTTP_Requ
[Jul 04 23:44:57:1751643897.038536:4:info] getMaxExecutionTime() returning config value: 20
[Jul 04 23:44:57:1751643897.035890:4:info] Got value from wf config maxExecutionTime: 20
[Jul 04 23:44:57:1751643897.028060:4:info] Entering start scan routine
[Jul 04 23:44:57:1751643897.022469:2:info] Attempting to resume scan stage (0 attempt(s) remaining)...
[Jul 04 23:43:55:1751643835.985087:4:info] Scan process ended after forking.
[Jul 04 23:43:55:1751643835.958521:4:info] Starting cron with normal ajax at URL https://www.joyfamily.top/wp-admin/admin-ajax.php?action=wordfence_doScan&isFork=0&scanMode=custom&cronKey=9335fa2a4e24cd71e5eb3d7145e6ad23&signature=bb825fb4ffd9d8876561dcc5d2feb3ec11838c42508225bcf4507de1324fabe7
[Jul 04 23:43:55:1751643835.951502:4:info] Test result of scan start URL fetch: array ( 'headers' => WpOrg\Requests\Utility\CaseInsensitiveDictionary::__set_state(array( 'data' => array ( 'cache-control' => 'no-cache, must-revalidate, max-age=0, no-store, private', 'content-encoding' => 'gzip', 'content-type' => 'text/html; charset=UTF-8', 'date' => 'Fri, 04 Jul 2025 15:43:55 GMT', 'expires' => 'Wed, 11 Jan 1984 05:00:00 GMT', 'referrer-policy' => 'strict-origin-when-cross-origin', 'server' => 'nginx', 'strict-transport-security' => 'max-age=31536000', 'vary' => 'Accept-Encoding', 'x-cache' => 'BYPASS', 'x-content-type-options' => 'nosniff', 'x-frame-options' => 'SAMEORIGIN', 'x-robots-tag' => 'noindex', 'content-length' => '32', ), )), 'body' => 'WFSCANTESTOK', 'response' => array ( 'code' => 200, 'message' => 'OK', ), 'cookies' => array ( ), 'filename' => NULL, 'http_response' => WP_HTTP_Requ
[Jul 04 23:43:55:1751643835.722577:4:info] getMaxExecutionTime() returning config value: 20
[Jul 04 23:43:55:1751643835.720264:4:info] Got value from wf config maxExecutionTime: 20
[Jul 04 23:43:55:1751643835.715467:4:info] Entering start scan routine
[Jul 04 23:43:55:1751643835.709761:2:info] Attempting to resume scan stage (1 attempt(s) remaining)...
[Jul 04 23:42:27:1751643747.634977:4:info] Scan process ended after forking.
[Jul 04 23:42:27:1751643747.504536:4:info] Starting cron with normal ajax at URL https://www.joyfamily.top/wp-admin/admin-ajax.php?action=wordfence_doScan&isFork=0&scanMode=custom&cronKey=0982ed41da73ba2de41a7b4cd21d697b&signature=a4b38790d9606bd831c7c7f8fdb4230c7e51773a7d0dca231c84849e557dfead
[Jul 04 23:42:27:1751643747.496024:4:info] Test result of scan start URL fetch: array ( 'headers' => WpOrg\Requests\Utility\CaseInsensitiveDictionary::__set_state(array( 'data' => array ( 'cache-control' => 'no-cache, must-revalidate, max-age=0, no-store, private', 'content-encoding' => 'gzip', 'content-type' => 'text/html; charset=UTF-8', 'date' => 'Fri, 04 Jul 2025 15:42:27 GMT', 'expires' => 'Wed, 11 Jan 1984 05:00:00 GMT', 'referrer-policy' => 'strict-origin-when-cross-origin', 'server' => 'nginx', 'strict-transport-security' => 'max-age=31536000', 'vary' => 'Accept-Encoding', 'x-cache' => 'BYPASS', 'x-content-type-options' => 'nosniff', 'x-frame-options' => 'SAMEORIGIN', 'x-robots-tag' => 'noindex', 'content-length' => '32', ), )), 'body' => 'WFSCANTESTOK', 'response' => array ( 'code' => 200, 'message' => 'OK', ), 'cookies' => array ( ), 'filename' => NULL, 'http_response' => WP_HTTP_Requ
[Jul 04 23:42:26:1751643746.774961:4:info] getMaxExecutionTime() returning config value: 20
[Jul 04 23:42:26:1751643746.774010:4:info] Got value from wf config maxExecutionTime: 20
[Jul 04 23:42:26:1751643746.768868:4:info] Entering start scan routine
[Jul 04 23:42:26:1751643746.764327:2:info] Attempting to resume scan stage (2 attempt(s) remaining)...
[Jul 04 23:40:48:1751643648.533290:4:info] Scan process ended after forking.
[Jul 04 23:40:48:1751643648.502335:4:info] Starting cron with normal ajax at URL https://www.joyfamily.top/wp-admin/admin-ajax.php?action=wordfence_doScan&isFork=0&scanMode=custom&cronKey=37e4213a8986ac56a118e07d0efc642e&signature=d2e0f8b2125720c45e42031479706cb6e11d6244b63a2fb21a6462f2ea34de81
[Jul 04 23:40:48:1751643648.493615:4:info] Test result of scan start URL fetch: array ( 'headers' => WpOrg\Requests\Utility\CaseInsensitiveDictionary::__set_state(array( 'data' => array ( 'cache-control' => 'no-cache, must-revalidate, max-age=0, no-store, private', 'content-encoding' => 'gzip', 'content-type' => 'text/html; charset=UTF-8', 'date' => 'Fri, 04 Jul 2025 15:40:48 GMT', 'expires' => 'Wed, 11 Jan 1984 05:00:00 GMT', 'referrer-policy' => 'strict-origin-when-cross-origin', 'server' => 'nginx', 'strict-transport-security' => 'max-age=31536000', 'vary' => 'Accept-Encoding', 'x-cache' => 'BYPASS', 'x-content-type-options' => 'nosniff', 'x-frame-options' => 'SAMEORIGIN', 'x-robots-tag' => 'noindex', 'content-length' => '32', ), )), 'body' => 'WFSCANTESTOK', 'response' => array ( 'code' => 200, 'message' => 'OK', ), 'cookies' => array ( ), 'filename' => NULL, 'http_response' => WP_HTTP_Requ
[Jul 04 23:40:47:1751643647.676669:4:info] getMaxExecutionTime() returning config value: 20
[Jul 04 23:40:47:1751643647.674634:4:info] Got value from wf config maxExecutionTime: 20
[Jul 04 23:40:47:1751643647.659437:4:info] Entering start scan routine
[Jul 04 23:40:47:1751643647.652377:4:info] Ajax request received to start scan.The method I currently use for Wordfence to retrieve IPs is the X-Forwarded-For header. Everything works normally with the X-Forwarded-For header, but Wordfence keeps alerting me to use the X-Real-IP header instead.


Thank you for your response. I have made the following adjustments:
max_execution_time , It is already set to 300 (no adjustment needed).
Adjusted the memory_limit to 256M.
Added the following code to the wp-config.php file:
define( 'WP_MEMORY_LIMIT', '256M' );
define( 'WP_MAX_MEMORY_LIMIT', '256M' );The scan still failed. Below is the scan log:
[Jul 04 05:27:57:1751578077.333379:4:info] Scan process ended after forking.
[Jul 04 05:27:57:1751578077.205381:4:info] Starting cron with normal ajax at URL https://www.joyfamily.top/wp-admin/admin-ajax.php?action=wordfence_doScan&isFork=0&scanMode=custom&cronKey=ea1c2163d6a79f53bc896ee03b7fc5d8&signature=006eec3d7adfd98cd2982f1e732989bf9d905a69b4324ca31aea53769d87fb50
[Jul 04 05:27:57:1751578077.197255:4:info] Test result of scan start URL fetch: array ( 'headers' => WpOrg\Requests\Utility\CaseInsensitiveDictionary::__set_state(array( 'data' => array ( 'cache-control' => 'no-cache, must-revalidate, max-age=0, no-store, private', 'content-encoding' => 'gzip', 'content-type' => 'text/html; charset=UTF-8', 'date' => 'Thu, 03 Jul 2025 21:27:57 GMT', 'expires' => 'Wed, 11 Jan 1984 05:00:00 GMT', 'referrer-policy' => 'strict-origin-when-cross-origin', 'server' => 'nginx', 'strict-transport-security' => 'max-age=31536000', 'vary' => 'Accept-Encoding', 'x-cache' => 'BYPASS', 'x-content-type-options' => 'nosniff', 'x-frame-options' => 'SAMEORIGIN', 'x-robots-tag' => 'noindex', 'content-length' => '32', ), )), 'body' => 'WFSCANTESTOK', 'response' => array ( 'code' => 200, 'message' => 'OK', ), 'cookies' => array ( ), 'filename' => NULL, 'http_response' => WP_HTTP_Requ
[Jul 04 05:27:56:1751578076.747025:4:info] getMaxExecutionTime() returning config value: 20
[Jul 04 05:27:56:1751578076.746003:4:info] Got value from wf config maxExecutionTime: 20
[Jul 04 05:27:56:1751578076.739276:4:info] Entering start scan routine
[Jul 04 05:27:56:1751578076.732827:2:info] Attempting to resume scan stage (0 attempt(s) remaining)...
[Jul 04 05:26:44:1751578004.705487:4:info] Scan process ended after forking.
[Jul 04 05:26:44:1751578004.680169:4:info] Starting cron with normal ajax at URL https://www.joyfamily.top/wp-admin/admin-ajax.php?action=wordfence_doScan&isFork=0&scanMode=custom&cronKey=816a082f0528711af5270b5731fa2a5b&signature=cf9415218166efd3d9da483fda455309e50578c2cabcec7b02e1ff0a3e1715f4
[Jul 04 05:26:44:1751578004.672778:4:info] Test result of scan start URL fetch: array ( 'headers' => WpOrg\Requests\Utility\CaseInsensitiveDictionary::__set_state(array( 'data' => array ( 'cache-control' => 'no-cache, must-revalidate, max-age=0, no-store, private', 'content-encoding' => 'gzip', 'content-type' => 'text/html; charset=UTF-8', 'date' => 'Thu, 03 Jul 2025 21:26:44 GMT', 'expires' => 'Wed, 11 Jan 1984 05:00:00 GMT', 'referrer-policy' => 'strict-origin-when-cross-origin', 'server' => 'nginx', 'strict-transport-security' => 'max-age=31536000', 'vary' => 'Accept-Encoding', 'x-cache' => 'BYPASS', 'x-content-type-options' => 'nosniff', 'x-frame-options' => 'SAMEORIGIN', 'x-robots-tag' => 'noindex', 'content-length' => '32', ), )), 'body' => 'WFSCANTESTOK', 'response' => array ( 'code' => 200, 'message' => 'OK', ), 'cookies' => array ( ), 'filename' => NULL, 'http_response' => WP_HTTP_Requ
[Jul 04 05:26:44:1751578004.271852:4:info] getMaxExecutionTime() returning config value: 20
[Jul 04 05:26:44:1751578004.270675:4:info] Got value from wf config maxExecutionTime: 20
[Jul 04 05:26:44:1751578004.264042:4:info] Entering start scan routine
[Jul 04 05:26:44:1751578004.259681:2:info] Attempting to resume scan stage (1 attempt(s) remaining)...
[Jul 04 05:25:44:1751577944.393376:4:info] Scan process ended after forking.
[Jul 04 05:25:44:1751577944.275578:4:info] Starting cron with normal ajax at URL https://www.joyfamily.top/wp-admin/admin-ajax.php?action=wordfence_doScan&isFork=0&scanMode=custom&cronKey=f1df9bf1b229fed901d2fd4caabaaff0&signature=11a6a5677ebca35161f41898c01752e386c14da19aefffdd6ca97cde0048097b
[Jul 04 05:25:44:1751577944.268930:4:info] Test result of scan start URL fetch: array ( 'headers' => WpOrg\Requests\Utility\CaseInsensitiveDictionary::__set_state(array( 'data' => array ( 'cache-control' => 'no-cache, must-revalidate, max-age=0, no-store, private', 'content-encoding' => 'gzip', 'content-type' => 'text/html; charset=UTF-8', 'date' => 'Thu, 03 Jul 2025 21:25:44 GMT', 'expires' => 'Wed, 11 Jan 1984 05:00:00 GMT', 'referrer-policy' => 'strict-origin-when-cross-origin', 'server' => 'nginx', 'strict-transport-security' => 'max-age=31536000', 'vary' => 'Accept-Encoding', 'x-cache' => 'BYPASS', 'x-content-type-options' => 'nosniff', 'x-frame-options' => 'SAMEORIGIN', 'x-robots-tag' => 'noindex', 'content-length' => '32', ), )), 'body' => 'WFSCANTESTOK', 'response' => array ( 'code' => 200, 'message' => 'OK', ), 'cookies' => array ( ), 'filename' => NULL, 'http_response' => WP_HTTP_Requ
[Jul 04 05:25:44:1751577944.034584:4:info] getMaxExecutionTime() returning config value: 20
[Jul 04 05:25:44:1751577944.032492:4:info] Got value from wf config maxExecutionTime: 20
[Jul 04 05:25:44:1751577944.026511:4:info] Entering start scan routine
[Jul 04 05:25:44:1751577944.022694:2:info] Attempting to resume scan stage (2 attempt(s) remaining)...
[Jul 04 05:24:56:1751577896.171020:4:info] Scan process ended after forking.
[Jul 04 05:24:56:1751577896.050410:4:info] Starting cron with normal ajax at URL https://www.joyfamily.top/wp-admin/admin-ajax.php?action=wordfence_doScan&isFork=0&scanMode=custom&cronKey=c223db54795f9b4879a814255af83fdb&signature=abfededbf31b010b3893f7701385581655e6cc62b986992afb383479b12b845e
[Jul 04 05:24:56:1751577896.043253:4:info] Test result of scan start URL fetch: array ( 'headers' => WpOrg\Requests\Utility\CaseInsensitiveDictionary::__set_state(array( 'data' => array ( 'cache-control' => 'no-cache, must-revalidate, max-age=0, no-store, private', 'content-encoding' => 'gzip', 'content-type' => 'text/html; charset=UTF-8', 'date' => 'Thu, 03 Jul 2025 21:24:56 GMT', 'expires' => 'Wed, 11 Jan 1984 05:00:00 GMT', 'referrer-policy' => 'strict-origin-when-cross-origin', 'server' => 'nginx', 'strict-transport-security' => 'max-age=31536000', 'vary' => 'Accept-Encoding', 'x-cache' => 'BYPASS', 'x-content-type-options' => 'nosniff', 'x-frame-options' => 'SAMEORIGIN', 'x-robots-tag' => 'noindex', 'content-length' => '32', ), )), 'body' => 'WFSCANTESTOK', 'response' => array ( 'code' => 200, 'message' => 'OK', ), 'cookies' => array ( ), 'filename' => NULL, 'http_response' => WP_HTTP_Requ
[Jul 04 05:24:55:1751577895.821374:4:info] getMaxExecutionTime() returning config value: 20
[Jul 04 05:24:55:1751577895.819747:4:info] Got value from wf config maxExecutionTime: 20
[Jul 04 05:24:55:1751577895.810892:4:info] Entering start scan routine
[Jul 04 05:24:55:1751577895.803782:4:info] Ajax request received to start scan.What should I do next?
Thank you for your reply. I have sent the report via email. Could you please let me know what to do next?