Hi Teddy,
Are there any errors in the console or the server logs while saving?
Hi @timmse , there are no errors. I have tried that trick with disable MOD SECURITY and works fine⊠ok, in this case I can disable mod security but I have other websites/domains on different hosting where mod secuirty disable option is not possible. What can I do in this case? of course slow to save on page.
I have tried the code below in htaccess but doesnât work.
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
SecRuleEngine Off
SecRequestBodyAccess Off
</IfModule>```
Have you already tried if thereâs a difference using Bricks 1.11 beta (in a staging environment)?
Hi @timmse, I havenât tried yet, I will try today and come back to you with updates.
Thanks.
Hey @teddypetcu, please see: Known issues â Bricks Academy
Hi @timmse I have tried with the latest version bricks 1.11 beta and doesnât make any difference, the same time of saving a page 50 seconds. I canât work like this so I have decided to do the development on another server and when I finish the project to move back to the customerâs hosting server. I am preparing now to move to server where I can disable Mod Security for the respective subdomain. Thank you.
@timmse I did use the code:
SecFilterEngine Off SecFilterScanPOST Off SecRuleEngine Off SecRequestBodyAccess Offfrom @Riccore, but I have a question. Would it be possible to fix this directly with the Bricks team instead? Disabling mod_security doesnât seem like the most ideal solution, security-wise. If you know
Hi @Demas,
The saving delay or error with ModSecurity happens because the serverâs firewall is blocking or slowing down the save requests. This isnât something Bricks can control as it depends entirely on how ModSecurity is set up on your server.
Sometimes this happens if the data being saved (like lots of elements or global classes) is larger than ModSecurity allows. But payload size isnât the only possible cause. Other ModSecurity rules could also be interfering, so figuring out whatâs triggering the issue will depend on your server setup.
While some WordPress products suggest disabling ModSecurity during development, a better approach imo is to configure it appropriately. This is something that whoever is managing the server would need to address. If youâre on managed hosting, your provider should be able to help diagnose and adjust the settings.
As mentioned in our Known Issues article, restrictive ModSecurity rules can sometimes cause this problem. Sharing request logs with your hosting provider and walking them through how to reproduce the issue should help them figure out the cause and adjust ModSecurity for your setup.
I dont have modsecurity but i have a AWS WAF activated.
Iâm facing this slow saving issue and also itâs very often i get an error while saving saying [object, object]
i only can copy the whole thing, refresh, delete the whole structure and paste, itâs happening very very often.
I could whitelist some request on the WAF but not sure exactly to which urls those save request are calling.
Any ideas?