> ## Documentation Index
> Fetch the complete documentation index at: https://docs.proofage.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Webhooks blocked or not arriving

> When a firewall, hosting protection, a tunnel or the webhook URL itself stops ProofAge webhooks: how to spot the cause in the console and fix it.

ProofAge sends webhooks from its servers, not from a browser. Bot protection in front of your site, such as Cloudflare, a WordPress security plugin or your host's firewall, can treat that request as a bot and answer it with a challenge page or a block page. Your webhook handler never sees the request, and the decision does not reach your site.

ProofAge does not retry a `403` or a `406`: it counts as your site's answer. A `429` or `503` is retried three more times, but the firewall answers each retry the same way (see [Responding and retries](https://docs.proofage.net/integration/webhooks.md#responding-and-retries)). Let ProofAge's address through, then send the delivery again.

A firewall is the most common cause, but not the only one. [Vercel Deployment Protection](#vercel-deployment-protection), a [password on the site](#password-protected-sites), an offline tunnel or a wrong webhook URL also stop a webhook; see [Other reasons a webhook does not arrive](#other-reasons-a-webhook-does-not-arrive).

## The address webhooks come from

ProofAge sends every webhook from one IPv4 address:

```text theme={null}
34.155.100.128
```

There is no IPv6 address. If this address ever changes, the change is announced on this page and in the changelog before it happens.

## How to spot it

In the console, open the verification and go to its **Webhooks** tab. A delivery your firewall stopped shows a `403 Error` (sometimes `503`, `429` or `406`) where your handler would answer `200 OK`.

![ProofAge console, a verification's Webhooks tab: a delivery with 403 Error above an earlier one with 200 OK, each with Details and Resend](https://mintcdn.com/proof-age/LA7-qFfHijy1c54v/images/blocked-webhooks/01-console-webhooks-tab.png?fit=max\&auto=format\&n=LA7-qFfHijy1c54v\&q=85\&s=fbaded0dd43dec7d47e461791195087d)

Click **Details**. The **Response Body** is an HTML page, not your handler's answer:

![ProofAge console, Webhook delivery details: Response 403 Error, Request URL https://your-store.example/wp-json/proofage/v1/webhook, and a response body starting with Just a moment... (example values)](https://mintcdn.com/proof-age/LA7-qFfHijy1c54v/images/blocked-webhooks/02-console-delivery-details.png?fit=max\&auto=format\&n=LA7-qFfHijy1c54v\&q=85\&s=2fd2bea5710cc2dff93a1ac89c808fb8)

The response body tells you who answered:

| In the response body | Who blocked the request |
| - | - |
| `<title>Just a moment...</title>`, `challenges.cloudflare.com` | A Cloudflare challenge: Bot Fight Mode, the security level, a managed challenge rule or *I'm Under Attack* mode |
| `Attention Required! \| Cloudflare` | A Cloudflare block rule |
| `error code: 1010` | Cloudflare's Browser Integrity Check |
| `Wordfence` | The Wordfence plugin's firewall |
| `Sucuri WebSite Firewall` | Sucuri |
| `Imunify360`, `bot-protection` | Imunify360 on your host |
| `Mod_Security`, `Not Acceptable!` | ModSecurity on your host |
| `Protected by Vercel Authentication`, `vercel_auth_enabled` | [Vercel Deployment Protection](#vercel-deployment-protection) |
| `ERR_NGROK_3200`, `ERR_NGROK_8012`, `ERR_NGROK_3004`, `error code: 1033` | [A tunnel](#tunnel-offline) that is offline or cannot reach your server |
| `Cannot POST` | [No handler at that address](#no-handler-at-the-address) |

If your own handler answers `403`, for example because it could not verify the signature, the body is usually short JSON or text, not an HTML page.

The [WordPress plugin](https://docs.proofage.net/integration/plugins/wordpress.md) still learns of an approval when the shopper returns to your site, so a shopper who finishes the verification and returns is let in. A shopper who closes the tab before returning is not, and nothing updates the order later.

## Cloudflare

You need a custom rule that skips Cloudflare's checks for ProofAge's address. On the Free plan you also need to turn Bot Fight Mode off or add an IP Access rule, because custom rules cannot skip Bot Fight Mode, the [Free plan's bot protection](https://developers.cloudflare.com/bots/get-started/bot-fight-mode/).

### 1. Skip Cloudflare's checks for ProofAge

1. In the Cloudflare dashboard, open your domain, then **Security → Security rules**, and click **Create rule → Custom rules**.

2. Name the rule, for example *Allow ProofAge webhooks*.

3. Under **When incoming requests match**, choose **IP Source Address**, **equals**, and enter `34.155.100.128`.

   ![Cloudflare, New custom rule: rule name Allow ProofAge webhooks, field IP Source Address, operator equals, value 34.155.100.128, expression (ip.src eq 34.155.100.128)](https://mintcdn.com/proof-age/LA7-qFfHijy1c54v/images/blocked-webhooks/03-cloudflare-skip-rule-match.png?fit=max\&auto=format\&n=LA7-qFfHijy1c54v\&q=85\&s=d1fcd1897a21fde6c18c11685a2ef48b)

4. Under **Then take action**, choose **Skip** and tick **All remaining custom rules**, **All rate limiting rules**, **All managed rules** and **All Super Bot Fight Mode Rules**. Open **More components to skip** and tick **Browser Integrity Check** and **Security Level**.

   ![Cloudflare, custom rule action Skip with All remaining custom rules, All rate limiting rules, All managed rules, All Super Bot Fight Mode Rules, Browser Integrity Check and Security Level ticked](https://mintcdn.com/proof-age/LA7-qFfHijy1c54v/images/blocked-webhooks/04-cloudflare-skip-rule-action.png?fit=max\&auto=format\&n=LA7-qFfHijy1c54v\&q=85\&s=08fac84a3180766b5fdcfc85367089df)

5. Under **Execution order**, place the rule first, so that no other rule challenges the request before this one runs, then click **Deploy**.

To limit the rule to your webhook URL, in step 3 click **And** and add **URI Path**, **starts with**, and your handler's path, for example `/wp-json/proofage/v1/webhook` for the WordPress plugin.

On the Pro plan and above, this rule is enough: it skips Super Bot Fight Mode too. Only an IP Access rule that blocks the address still stops it (see [below](#ip-access-rules-that-block-proofage)).

### 2. Bot Fight Mode on the Free plan

Bot Fight Mode ignores custom rules, so the rule above does not get a request past it. Do one of the following:

* **Turn it off.** Open **Security → Settings**, find **Bot fight mode** under the DDoS attacks group and switch it off.

  ![Cloudflare, Security → Settings: Bot fight mode, Detect and challenges bot traffic on your domain, switched off](https://mintcdn.com/proof-age/LA7-qFfHijy1c54v/images/blocked-webhooks/05-cloudflare-bot-fight-mode-off.png?fit=max\&auto=format\&n=LA7-qFfHijy1c54v\&q=85\&s=0f9cbbeb71b3c1695801fba00b222d0e)

* **Or keep it on and allow ProofAge's address with an IP Access rule.** An IP Access rule with the *Allow* action is the only way past Bot Fight Mode, and IP Access rules are available on the Free plan. If your dashboard does not offer IP Access rules, create the rule through Cloudflare's API. You need an API token with the **Zone → Firewall Services → Edit** permission and your domain's zone ID, shown on the domain's **Overview** page:

  ```bash theme={null}
  curl https://api.cloudflare.com/client/v4/zones/$ZONE_ID/firewall/access_rules/rules \
    -H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
    -H "Content-Type: application/json" \
    -d '{"mode": "whitelist", "configuration": {"target": "ip", "value": "34.155.100.128"}, "notes": "ProofAge webhooks"}'
  ```

### IP Access rules that block ProofAge

A custom rule cannot skip IP Access rules. If one of yours blocks or challenges `34.155.100.128` or a range that contains it (for example, in a list synced from a server firewall), remove it.

## Other firewalls

Add `34.155.100.128` to the allowlist of the firewall that answered:

* **Wordfence**: in the firewall options, *Allowlisted IP addresses that bypass all rules*.
* **Sucuri**: in the firewall dashboard's access control, allowlist the IP address.
* **Your host's firewall** (Imunify360, ModSecurity and the like): ask your host to allow the address. Send them the response body from the console, which may name the rule that fired.

## Vercel Deployment Protection

Vercel can protect a deployment with Vercel Authentication or a password. By default this covers preview deployments. ProofAge cannot sign in, so Vercel answers `401` with a page that mentions Vercel Authentication, and your handler never sees the request.

Do one of the following:

* **Use your production domain** for the webhook URL. Vercel's default protection does not cover it.
* **Keep the preview URL and add a bypass secret to it.** In your Vercel project, open **Settings → Deployment Protection**, turn on **Protection Bypass for Automation**, and copy the secret. ProofAge cannot add a header to its requests, so put the secret in the webhook URL as a query parameter:

  ```text theme={null}
  https://your-preview.vercel.app/api/webhooks/proofage?x-vercel-protection-bypass=YOUR_SECRET
  ```

  The secret is then part of the webhook URL. Anyone who can see the workspace's settings or its webhook deliveries in the console can see it. Use it for previews and testing. See [Vercel's documentation](https://vercel.com/docs/deployment-protection/methods-to-bypass-deployment-protection/protection-bypass-automation).

## Password-protected sites

If your server asks for a user name and password (HTTP Basic authentication) for the whole site, for example on a staging server, it answers ProofAge with `401` before your handler runs. ProofAge does not send credentials, and a webhook URL with a user name or password in it is refused.

Exclude the webhook path from the password protection, or use a webhook URL on a host that does not ask for one. Your handler still checks [the signature](https://docs.proofage.net/integration/webhooks.md#verifying-the-signature), so the path stays protected from forged requests.

## Other reasons a webhook does not arrive

In these cases no firewall blocks the request, but the webhook still does not reach your handler.

### Tunnel offline

A tunnel such as ngrok or Cloudflare Tunnel forwards webhooks to your own machine. It only works while the tunnel and your local server are both running.

| In the response body | What happened | What to do |
| - | - | - |
| `ERR_NGROK_3200` | The ngrok agent for this URL is not running. | Start it again with the same URL. |
| `ERR_NGROK_8012`, `ERR_NGROK_3004` | The tunnel is up, but your local server did not answer, or did not answer properly. | Start your local server on the port the tunnel points to, and check that the tunnel uses the right protocol (`http` or `https`). |
| Another `ERR_NGROK_` code | ngrok answered with an error. | Look the code up in [ngrok's error list](https://ngrok.com/docs/errors/) or your ngrok dashboard. |
| `error code: 1033` | The Cloudflare Tunnel (`cloudflared`) is not running. | Start `cloudflared` again. |

An ngrok URL that was assigned at random changes when you restart the agent; update the webhook URL if it does. For anything beyond local testing, use a permanent URL. See [Receiving webhooks locally](https://docs.proofage.net/integration/webhooks.md#receiving-webhooks-locally).

### No handler at the address

A `404 Not Found` means your server has nothing at the webhook URL's path. A `405 Method Not Allowed`, or a body such as `Cannot POST /api/webhooks/proofage`, means something is there but it does not accept `POST`.

Check the path for typos and for a missing prefix (such as `/api`), and that your route accepts `POST`. With the [WordPress plugin](https://docs.proofage.net/integration/plugins/wordpress.md), the path is `/wp-json/proofage/v1/webhook`; if it answers `404`, check that the plugin is active and that **Settings → Permalinks** in WordPress is not set to *Plain*.

A `404` with a JSON body usually comes from your own handler, for example when it does not know the verification. That is your handler's answer, not a missing address.

### Redirects

ProofAge does not follow redirects. A `301`, `302`, `307` or `308` is recorded as your answer, and the webhook is not delivered to the new address.

Common causes are `http` to `https`, `example.com` to `www.example.com`, and a trailing slash added or removed. Open the delivery's **Details** in the console: under **Response headers**, `location` shows the address your server redirected the request to. Set the webhook URL to that address.

### ProofAge cannot connect

When ProofAge gets no answer at all, the delivery shows `-` in place of a response code, with a cause such as *Could not connect (DNS)*. ProofAge retries it after 5, 15 and 60 minutes. The cause is one of these:

* **The host name does not resolve.** The domain has no DNS record, has expired, or the service behind it was deleted. Check the host name in the webhook URL.
* **The TLS certificate is not valid.** It has expired, does not match the host name, or lacks its intermediate certificates. Check it with an SSL checker and renew or fix it.
* **The connection was refused, or there was no answer within 30 seconds.** The server is down, a firewall drops connections from `34.155.100.128`, or your handler takes too long. Let the [address](#the-address-webhooks-come-from) through, and [answer quickly](https://docs.proofage.net/integration/webhooks.md#responding-and-retries): reply `2xx` first and do the work in the background.

### A proxy answers 502, 503 or 504

A `502`, `503` or `504` with an HTML page usually comes from a proxy or load balancer in front of your server, such as nginx or Cloudflare (Cloudflare also uses its own codes, `520` to `526` and `530`, when it cannot reach your server). It means the proxy could not get an answer from your application. ProofAge retries these, but if your application stays down, all four attempts fail.

Check that your application is running and look at the proxy's error log for the time of the delivery.

## Check that it works

Open the verification in the console, go to its **Webhooks** tab and click **Resend** on the latest delivery. The new delivery should show your handler's `200 OK`. Only the latest delivery of a verification to each URL can be resent; if you need the result an older delivery carried, fetch the verification with `GET /v1/verifications/{id}` instead. See [Responding and retries](https://docs.proofage.net/integration/webhooks.md#responding-and-retries).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.