Source: https://solidhooks.com/guides/hermes-agent-durable-webhooks

# Hermes agent webhooks: keep events safe while the gateway restarts

Hermes's webhook adapter runs inside one gateway process, so a webhook sent while it's restarting or down fails at the sender. A durable receiver in front fixes most of that. It stores the event and answers the provider, then delivers into your Hermes route with retries and keeps the event for replay.

*Checked against Hermes and SolidHooks docs on 20 November 2026.*

## How Hermes receives webhooks

You define routes under `platforms.webhook` in `config.yaml`. Each one is served at `http://your-server:8644/webhooks/<route-name>` and must have an HMAC secret, or the adapter won't start ([Hermes webhook docs](https://hermes-agent.nousresearch.com/docs/user-guide/messaging/webhooks)).

## Where events get lost

A [post on r/hermesagent](https://www.reddit.com/r/hermesagent/comments/1xdxht0/i_built_a_local_webhook_inbox_for_hermes_so/) describes webhook bridges dropping events whenever Hermes was busy or restarting. One migration turned webhooks away for about seven and a half hours. GitHub could resend, but email and meeting events were gone. [Hookdeck's Hermes guide](https://hookdeck.com/webhooks/platforms/using-hookdeck-with-hermes-reliable-webhooks-for-your-ai-agent) says the same: a restarting or unreachable gateway gives senders connection errors, and most providers won't try again.

Hermes does have some protection. It skips duplicate delivery IDs for an hour and can coalesce bursts, but its docs say buffered events live in memory, so a hard kill loses at most the current window's burst. None of that helps with a request that never reached the process.

## Put a durable receiver in front

1. 1
   <!-- -->
   . Create a SolidHooks source and point your provider at its ingest URL. The source stores each event before it replies ([how it works](https://solidhooks.com/docs/how-it-works)).
2. 2
   <!-- -->
   . Create an HTTP destination with your Hermes route URL.
3. 3
   <!-- -->
   . Connect the two. Delivery to Hermes is a separate step, so a Hermes restart delays it instead of failing the provider's request.

There's no Hermes preset, plugin or Hermes docs page in SolidHooks. Hermes is a normal HTTP destination.

## Signatures: test this first

New SolidHooks destinations sign with Standard Webhooks headers (webhook-id, webhook-timestamp, webhook-signature) using a whsec\_ secret ([delivery signatures](https://solidhooks.com/docs/delivery-signatures)). Hermes's docs say a route pinned to `signature: generic` accepts Standard Webhooks headers.

We haven't tested Hermes verifying a SolidHooks whsec\_ secret, so check it before you rely on it. Set the route secret to the destination's signing secret, send one with `POST /v1/destinations/{id}/test-delivery`, and look for "Invalid signature" in the gateway log.

yaml

```
platforms:
  webhook:
    extra:
      routes:
        from-solidhooks:
          secret: "whsec_..."   # the destination's signing secret
          signature: generic
```

Hermes answers a bad signature with the same 404 as an unknown route, so a mismatch shows up in SolidHooks as failed deliveries.

## What Hermes's replies mean to the retrier

| Hermes returns   | When                                      | SolidHooks does                                                               |
| ---------------- | ----------------------------------------- | ----------------------------------------------------------------------------- |
| 2xx              | Accepted, including 202 when coalesced    | Success                                                                       |
| 429              | Route rate limit (30 a minute by default) | Parks it, honours Retry-After up to an hour, uses no attempt, at most 5 parks |
| 502              | Direct delivery target rejected it        | Parks it, as for 429                                                          |
| 404              | Unknown route or bad signature            | Failure, retried on schedule                                                  |
| No reply in 20 s | Gateway down or stuck                     | Failure, retried on schedule                                                  |

How long retries last depends on your plan ([retries](https://solidhooks.com/docs/retries)). Hobby allows 3 attempts within a one-hour ceiling, which on the normal schedule means now, after 5 seconds and after about 5 minutes. That covers a quick restart, not a seven-hour migration. Paid plans get 8 attempts over about 27 and a half hours.

After that, you can retry a failed delivery for free or replay the event as new, billable deliveries, within 3, 7, 30 or 90 days by plan ([replay](https://solidhooks.com/docs/replay)). Don't count on Hermes to dedupe these. A replay arrives with a new delivery ID, and we haven't tested how Hermes's dedupe treats SolidHooks deliveries, so make the route's work safe to run twice. Note too that Hobby stops accepting at its included deliveries and answers 429 before storing anything.

## Hermes on a home machine

If Hermes has no public URL, private delivery runs a small outbound-only agent in your network, so you open no inbound port ([private delivery](https://solidhooks.com/docs/private-delivery)). It's on Launch (1 connector) and Scale (5), not Hobby.

## Other options

- Provider retries. Some resend; GitHub redelivery is manual.
- [hookspool](https://github.com/jaredzimmerman/hookspool), open source, saves webhooks to disk locally in front of Hermes.
- Hookdeck, which has a Hermes guide and an official hermes-hookdeck plugin.

The same pattern for n8n is in our [n8n durable receiver guide](https://solidhooks.com/guides/n8n-durable-webhook-receiver), and [untrusted payloads](https://solidhooks.com/guides/webhook-payload-untrusted-ai-agents) covers what an agent should do with the content.

## FAQ

### What happens to a webhook if Hermes is down?

The sender gets a connection error. Whether it tries again is up to the sender.

### Does Hermes retry incoming webhooks?

Hermes can't retry a request it never received. Retrying is up to the sender, or to a receiver in front of Hermes.

### How do I get webhooks into Hermes without exposing a port?

Use a receiver that delivers through an outbound-only connector, such as SolidHooks private delivery on Launch or Scale.
