r/webdev • • 13h ago

Discussion Security Verification Failed

Post image

Hi all, I'm running a WordPress site hosted on GoDaddy with SureForms (2.14.3) for an event registration. Most submissions go through fine, but some students intermittently get:

Security verification failed. Please refresh the page and try again.

What I already have in place:

  • A snippet (JJJKS NO Cache) hooking send_headers on non-admin requests to define DONOTCACHEPAGE (true) and call nocache_headers().
  • Honeypot security enabled in SureForms (Settings → Spam Protection → Honeypot).

What I'm trying to figure out:

  • Why are only some students hitting this verification failure while hundreds of others submit successfully ?
  • Could this be coming from GoDaddy server/edge caching, WordPress Object Cache, stale nonces on tabs left open/opened via mobile in-app browsers (like WhatsApp), or honeypot/security checks?
  • What is the most reliable way to fix permanently ?

Any debugging tips or things to check in SureForms, WordPress, or GoDaddy would be really appreciated!

0 Upvotes

14 comments sorted by

1

u/PippaKelly62 13h ago

The selective pattern almost always means a stale wordpress nonce. Your snippet only works if the cache respects those headers, and godaddy’s managed hosting has its own server level cache and cdn that can ignore them. First check the response headers on the form page for cache hit or age values, then view the page source in a few private windows to see whether the nonce value is identical for everyone, and add the registration page to the host’s cache exclusions or purge it from the godaddy dashboard. Whatsapp and other in app browsers often reopen an old copy of the page, so testing there and sharing the plain link instead is also worth a try.

1

u/Minute-Age9938 13h ago

I'd probably start with the ones opened from WhatsApp. That browser keeps the page from when they tapped the link, so if they come back later the verification value is old. DONOTCACHEPAGE in sendheaders runs too late if GoDaddy already saved the HTML that printed it.

1

u/omfgtora 10h ago

Regardless of whether or not the issue is coming from GoDaddy, you need to get that website off GoDaddy ASAP. "Overpriced" would be an understatement, considering they force/trick you to pay for things you don't need or would be free anywhere else. They have been sued by the US federal government for their business practices.

2

u/drmoocow 6h ago

I have inherited sites that were hosted on GoDaddy. I agree with u/omfgtora here, GoDaddy is the drizzling craps when it comes to... well, I was going to say hosting, but when it comes absolutely everything, really.

Searching for a domain to see if it's registered on their site, if their algorithm determines it might be valuable, it'll register it later that day automatically if you don't buy it right away, and then try and sell it to you for more money the next day.

But I think my biggest frustration was mail for web forms. Everything'll be working hunky dory for a while, then one day it will just stop sending email. There appears to be absolutely nothing you can do about it to get it working again. Even using a plugin like WP SMTP to send via an external SMTP server fails, because they block outbound port 25 traffic.

So it all boils down to: if you have a site on GoDaddy, get it the hell off of there as soon as you can.

1

u/SiliconMachine 8h ago

the fact that it's some students and not all points at time more than at the cache. if sureforms is checking a wordpress nonce, a nonce for a logged out visitor is only good for 12 to 24 hours, so someone who opened the link from whatsapp yesterday and fills it in today gets exactly that error. easy to test: open the form, leave the tab overnight and submit in the morning

if that's it, the fix is the form grabbing a fresh nonce right before submit instead of the one baked into the page, or at least a message telling them to reload. sending the link with a note to open it in chrome or safari also helps with the in-app browser ones

0

u/Far-Theme8289 13h ago

v3 scores a phone on school wifi as bot traffic. nothing is broken on your end, refreshing just rolls the dice again.

1

u/[deleted] 13h ago

[removed] — view removed comment

1

u/webdev-ModTeam 13h ago

Your post/comment has been determined to be a low-effort post or comment. This includes title-only posts, easily searchable questions, vague/open-ended discussion prompts, LLM generated posts or comments, and posts/comments that do not provide enough context for meaningful replies or discussion.

1

u/[deleted] 13h ago

[removed] — view removed comment

1

u/webdev-ModTeam 13h ago

Your post/comment has been determined to be a low-effort post or comment. This includes title-only posts, easily searchable questions, vague/open-ended discussion prompts, LLM generated posts or comments, and posts/comments that do not provide enough context for meaningful replies or discussion.