Durable outgoing delivery#
Enable Send all outgoing webhooks through cron in Webhooks settings, then run Drupal database updates and cron regularly. Synchronous delivery remains the default. Queued dispatch success means the request was persisted, not delivered.
The database outbox freezes the destination, body, signed headers and delivery ID after SEND subscribers run. It never stores the configured signing key. Changing configuration does not retarget or re-sign a pending request. Disabled or deleted subscriptions cancel pending deliveries. Requests do not follow redirects.
Cron claims at most ten due deliveries with a 120-second lease. Each request has finite connection and total timeouts, with a 60-second total upper bound to leave room before the lease expires. Stricter client settings apply. HTTP 2xx succeeds; 408, 425, 429, 500, 502, 503, 504 and network failures retry. Other statuses fail. Retries wait 60 seconds, doubling up to one hour. Valid Retry-After seconds or HTTP dates can postpone them further. The default budget is five attempts (1–20 configurable), including interrupted claims. One failed request does not stop the rest of the batch. Failed requests remain available for administrator replay.
See Configuration > Web services > Webhooks > Outgoing deliveries for redacted metadata and a confirmation form to replay exhausted deliveries. Replay starts a new attempt budget and preserves the original delivery ID, URL and request bytes; total attempts continue increasing. A new event produces a new delivery instead. 4.0.x also generates a new attempt ID for each actual transmission.
Delivery is at least once. A worker can lose its lease after the receiver accepts a request and before success is recorded. Receivers must deduplicate delivery IDs. Database records participate in the caller's transaction; asynchronous HTTP runs later during cron. Database write failures propagate to the caller.
Raw request bodies and signed headers are required for replay and stored in the site database. Limit database access and backup exposure accordingly. The admin view never reveals them, the destination URL or response bodies. This initial outbox retains records until administrators remove them; configurable retention and richer inspection are tracked separately in #3619590.