a_henderson
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Activity Log] update 5.3.4 undoes domain mapping for multisitesSimilar issue on my multisite instance.
50+ sites down, all responding with 410 code “Tämä sivusto ei ole enää saatavilla.” / “This site is no longer available.” and /wp-admin/ unreachable. I had to run
wp plugin deactivate wp-security-audit-log --networkfrom a command line to get things back up.😬
Hi @wfpeter, thanks for your reply 🙂
I’ve turned off the “Malicious File Upload (PHP)” firewall rule, and that seems to have resolved my issue. The test submission that was previously failing, is now going though a-ok. Thank you very much for your advice, clear guidance and extra info on what the rule does.
Forum: Plugins
In reply to: [Contact Form 7] recaptcha gives me orange “try again later” messageI got a bit lucky in that my situation is the reverse of yours, problems on staging server, works on production. The production server is a basic shared hosting package that has its own firewall rules that I don’t have access to, but whatever they are it seems to work. (I guess they may just allow all outbound connections :S )
On staging I had already allowed
google.com
but that doesn’t seem to be enough. Then I added
api-verify.recaptcha.net
and now it does work.Perhaps that’ll work for you too 🙂
Firewall comes into play as it’s not exclusively a client-side operation. There has to be a call to google server-side with the Secret Key to verify the request. See:
wp-content/plugins/contact-form-7/modules/recaptcha.phpForum: Plugins
In reply to: [Contact Form 7] recaptcha gives me orange “try again later” messageI had the same issue, and it turned out to be an outgoing connection firewall issue. When I allow all outgoing connections from the server, the reCAPTCHA works and the form submits.
When I have restrictions on outgoing connections, the reCAPTCHA still gets a green tick, but the form fails to validate and send, producing the “Submission was referred to as spam” message.
Apparently that green tick in the reCAPTCHA is a poor indication of whether things are working right!
This link may be of use regarding reCAPTCHA and firewalls: https://code.google.com/archive/p/recaptcha/wikis/FirewallsAndRecaptcha.wiki
On a related note I also get:
Uncaught TypeError: Cannot read property 'secret' of null at a.wp.receiveEmbedMessage (wp-embed.min.js?ver=4.9.8:1)In the console when using reCAPTCHA on Contact Form 7, but I think that’s related to https://core.trac.ww.wp.xz.cn/ticket/44832 and it still seems to submit for me (at least on the latest Chrome, Windows 10).
Hopefully WordPress v4.9.9 will correct that console error 🙂