Hi @bbarar, thanks for reaching out to us.
Thank-you for checking the connection appears to be working in diagnostics. This might suggest the files have become corrupt and cannot update, which may be shown by expanding the “Filesystem” section near the top when looking at diagnostics.
Have you also already tried the “MANUALLY REFRESH RULES” button at the bottom of Wordfence > Firewall > All Firewall Options after expanding the “Advanced Firewall Rules” panel?
If that fails, navigate to your wp-content/wflogs folder and delete it or its contents entirely. Wordfence should try to repopulate it within 30 minutes (usually quicker). You may find that alone is enough to rectify the updates going forward.
If you have persistent problems with file-writing, you can bypass it by setting logs to use the MySQLi storage engine instead: https://www.wordfence.com/help/firewall/mysqli-storage-engine/
Let us know how you get on,
Peter.
Thread Starter
bbarar
(@bbarar)
Hello,
Thank you for the quick reply.
I’ve checked the filesystem section, and all four tests are OK.
I also clicked the button to manually update the rules.
I’ll try deleting the wflogs folder and attempt the update again tomorrow.
Okay @bbarar, thanks for the update. Let us know how it goes for you.
Peter.
Thread Starter
bbarar
(@bbarar)
Hello Peter, I tried deleting the wflogs, but I still can’t refresh the rules manually (it shows a “failed to contact server” error, even though the server status looks fine in the diagnostics).
Now, there’s only one rule left (“auth-bypass”).
Also, when I run a scan, the server state shows as “Warning.”