Bot Protection or a CDN Turns DownBad Away
DownBad says your site is down, but the error didn’t come from your site. A service in front of it, such as your host or a CDN, decided DownBad’s check looked like a robot and answered it with a test or a block instead of your page. This page helps you find which service did it and let your checks through, so the incident closes.
What you’re seeing
Section titled “What you’re seeing”An incident is open for a URL monitor (one that asks for a web page), with the failure type http status (HTTP is the language browsers and servers use). It shows a reason like this one:
Expected status codes 200 but got 429The number after but got is the status code (the three-digit number
every web answer starts with) that DownBad received. Here it didn’t come from
your site. Many sites sit behind a CDN (a service such as Cloudflare that
sits in front of your site and delivers it from its own servers) or a host
with a firewall (a service that decides which visitors get in) of its own.
Their servers that answer visitors first are called the edge. When the
edge’s bot protection (a feature that tries to keep out programs and let
in people) takes a visitor for a program, it answers with a challenge (a
“prove you’re a human” page that only a web browser can pass) or a block page.
DownBad’s check is a program, so it can’t pass, and the request never reaches
your site.
The code depends on the service, not on your site:
- Vercel (a host for websites) answered a challenge with
429when we tested real sites on 4 November 2026, and its block, which it calls Deny, answers403(Vercel’s guide). - Cloudflare answered a challenge with
403in the same tests. - AWS WAF (Amazon’s web application firewall, a firewall that reads
each request for a web page) answers its challenge with
202and its CAPTCHA (a puzzle for a person to solve) with405(AWS’s guide). Its block answers403unless you set another code (AWS’s guide). - Sucuri (a firewall service that filters visitors before they reach your site) answers with an Access Denied page under its own name (Sucuri’s guide).
- Wordfence (an add-on that protects WordPress, a system many websites
are built with, from attacks) answers
403or503, depending on what blocked the visitor, as Wordfence turns DownBad away explains.
So 403, 429 or 503 on its own doesn’t say that your site failed. The
checks below tell you which service answered.
What DownBad’s checks look like to that service. Every check of a URL
monitor sends a header (an extra line of information sent with a request)
named X-DownBad-Check, with a secret value that belongs to your DownBad
account. A rule that lets in that header lets in your account’s checks and no
one else’s. To find the value, open Account in DownBad and go to
Firewall header, where a copy button copies it
(About DownBad’s checker
explains it). A monitor sends it unless someone removed the X-DownBad-Check
row from the monitor’s HTTP Headers setting; Add DownBad header there
puts it back.
Each check also sends a user agent (a short label that says what sent the
request): DownBad/1.0 (Uptime Monitor; +https://downbad.app/docs/resources/checker/), unless the
monitor’s HTTP Headers has a User-Agent entry, which every check then
sends instead. The monitor’s User Agent setting doesn’t change what DownBad
sends yet, which is DownBad’s to fix. A rule that lets in that user agent also
lets in anyone who sends the same label, so use it only where a service can’t
match a header.
The re-checks (the checks DownBad sends from other places before it opens an incident) send the same header and user agent. No check comes from a fixed IP address (the number that identifies each computer on the internet), so a list of addresses can’t let DownBad in.
Is it you or us?
Section titled “Is it you or us?”Neither, most of the time: the service in front of your site turned DownBad away. To be sure your site is up for people:
-
Open the monitor’s URL in your browser, on your phone over mobile data if you can, so you’re on a different network from usual.
-
Read the result:
- Your page loads: your site is up, and something treats DownBad differently from your browser. Carry on to Check it yourself.
- You see a page that asks you to wait while it checks your browser, and then your page loads: that was a challenge, and you passed it because you use a browser. DownBad can’t. Carry on to Check it yourself.
- An error page: your site may really be down. Follow Website Returns an Error Status Code instead.
When a check fails, DownBad doesn’t open an incident straight away. It first checks again from up to three other places in the United States, and opens the incident only when at least half of the places that answered failed too.
Check it yourself
Section titled “Check it yourself”This command asks for your page the way DownBad does, with DownBad’s user agent
and header, and prints the code it got and the headers that name each service.
It only reads, and changes nothing. It uses curl, a tool that fetches web
pages, which comes with macOS and Windows; on Ubuntu or Debian, install the
curl package if it isn’t there. It needs curl 7.84 or later, the first that
can print a header by name
(curl’s manual). Put the monitor’s URL
in place of https://example.com/, and your value from Account → Firewall
header in place of YOUR_VALUE.
curl -sS -L -o /dev/null -w "%{http_code}\nserver: %header{server}\ncf-mitigated: %header{cf-mitigated}\nx-vercel-mitigated: %header{x-vercel-mitigated}\nx-amzn-waf-action: %header{x-amzn-waf-action}\n" -A "DownBad/1.0 (Uptime Monitor; +https://downbad.app/docs/resources/checker/)" -H "X-DownBad-Check: YOUR_VALUE" https://example.com/curl -sS -L -o /dev/null -w "%{http_code}\nserver: %header{server}\ncf-mitigated: %header{cf-mitigated}\nx-vercel-mitigated: %header{x-vercel-mitigated}\nx-amzn-waf-action: %header{x-amzn-waf-action}\n" -A "DownBad/1.0 (Uptime Monitor; +https://downbad.app/docs/resources/checker/)" -H "X-DownBad-Check: YOUR_VALUE" https://example.com/curl.exe -sS -L -o NUL -w "%{http_code}\nserver: %header{server}\ncf-mitigated: %header{cf-mitigated}\nx-vercel-mitigated: %header{x-vercel-mitigated}\nx-amzn-waf-action: %header{x-amzn-waf-action}\n" -A "DownBad/1.0 (Uptime Monitor; +https://downbad.app/docs/resources/checker/)" -H "X-DownBad-Check: YOUR_VALUE" https://example.com/200server: cloudflarecf-mitigated:x-vercel-mitigated:x-amzn-waf-action:429server: Vercelcf-mitigated:x-vercel-mitigated: challengex-amzn-waf-action:403server: cloudflarecf-mitigated: challengex-vercel-mitigated:x-amzn-waf-action:202server: Servercf-mitigated:x-vercel-mitigated:x-amzn-waf-action: challengeThe first line is the code. The server line names the program or service
that answered, and a header that has nothing after its colon wasn’t sent. Each
service marks its challenges with a header of its own:
x-vercel-mitigated: challenge on Vercel, cf-mitigated: challenge on
Cloudflare
(Cloudflare’s guide),
and x-amzn-waf-action: challenge or captcha on AWS WAF
(AWS’s guide).
Any server can send any header, so a match means the answer looks like that
service’s, not that it certainly is. Then:
- The code is 200: nothing turns DownBad away from where you are. Follow Confirm DownBad sees the fix; if the incident stays open, the block may depend on where the check comes from, as Troubleshooting False Positives explains.
x-vercel-mitigatedorserver: Vercel: go to Vercel challenges or blocks DownBad.cf-mitigatedorserver: cloudflare: go to Cloudflare challenges or blocks DownBad.x-amzn-waf-action, or a 403 from a site that uses AWS: go to AWS WAF challenges or blocks DownBad.server: Sucuri/Cloudproxy, which Sucuri’s own site sent when we asked for it: go to Sucuri’s firewall turns DownBad away.- Your site runs WordPress with Wordfence: go to Wordfence turns DownBad away.
- Anything else: go to Another CDN or firewall turns DownBad away.
Without a terminal (the window where you type commands): open the log of
the service you think is in front of your site, its record of the requests it
handled, and look for requests whose user agent contains DownBad/1.0 at the
times of the failed checks. Each section below says where that log is.
Fix it
Section titled “Fix it”Find the section for the service that answered, from
Check it yourself. Every section starts with a rule that
lets in your account’s X-DownBad-Check header, wherever the service can
match one. Read the warning first.
Don’t set the monitor to expect the challenge’s code
Section titled “Don’t set the monitor to expect the challenge’s code”It is tempting to add the code the incident shows, such as 403 or 503, under the monitor’s Expected Status Codes, so the incident closes. Don’t. A host or CDN answers with its challenge before the request reaches your site (Vercel’s guide, AWS’s guide), so it keeps answering DownBad with the same challenge while your site behind it is down. A firewall plugin such as Wordfence answers from inside your site, but the code it blocks with is one your site also answers with when it really fails, such as 503 when it’s overloaded. Either way, a monitor that expects that code would report an outage as up. Let the checks through instead, with one of the sections below, so DownBad sees your page again.
Vercel challenges or blocks DownBad
Section titled “Vercel challenges or blocks DownBad”This is the cause when the command in
Check it yourself shows server: Vercel and
x-vercel-mitigated: challenge, usually with 429, or a 403 from Vercel. A
person who opens the site sees a page titled Vercel Security Checkpoint
(Vercel’s guide).
Three Vercel settings challenge visitors:
- Bot Protection, a set of rules Vercel keeps up to date that challenges traffic that doesn’t look like a browser (Vercel’s guide).
- Attack Mode, which, while it is on, makes every visitor pass a challenge first, apart from bots Vercel knows (Vercel’s guide).
- A custom rule (a rule you write for Vercel’s firewall) whose action is Challenge or Deny (Vercel’s guide).
-
Copy your header value: in DownBad, open Account and go to Firewall header.
-
In Vercel, select your project, open Firewall in the sidebar, then select ⋯ → Configure at the top right and Add New… → Rule (Vercel’s guide). Name it, for example,
DownBad checks. -
Under If, choose Request Header, enter
X-DownBad-Checkas the header’s name, choose Equals, and paste your value (Vercel’s guide). -
Under Then, choose Bypass. A Bypass rule skips the custom rules after it, so move it above any rule that challenges or denies visitors (Vercel’s guide). Vercel’s guide to bot management says a custom rule with Bypass lets that traffic skip Bot Protection too (Vercel’s guide).
-
Select Save Rule, then Review Changes and Publish (Vercel’s guide).
-
If Attack Mode is on, Vercel’s guide doesn’t say whether a Bypass rule gets past it. It does say that programs Vercel doesn’t recognise may be unable to pass its challenges, and it recommends Attack Mode for targeted attacks rather than as a setting you leave on. Once the attack is over, turn it off: open Firewall, click Bot Management, and under Attack Mode select Disable (Vercel’s guide).
-
A Bypass rule doesn’t get past Vercel’s own automatic defences against floods of traffic, which it calls system-level mitigations (Vercel’s guide). If Vercel’s automatic defences blocked DownBad, ask Vercel’s support, and tell us through Contact Us too.
-
To see the change work, open Firewall again: its overview page shows the traffic each rule matched (Vercel’s guide). Then run the command in Check it yourself again. It should print
200.
If the monitor checks a protected deployment. A deployment is one
published version of your site on Vercel, and Vercel’s Deployment
Protection keeps deployments private: with Vercel Authentication, a
visitor who isn’t signed in to Vercel is sent to Vercel’s login page instead
of your site
(Vercel’s guide).
Its Standard Protection covers every address except your production
domains (the addresses your live site answers at), and All Deployments covers those too
(Vercel’s guide). The
firewall rule above doesn’t get past it. Vercel’s Protection Bypass for
Automation does: it is a secret that lets a tool past Deployment Protection
when the tool sends it in a header named x-vercel-protection-bypass
(Vercel’s guide).
-
In Vercel, select the project, open Settings in the sidebar and select Deployment Protection (Vercel’s guide). Create a secret under Protection Bypass for Automation and copy it (Vercel’s guide).
-
In DownBad, open the monitor (the Monitor link at the top of the incident), press Edit, and under HTTP Headers press Add header. Enter
x-vercel-protection-bypassas the name and paste the secret as the value. Every check sends the monitor’s headers, the re-checks too. -
Press Save Monitor. Anyone who has the secret can see that protected deployment, so share the monitor’s settings only with people who may see it.
Cloudflare challenges or blocks DownBad
Section titled “Cloudflare challenges or blocks DownBad”This is the cause when the command in
Check it yourself shows server: cloudflare and
cf-mitigated: challenge, which Cloudflare sends with every challenge page
(Cloudflare’s guide),
or a 403 from Cloudflare without it.
-
Copy your header value: in DownBad, open Account and go to Firewall header.
-
In your site’s Cloudflare dashboard, go to the Security rules page and select Create rule > Custom rules (Cloudflare’s guide). A custom rule is a rule you write for Cloudflare’s firewall, and every Cloudflare plan, the free one included, can have them (Cloudflare’s guide).
-
Under When incoming requests match, select Edit expression next to the Expression Preview, because the drop-down builder can’t write a rule with a function in it (Cloudflare’s guide). Enter the rule below, with your value in place of
YOUR_VALUE(Cloudflare’s guide). Cloudflare reads header names in lower case, which is why the name is written that way here.any(http.request.headers["x-downbad-check"][*] eq "YOUR_VALUE") -
Choose the Skip action, and tick the protections that blocked DownBad, for example All remaining custom rules, All rate limiting rules and All Super Bot Fight Mode rules (Cloudflare’s guide, its list of skip options). Deploy the rule, and drag it above any rule that blocks or challenges visitors.
-
A custom rule can’t skip Bot Fight Mode (Cloudflare’s simple, free bot protection) (Cloudflare’s list of skip options). If it is what blocks DownBad, turn it off under Security → Settings, filtered to bot traffic (Cloudflare’s guide).
-
While Under Attack mode is on, Cloudflare shows every visitor a challenge page first (Cloudflare’s guide). Add a configuration rule (a Cloudflare rule that changes its settings for the requests it matches) with the same expression as step 3, that sets I’m Under Attack to off (Cloudflare’s guide). Or, once the attack is over, turn Under Attack mode off in the Quick Actions sidebar of your site’s overview page (Cloudflare’s guide).
-
To see what Cloudflare did with DownBad’s checks, open the Events tab under Security → Analytics and look for requests whose user agent contains
DownBad/1.0at the times of the failed checks (Cloudflare’s guide). Then run the command in Check it yourself again. It should print200.
AWS WAF challenges or blocks DownBad
Section titled “AWS WAF challenges or blocks DownBad”This is the cause when the command in
Check it yourself shows
x-amzn-waf-action: challenge with 202, or x-amzn-waf-action: captcha
with 405
(AWS’s guide),
or a 403 from a site that sits behind AWS: a rule with the Block action
answers 403 unless you set another code
(AWS’s guide).
AWS WAF’s rules live in a protection pack (which AWS also calls a web
ACL, its list of rules for a site).
-
Copy your header value: in DownBad, open Account and go to Firewall header.
-
In the AWS WAF console, add a rule to the protection pack in front of your site. Make it a string match (a rule that looks for a piece of text in the request): for Request component, choose Single header and enter
X-DownBad-Checkas the header’s name; for String match condition, choose Exactly matches string; and paste your value as the String to match (AWS’s guide, AWS’s guide to request components). -
Give the rule the Allow action. Allow ends AWS WAF’s check of the request and sends it on to your site (AWS’s guide).
-
Move the rule above the rules that block or challenge visitors. AWS WAF checks rules from the top of the list down and stops at the first one that ends the check (AWS’s guide).
-
To see what AWS WAF did with DownBad’s checks, open the protection pack’s Sampled requests tab, which shows the rule and action for a sample of the last three hours’ requests (AWS’s guide). Then run the command in Check it yourself again. It should print
200.
Sucuri’s firewall turns DownBad away
Section titled “Sucuri’s firewall turns DownBad away”This is the likely cause when your site sits behind the Sucuri Website
Firewall and the site works in your browser. Sucuri turns a visitor away
with an Access Denied page under its own name
(Sucuri’s guide),
and Sucuri’s own site, which sits behind its firewall, answered the command in
Check it yourself with server: Sucuri/Cloudproxy.
We found no way to let a visitor in by header in Sucuri’s guides. Sucuri can let a visitor in by IP address (Sucuri’s guide) or by page (Sucuri’s guide), but by user agent it can only block (Sucuri’s guide). DownBad’s IP addresses change, so let DownBad in by the page it checks.
-
Find the turned-away checks. In the Sucuri Firewall dashboard, open the Audit Trails page and look for blocked requests for your monitor’s page at the times of the failed checks (Sucuri’s guide).
-
Check Sucuri’s emergency setting for a DDoS attack (a flood of requests meant to knock a site offline): Enable Emergency DDOS protection, in the firewall’s Security settings. While it is on, Sucuri turns away anyone whose browser doesn’t run JavaScript (the programming language web pages use in a browser), apart from major search engines. DownBad’s checks don’t run it. Sucuri says to use the setting only while such an attack has made your site unavailable (Sucuri’s guide). If it is on and the attack is over, turn it off.
-
If Aggressive bot filter is on, in the same settings, it blocks invalid user agents that don’t match a real browser’s, such as empty ones (Sucuri’s guide). DownBad’s user agent isn’t a browser’s, so the filter may block it. Turn it off, then run the command in Check it yourself again.
-
For most other blocks, let in the page your monitor checks: under Allow URL Paths, add the page’s path, the part of its address after your site’s name, such as
/healthinhttps://example.com/health, and choose Equals, so only that page is let in (Sucuri’s guide). Sucuri calls this a last resort, and it lets the page in for every visitor. So point the monitor at a small page that needs no protection, such as one your app serves only to show that it is up. Sucuri’s guide says an allowed page still gets two kinds of block: the JavaScript challenge that step two describes, and the next step’s. -
Sucuri also blocks IP addresses on its blacklist, a block it calls BLACK02 (Sucuri’s list of blocks). If that is what stops DownBad’s checks, ask Sucuri’s team for help. Its troubleshooting guide lists what to send them about a block, including the IP address it stopped (Sucuri’s guide). Send the addresses to us through Contact Us too.
Wordfence turns DownBad away
Section titled “Wordfence turns DownBad away”This is the likely cause when your site runs on WordPress with the Wordfence plugin (an add-on that protects WordPress from attacks), and the site works in your browser. Wordfence lists the messages it turns visitors away with (Wordfence’s guide). Three of them can answer a check like DownBad’s:
- When a request breaks one of its firewall rules (patterns that match
known attacks), Wordfence answers with a page that starts
403 Forbidden, so the incident showsbut got 403. - When the visitor’s IP address is on its Real-Time IP Blocklist (a list of
addresses that are attacking WordPress sites right now), Wordfence answers
with a page that starts
403 Forbiddentoo. - When one of its own settings blocks the visitor’s IP address, Wordfence
answers with a page that says Your access to this site has been limited.
The settings that do this include rate limiting (a cap on how many pages
one visitor may ask for each minute) and country blocking. By default it
sends that page with the code 503
(Wordfence’s guide),
so the incident shows
but got 503.
We found no Wordfence setting that lets a visitor in by header or by user agent. Its list of IP addresses that bypass all its rules is meant only for addresses that never change, and DownBad’s change (Wordfence’s guide).
-
Find the turned-away checks. In WordPress, open Wordfence’s Tools → Live Traffic page. It lists blocked requests with the user agent each one sent (Wordfence’s guide). Look for
DownBad/1.0at the times of the failed checks. -
If a firewall rule blocked DownBad, let that request through. In Live Traffic, choose Blocked by Firewall in the Filter Traffic box, find DownBad’s request, and click Add param to firewall allowlist (Wordfence’s guide). Wordfence says to do this only when you know the request was safe. A DownBad check sends what its monitor’s settings name: unless you changed its HTTP Method, it asks for the page with GET, as a browser does, and it sends a Request Body (data sent along with the request) only if you added one.
-
If DownBad went over a rate limit, raise that limit in the Rate Limiting section of Wordfence’s Firewall → Firewall Options page (Wordfence’s guide), where each limit works as its guide to rate limiting describes. Wordfence keeps such an address blocked for a while. To lift it sooner, select it under Current blocks on the Blocking tab of the Firewall page and click Unblock (Wordfence’s guide).
-
If country blocking turned DownBad away, take the United States off the countries you block, from the Blocking tab of Wordfence’s Firewall page (Wordfence’s guide). Every DownBad check comes from the United States.
-
If a custom pattern you added on that same Blocking tab (a block you set up yourself, for example for a user agent or a range of IP addresses) matches DownBad, select it in the list of blocks and click Unblock (Wordfence’s guide).
-
If DownBad’s address is on the Real-Time IP Blocklist, Wordfence’s guide says it rarely takes an address off the list, because other people may be using the same address (Wordfence’s guide). An incident opens only when the re-checks from other places fail too. So if one opened this way, send the addresses Live Traffic shows to us through Contact Us.
Another CDN or firewall turns DownBad away
Section titled “Another CDN or firewall turns DownBad away”This is the cause when the command in
Check it yourself shows an error code from a service not
covered above. The server line, or a header in step 2 of the
status code page’s checks,
often names it.
-
Copy your header value: in DownBad, open Account and go to Firewall header.
-
In the service’s settings, look for a rule that allows requests by request header, and set it to match the header name
X-DownBad-Checkand your value, matched exactly. Put it ahead of the rules that block or challenge visitors. Your service’s own guide to its rules says how. -
If the service can’t match a header, allow requests whose user agent contains
DownBad/1.0, rather than the whole label, so the rule keeps working if the rest of it changes. Anyone can send this label, so the rule also lets in anyone who pretends to be DownBad. If that matters for your site, apply the rule only to the page your monitor checks. -
If it can match neither, look for a way to let in one page, and point the monitor at a small page that needs no protection, such as one your site serves only to show that it is up. Never let DownBad in by a list of IP addresses: its checks don’t come from fixed ones.
-
Run the command in Check it yourself again. It should print
200.
Confirm DownBad sees the fix
Section titled “Confirm DownBad sees the fix”-
Fix the cause first. A check that still fails while you work only adds to the time the incident takes to close.
-
Open the incident and press Test Now. DownBad checks again within a few seconds instead of waiting for the next scheduled check.
-
Wait a minute, then reload the incident page, which doesn’t update by itself. The incident closes by itself once enough checks in a row pass. You can’t close an incident by hand.
How many passing checks it takes. While an incident is open, DownBad checks less often after repeated failures. This is called back-off. Each failed check adds one step of back-off, up to 14. Each passing check takes one step away and asks for the next check straight away. When no steps are left, one more passing check closes the incident. So after a steady outage it takes one more passing check than there were failed checks while the incident was open, counting the one that opened it, and never more than 15.
These are the defaults. The monitor’s notification profile can change them for each monitor type under Backoff Config, and its settings are the ones that count: Recovery is how many passing checks in a row, with no back-off left, close the incident (2 by default, counting the check that takes the last step away), and Start after, Rate and Max interval decide when back-off starts and how far it goes. If the profile changes them, the step counts above and the waits below change with them.
How long that takes. After you press Test Now, those passing checks run back to back, a few seconds apart, so the incident usually closes within a minute. It takes longer when checks are slow to finish, such as a page that takes several seconds to load.
If you don’t press Test Now, the first passing check waits for the next scheduled one. With the default settings, from the third failed check on, DownBad waits 5 more minutes for each failure, up to an hour more than the monitor’s usual interval:
| Monitor checks every | After 1 or 2 failed checks | After 3 | After 6 | After 14 or more |
|---|---|---|---|---|
| 1 minute | 1 minute | 6 minutes | 21 minutes | 61 minutes |
| 5 minutes | 5 minutes | 10 minutes | 25 minutes | 65 minutes |
| 1 hour | 1 hour | 1 hour 5 minutes | 1 hour 20 minutes | 2 hours |
| 1 day | 1 day | 1 day 5 minutes | 1 day 20 minutes | 1 day 1 hour |
Still stuck
Section titled “Still stuck”Before you ask for help, collect:
- the link to the incident, and the reason it shows, word for word
- the output of the command in Check it yourself, and when you ran it, with your time zone, but with your header value taken out
- the name of the service in front of your site, and any line in its log
showing a request from
DownBad/1.0
Then send all of it to us through Contact Us.