caddy: review the payment webhook rate limit against provider retries #545
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
priority
high
priority
low
priority
medium
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-infra#545
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "%!s()"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
Problem
The Caddy
billing_webhookrate-limit zone allows 60 events per minute per source IP onPOST /webhooks/mollie(roles/caddy/defaults/main.yml:121-122). The payment provider sends webhooks and retries from a small set of addresses. A burst, or a flood from one address, could answer genuine webhooks with 429. Provider retries then run out after 26 hours, and only the billing service's reconciliation sweep catches paid payments afterwards. Failed renewals are not caught that way.Fix
Measure webhook volume once payments run on staging, then either raise the limit or key it differently. Do not use the provider's IP list for authentication: it is documented to change.
Done when