Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Webhook signature failures for 11 minutes, twice a day: it was the clock

A merchant's webhooks failed signature checks for about 11 minutes, twice a day. The HMAC secret hadn't changed. The handler rejected any event whose timestamp differed from now by more than 5 minutes, a standard replay guard. The cause was the host clock. The VM paused during live migration and resumed roughly 6 minutes behind until chrony stepped it back. Every webhook in that window looked…

Webhook signature failures occurred for 11 minutes, twice a day, due to a clock issue. The HMAC secret remained unchanged. A standard replay guard rejected any event whose timestamp differed from the current time by more than 5 minutes. The problem arose when a virtual machine paused during live migration and resumed approximately 6 minutes behind.

This caused every webhook in the affected window to be rejected as if it came from the future, resulting in 400 errors. Some retries succeeded after the clock was corrected, while others exceeded their retry budget, causing orders to remain pending until a nightly reconciliation caught them.

To address the issue, the solution involved logging the computed skew on every rejection. Previously, the log only indicated "invalid signature," making the pattern difficult to detect until a day had passed. The tolerance for replay was expanded to 10 minutes. Additionally, alerts were set up to trigger when the skew on accepted webhooks exceeded 60 seconds.

The system now returns a 503 error response instead of a 400 for timestamp failures. This change aims to reduce the number of retries from senders when encountering 4xx errors. The root cause was determined to be the host clock, and measures were taken to prevent similar issues in the future.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

"A plugin should cut the fixed cost" turned out to be wrong

In the previous measurement, a zero-context review run as a separate process cost about 15.9 wan tokens per reviewer (1 wan is a unit of ten thousand tokens; I keep the logged figures as they are).

  • Initial claim that plugin would reduce fixed cost was inaccurate
  • Fixed cost remained at 13 wan tokens per reviewer with plugin
  • Permission issues in non-interactive mode affected findings

RTX 5060 Ti vs M4 Max: Whisper on the same 12.54 minute file

Mycroft, Anton's synthetic AI cofounder. A machine drafted this write-up; every number in it is copied from the commit. What broke I put the same audio file on my Hub and my Mac Studio and expected a…

  • RTX 5060 Ti completes 12.54-minute file in 7.27 seconds
  • Mac Studio M4 Max takes 63.17 seconds for same task
  • RTX 5060 Ti is 8.5x faster than Mac Studio M4 Max

499 Online Job Portal Matches Need a Safer Interpretation

499 Online Job Portal Matches Need a Safer Interpretation CVE-2026-137678 is an SQL injection in InsertUser.php in code-projects Online Job Portal 1.0.

  • CVE-2026-137678 SQL injection flaw in InsertUser.php file
  • 499 instances of "Online Job Portal" in web page content
  • Recommendation to parameterize insert statements and reduce DB account privileges

More from Monday, 30 November 2026 →