Are there any default settings in cPanel that might explain why a Wordpress plugin returns a cookie check failure error after making calls to the Wordpress REST API for over 12 hours straight?
The plugin scans posts and media files to figure out which images are used by a site so that unused ones can be deleted. It never has problems on small sites, but when a site gets so big that you'll need well over 12 hours to complete the scan, the scan almost always fails because calls to the API are rejected by the website. The two most likely culprits are Wordpress security plugins and server settings. I base this on feedback from the plugin developer and this thread describing an identical problem with a different plugin (Cookie check failed error – Status Code 403).
I suspect either Jetpack security or cPanel/WHM being the culprit here. Jetpack has brute force protection and other security features which I suspect might tweak things just enough for something to fail after scanning for that long. I also suspect cPanel because of all the default setting which come with it. It wouldn't surprise me if someone at cPanel put some default setting in place thinking that it would be best for most users if stuff couldn't keep running scans like that that long. Kind of like back in the 90s when someone limited the number files you can see in a folder to just 10,000 and still hasn't changed it.
If cPanel is the culprit please tell me which setting to change and how.
The plugin scans posts and media files to figure out which images are used by a site so that unused ones can be deleted. It never has problems on small sites, but when a site gets so big that you'll need well over 12 hours to complete the scan, the scan almost always fails because calls to the API are rejected by the website. The two most likely culprits are Wordpress security plugins and server settings. I base this on feedback from the plugin developer and this thread describing an identical problem with a different plugin (Cookie check failed error – Status Code 403).
I suspect either Jetpack security or cPanel/WHM being the culprit here. Jetpack has brute force protection and other security features which I suspect might tweak things just enough for something to fail after scanning for that long. I also suspect cPanel because of all the default setting which come with it. It wouldn't surprise me if someone at cPanel put some default setting in place thinking that it would be best for most users if stuff couldn't keep running scans like that that long. Kind of like back in the 90s when someone limited the number files you can see in a folder to just 10,000 and still hasn't changed it.
If cPanel is the culprit please tell me which setting to change and how.
Last edited by a moderator: