Scans not Running on Staging Sites
-
Hi,
Thank you for the great plugin.
I am using the free version of Wordfence and experiencing problems with running scans on staging sites that I have created. The scans run as expected on the live sites, but as soon as I try on the staging site (clones of the live) the scan fails to run, just providing the message: ‘Scan stop request received.’, and nothing more happens
I have tried searching on this forum, but I was unable to find anything to assist. I have also run through the troubleshooting options at https://www.wordfence.com/help/scan/troubleshooting/ without any resolutions.
Any additional recommendations are greatly appreciated.
Thank you for your time and assistance.
-
Hi @wfadam,
I left the site alone until today, so I gave it around 10 days in Learning Mode, and then went back. The site was already in the Enabled and Protecting mode, and as such the Scan did not work when I visited the site.
With regards to the staging site location, it is on Siteground and as you may or may not know they create a staging.domain subdomain for each staging site created, and this resides outside of the public_html directory on the hosting server.
I have sent another report as you kindly defined previously, and the log output shows:
[Sep 15 08:40:15:1600184415.801493:10:info] SUM_KILLED:A request was received to stop the previous scan.
[Sep 15 08:40:15:1600184415.800230:1:info] Scan stop request received.
[Sep 15 08:39:58:1600184398.223506:4:info] Calling Wordfence API v2.26:https://noc1.wordfence.com/v2.26/?k=53209ccebe3f41c3c205f4e3b0e020d8c8ba430fdff46d0ba11f695e006efb0e3d03f4ecaae01de4ead4cb3f3fe5872ecc71702ecd4714c7be43f5f4eb0f438be2114da6a772b56bf9dd38ad37d9caf2&s=eyJ3cCI6IjUuNS4xIiwid2YiOiI3LjQuMTEiLCJtcyI6ZmFsc2UsImgiOiJodHRwczpcL1wvd3d3LmNhbm5hYmlzZmFicmljcG90cy5jb20iLCJzc2x2IjoyNjg0NDM5NTEsInB2IjoiNy4zLjE2IiwicHQiOiJjZ2ktZmNnaSIsImN2IjoiNy41OS4wIiwiY3MiOiJPcGVuU1NMXC8xLjAuMnIiLCJzdiI6IkFwYWNoZSIsImR2IjpudWxsfQ&betaFeed=0&action=timestamp
[Sep 15 08:35:51:1600184151.805158:4:info] Calling Wordfence API v2.26:https://noc1.wordfence.com/v2.26/?k=53209ccebe3f41c3c205f4e3b0e020d8c8ba430fdff46d0ba11f695e006efb0e3d03f4ecaae01de4ead4cb3f3fe5872ecc71702ecd4714c7be43f5f4eb0f438be2114da6a772b56bf9dd38ad37d9caf2&s=eyJ3cCI6IjUuNS4xIiwid2YiOiI3LjQuMTEiLCJtcyI6ZmFsc2UsImgiOiJodHRwczpcL1wvd3d3LmNhbm5hYmlzZmFicmljcG90cy5jb20iLCJzc2x2IjoyNjg0NDM5NTEsInB2IjoiNy4zLjE2IiwicHQiOiJjZ2ktZmNnaSIsImN2IjoiNy41OS4wIiwiY3MiOiJPcGVuU1NMXC8xLjAuMnIiLCJzdiI6IkFwYWNoZSIsImR2IjpudWxsfQ&betaFeed=0&action=timestamp
[Sep 15 08:29:23:1600183763.731740:4:info] Calling Wordfence API v2.26:https://noc1.wordfence.com/v2.26/?k=53209ccebe3f41c3c205f4e3b0e020d8c8ba430fdff46d0ba11f695e006efb0e3d03f4ecaae01de4ead4cb3f3fe5872ecc71702ecd4714c7be43f5f4eb0f438be2114da6a772b56bf9dd38ad37d9caf2&s=eyJ3cCI6IjUuNS4xIiwid2YiOiI3LjQuMTEiLCJtcyI6ZmFsc2UsImgiOiJodHRwczpcL1wvd3d3LmNhbm5hYmlzZmFicmljcG90cy5jb20iLCJzc2x2IjoyNjg0NDM5NTEsInB2IjoiNy4zLjE2IiwicHQiOiJjZ2ktZmNnaSIsImN2IjoiNy41OS4wIiwiY3MiOiJPcGVuU1NMXC8xLjAuMnIiLCJzdiI6IkFwYWNoZSIsImR2IjpudWxsfQ&betaFeed=0&action=plugin_vulnerability_check
[Sep 15 08:28:56:1600183736.231494:4:info] Calling Wordfence API v2.26:https://noc1.wordfence.com/stats.json
[Sep 15 04:51:04:1600170664.602213:4:info] Scan process ended after forking.
[Sep 15 04:51:04:1600170664.275823:4:info] Starting cron with normal ajax at URL https://<domain name>/wp-admin/admin-ajax.php?action=wordfence_doScan&isFork=0&scanMode=standard&cronKey=1e411d762921ed73dcf9ddc42d11fc07&signature=b6c8abc84a12e441a926514c5fe4bc8da6a8e5fbf36278ad3b996da4b5817cdf
[Sep 15 04:51:04:1600170664.274825:4:info] Test result of scan start URL fetch: array ( ‘headers’ => Requests_Utility_CaseInsensitiveDictionary::__set_state(array( ‘data’ => array ( ‘server’ => ‘nginx’, ‘date’ => ‘Tue, 15 Sep 2020 11:51:04 GMT’, ‘content-type’ => ‘text/html; charset=UTF-8’, ‘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’, ‘x-frame-options’ => ‘SAMEORIGIN’, ‘referrer-policy’ => ‘strict-origin-when-cross-origin’, ‘strict-transport-security’ => ‘max-age=300’, ‘alt-svc’ => ‘quic=”:443″; ma=86400; v=”43,39″‘, ‘host-header’ => ‘624d5be7be38418a3e2a818cc8b7029b’, ), )), ‘body’ => ‘WFSCANTESTOK’, ‘response’ => array ( ‘code’ => 200, ‘message’ => ‘OK’, ), ‘cookies’ => array ( ), ‘filename’ => NULL, ‘http_response’ => WP_HTTP_Requests_Response::__set_state(array( ‘response
[Sep 15 04:51:03:1600170663.732525:4:info] getMaxExecutionTime() returning config value: 20
[Sep 15 04:51:03:1600170663.732345:4:info] Got value from wf config maxExecutionTime: 20
[Sep 15 04:51:03:1600170663.731876:4:info] Entering start scan routine
[Sep 15 04:51:03:1600170663.724611:4:info] Ajax request received to start scan.
[Sep 15 04:50:54:1600170654.295317:10:info] SUM_KILLED:A request was received to stop the previous scan.
[Sep 15 04:50:54:1600170654.292101:1:info] Scan stop request received.
[Sep 15 04:48:22:1600170502.496505:4:info] Calling Wordfence API v2.26:https://noc1.wordfence.com/stats.json
[Sep 10 06:15:55:1599743755.858931:4:info] Scan process ended after forking.
[Sep 10 06:15:55:1599743755.446596:4:info] Starting cron with normal ajax at URL https://<domain name>/wp-admin/admin-ajax.php?action=wordfence_doScan&isFork=0&scanMode=standard&cronKey=ed503ec683a068137549ddad417b571a&signature=0e41444aa4060112912cab6d7f77345b7828f558834eeee4fb8cb055341f9a3e
[Sep 10 06:15:55:1599743755.443987:4:info] Test result of scan start URL fetch: array ( ‘headers’ => Requests_Utility_CaseInsensitiveDictionary::__set_state(array( ‘data’ => array ( ‘server’ => ‘nginx’, ‘date’ => ‘Thu, 10 Sep 2020 13:15:55 GMT’, ‘content-type’ => ‘text/html; charset=UTF-8’, ‘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’, ‘x-frame-options’ => ‘SAMEORIGIN’, ‘referrer-policy’ => ‘strict-origin-when-cross-origin’, ‘strict-transport-security’ => ‘max-age=300’, ‘alt-svc’ => ‘quic=”:443″; ma=86400; v=”43,39″‘, ‘host-header’ => ‘624d5be7be38418a3e2a818cc8b7029b’, ), )), ‘body’ => ‘WFSCANTESTOK’, ‘response’ => array ( ‘code’ => 200, ‘message’ => ‘OK’, ), ‘cookies’ => array ( ), ‘filename’ => NULL, ‘http_response’ => WP_HTTP_Requests_Response::__set_state(array( ‘response
[Sep 10 06:15:54:1599743754.986962:4:info] getMaxExecutionTime() returning config value: 20
[Sep 10 06:15:54:1599743754.986743:4:info] Got value from wf config maxExecutionTime: 20
[Sep 10 06:15:54:1599743754.984837:4:info] Entering start scan routine
[Sep 10 06:15:54:1599743754.980219:4:info] Ajax request received to start scan.
[Sep 10 06:15:42:1599743742.482720:4:info] Calling Wordfence API v2.26:https://noc1.wordfence.com/stats.json
[Sep 10 06:15:02:1599743702.314686:4:info] Calling Wordfence API v2.26:https://noc1.wordfence.com/v2.26/?k=53209ccebe3f41c3c205f4e3b0e020d8c8ba430fdff46d0ba11f695e006efb0e3d03f4ecaae01de4ead4cb3f3fe5872ecc71702ecd4714c7be43f5f4eb0f438be2114da6a772b56bf9dd38ad37d9caf2&s=eyJ3cCI6IjUuNS4xIiwid2YiOiI3LjQuMTEiLCJtcyI6ZmFsc2UsImgiOiJodHRwczpcL1wvd3d3LmNhbm5hYmlzZmFicmljcG90cy5jb20iLCJzc2x2IjoyNjg0NDM5NTEsInB2IjoiNy4zLjE2IiwicHQiOiJjZ2ktZmNnaSIsImN2IjoiNy41OS4wIiwiY3MiOiJPcGVuU1NMXC8xLjAuMnIiLCJzdiI6IkFwYWNoZSIsImR2IjpudWxsfQ&betaFeed=0&action=plugin_vulnerability_check
[Sep 09 12:37:02:1599680222.022312:4:info] Calling Wordfence API v2.26:https://noc1.wordfence.com/v2.26/?k=53209ccebe3f41c3c205f4e3b0e020d8c8ba430fdff46d0ba11f695e006efb0e3d03f4ecaae01de4ead4cb3f3fe5872ecc71702ecd4714c7be43f5f4eb0f438be2114da6a772b56bf9dd38ad37d9caf2&s=eyJ3cCI6IjUuNS4xIiwid2YiOiI3LjQuMTEiLCJtcyI6ZmFsc2UsImgiOiJodHRwczpcL1wvd3d3LmNhbm5hYmlzZmFicmljcG90cy5jb20iLCJzc2x2IjoyNjg0NDM5NTEsInB2IjoiNy4zLjE2IiwicHQiOiJjZ2ktZmNnaSIsImN2IjoiNy41OS4wIiwiY3MiOiJPcGVuU1NMXC8xLjAuMnIiLCJzdiI6IkFwYWNoZSIsImR2IjpudWxsfQ&betaFeed=0&action=plugin_vulnerability_check
[Sep 08 17:09:50:1599610190.149686:4:info] Calling Wordfence API v2.26:https://noc1.wordfence.com/v2.26/?k=53209ccebe3f41c3c205f4e3b0e020d8c8ba430fdff46d0ba11f695e006efb0e3d03f4ecaae01de4ead4cb3f3fe5872ecc71702ecd4714c7be43f5f4eb0f438be2114da6a772b56bf9dd38ad37d9caf2&s=eyJ3cCI6IjUuNS4xIiwid2YiOiI3LjQuMTEiLCJtcyI6ZmFsc2UsImgiOiJodHRwczpcL1wvd3d3LmNhbm5hYmlzZmFicmljcG90cy5jb20iLCJzc2x2IjoyNjg0NDM5NTEsInB2IjoiNy4zLjE2IiwicHQiOiJjZ2ktZmNnaSIsImN2IjoiNy41OS4wIiwiY3MiOiJPcGVuU1NMXC8xLjAuMnIiLCJzdiI6IkFwYWNoZSIsImR2IjpudWxsfQ&betaFeed=0&action=plugin_vulnerability_check
[Sep 08 17:09:49:1599610189.491015:4:info] Calling Wordfence API v2.26:https://noc1.wordfence.com/v2.26/?k=53209ccebe3f41c3c205f4e3b0e020d8c8ba430fdff46d0ba11f695e006efb0e3d03f4ecaae01de4ead4cb3f3fe5872ecc71702ecd4714c7be43f5f4eb0f438be2114da6a772b56bf9dd38ad37d9caf2&s=eyJ3cCI6IjUuNS4xIiwid2YiOiI3LjQuMTEiLCJtcyI6ZmFsc2UsImgiOiJodHRwczpcL1wvd3d3LmNhbm5hYmlzZmFicmljcG90cy5jb20iLCJzc2x2IjoyNjg0NDM5NTEsInB2IjoiNy4zLjE2IiwicHQiOiJjZ2ktZmNnaSIsImN2IjoiNy41OS4wIiwiY3MiOiJPcGVuU1NMXC8xLjAuMnIiLCJzdiI6IkFwYWNoZSIsImR2IjpudWxsfQ&betaFeed=0&action=plugin_vulnerability_checkPlease advise if I can do anything else my end and I will do my utmost to carry out your instructions boss. π
Kind regards.
Hi @wfadam,
I apologise for any misunderstanding that I may have introduced, but this situation continues. π
I am happy to try any other recommendations that you may have, and I would appreciate any suggestions that the WF team can offer.
Thank you very much and wishing you a wonderful day.
Kind regards.
Hi @wfadam,
I just wondered if this is something that you have been able to investigate?
If there is anything else that I can do my end to determine my inability to run scans on Siteground staging sites, please do not hesitate to ask.
Many thanks for your time and I wish you a wonderful day.
Kind regards.
Let’s try to start fresh.
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.
We can start here and Ill review everything.
Hi @wfadam,
Sorry to be a nuisance. π
I have just sent the diagnostic report as requested. Please let me know if I can do anything more to be useful.
I greatly appreciate your time and assistance.
Kind regards.
Not a nuisance at all! I just want to be able to get your scan working.
First thing I notice on your diagnostics is all of your cron jobs are dead. Looks like they haven’t been ran since September.
Download and install WP Crontrol at https://wordpress.org/plugins/wp-crontrol/
Follow their guide to remove your overdue WF cron jobs. To recreate them, disable Wordfence and enable it again. It will repopulate the crons.Have you followed the guide to optimize the firewall via siteground?
https://www.wordfence.com/help/firewall/optimizing-the-firewall/#on-siteground-and-other-similar-hosts-that-use-cpanelI want to make sure the ground work is correct before we dive deeper.
Let me know how it goes!
Thanks!
Hi @wfadam,
Your points are noted, and I had not seen that Siteground URL.
I will look at investigating and implementing your recommendations.
Thank you for taking the time to assist me, and hopefully I will bother you no more. π
Take care and have a great week.
Kind regards.
Hi @wfadam,
Having followed your recommendations and also having contacted Siteground I am left in a similar situation. The cron jobs were not working even after using the WP Crontrol plugin and Siteground recommended that I use the procedure defined in https://my.siteground.com/support/cpanel/tutorials/wordpress/real-cron-job. This I have done. I have also set up a staging site in Wordfence Central account. The sad news is that I am still not able to see the scan working on the Siteground staging site. π
Any other assistance that you can offer is appreciated.
Thank you in advance.
- The topic ‘Scans not Running on Staging Sites’ is closed to new replies.