How to test whether your site is blocked in China (without flying there)

Every week someone asks: "is my site blocked in China?" The honest answer is that "blocked" is four different failures, and each needs a different test. Here is a practical decision tree, plus the cheapest way to get a real measurement.

First, separate the four failure modes

  1. DNS poisoning. The domain resolves to a wrong IP from Chinese resolvers. Symptom: request hangs, or lands on an unrelated server.
  2. SNI-based TLS reset. DNS is fine and TCP connects, but the TLS handshake dies. Symptom: curl: (35) SSL_ERROR_SYSCALL after a fast connect. This is the most common "blocked" case for APIs and is invisible to a ping test.
  3. IP/route blackhole. Packets are dropped after the handshake starts. Symptom: long timeout, no error.
  4. Slow but alive. Everything works, but TTFB is 1-3 seconds because the path is congested. Symptom: users see timeouts in your product while your synthetic monitor (in another region) says 200 OK.

A single ping or an "uptime" monitor cannot distinguish these. That is why "my site works, users in China say it doesn't" is such a common support thread.

The tests, cheapest first

1. Ask a person in China (most accurate, least scalable)

Real user reports beat any synthetic test, because residential routing differs from datacenter routing. But you do not always have that person on call.

2. Free online "China firewall checker" sites

They measure from a handful of fixed probes, often datacenter IPs and often stale. Useful as a first filter, not as evidence. If the checker says "blocked" but a real user says it works, believe the user.

3. Ask for a measurement from a residential Chinese connection

This is the signal that matters: does a normal ISP connection answer, how fast, and does the TLS handshake survive. If you do not have a connection yourself, use a service that measures from one and returns raw numbers rather than a verdict.

I built exactly that because I needed it: China website checker - paste a URL, get HTTP status, edge IP and region from a residential mainland-China IP. Free, no signup.

4. If you need numbers in CI

Do not scrape the checker page. Call the API:

curl "https://china-reach-audit.2390098382-380.workers.dev/audit?url=https://your-site.com" # {"ok":true,"http_code":200,"ip":"...","region":"mainland China, residential CN IP, no VPN",...} 

The paid tier (/audit-plus-v2, x402 on Base, $0.50) returns DNS / TCP / TLS / TTFB / total for up to five URLs as JSON - enough to fail a deploy or alert on a handshake regression. There is an MCP endpoint at /mcp if your agent speaks the protocol.

What to do with the result

Result What it means Typical fix
DNS resolves wrong poisoning do not rely on DNS alone; use a CDN with in-country presence
TCP fast + TLS reset SNI-level filtering switch CDN/edge provider; test the new edge the same way
No response at all route blackhole move to an edge that peers inside China
200 but 2-3s TTFB congestion add a fallback region or reduce payload; treat 2s as failure in your client

The uncomfortable part: for categories like model APIs and agent infrastructure, the blocked set is not stable. I re-measure 24 endpoints hourly, and the list changes. A one-time audit is a snapshot; if your product depends on that endpoint, you want the measurement to run continuously.

A note on what "works" means

A 200 from a residential connection in Shanghai is not the same as a 200 from a corporate network in Beijing with a different ISP. Any single measurement is a sample. Publish the number, the time, the network, and the method - otherwise you are repeating someone else's folklore.

Hourly index of 24 AI/agent endpoints from my connection: live status. Method and raw data: GitHub.