ai newsDi., 1. Dez.

Warum ChatGPT und Claude aus China auch mit VPN nicht funktionieren

Nutzer aus Festlandchina berichten, dass ChatGPT, Claude oder Cursor trotz funktionierender VPN-Verbindung fehlschlagen, etwa mit endlos ladenden Login-Seiten, abgebrochenen Antworten oder Fehlermeldungen, dass die Region nicht unterstützt wird.

dev.toMontag 12:33 · 30.11.DE4 Min. Lesezeit
Bild: dev.to

If you use ChatGPT, Claude or Cursor from mainland China, you've probably seen it: the VPN says "connected", Google loads fine, and the AI tool still fails. A login page that never loads. A reply that stops halfway. "Unable to load site." An error saying your region isn't supported.

I work on DopeVpn, a VPN service for people inside mainland China, and most of our users connect mainly to use AI tools. Over the last few months we've spent a lot of time on one question: when an AI tool breaks but the "VPN works", what is actually broken? Here's what we found. None of it is specific to our service. It applies to whatever you use.

The Great Firewall is only the first gate. The second gate is the AI company itself. OpenAI and Anthropic only serve a list of supported countries and regions, and mainland China and Hong Kong are not on either list.

That catches a lot of people, because Hong Kong is the most common "fast" server for users in China. We tested this ourselves: requests leaving through a Hong Kong IP are refused by OpenAI, the same as requests from the mainland. A Hong Kong server is fine for Google or GitHub. It's the wrong choice for ChatGPT or Claude.

What to do: pick an exit in a supported country. Japan, Singapore and the US are the usual choices from China, because the routes are short. If your VPN app has an "auto" or "fastest" mode, check where it actually put you. Fastest often means Hong Kong.

Even in a supported country, the IP itself is scored. ChatGPT, Claude and some other AI sites sit behind bot protection that is much stricter with datacenter IP ranges than with home connections. A cheap VPS IP that works perfectly for Netflix can get endless "verify you are human" loops, 403 errors, or a login that silently fails.

In our own fleet, the generic exit servers were fine for most of the internet but were the weak spot for exactly three services: ChatGPT, Claude and Grok. That's why we ended up sending AI traffic through separate exits instead of the general ones.

What to do: if you get challenge pages or 403s on one AI site but everything else works, switch exit servers before you blame your account. If every server in one location fails the same way, the whole IP range is probably flagged.

This one surprised us. When users told us "Claude is slow" or "ChatGPT stops mid-answer", our first instinct was to check the exit server. The exit was almost always healthy.

What actually failed was the leg from inside China to the first server abroad. During one bad week, a relay in front of one of our Japan exits went from a round-trip time of about 100 ms to 1 or 2 seconds during the evening peak, with 15 to 21 percent of packets being resent. Monitoring from Europe saw nothing wrong, because Europe doesn't cross that leg.

This matters because AI tools are unusually sensitive to it:

What to do: if replies break off halfway at the same time every evening, it's very likely the route, not the AI service and not your account. Try a different entry server or protocol before anything else.

People love to ask which protocol is "the best for China". Our client measurements say the honest answer is "it depends on your ISP and the hour".

For some users, a UDP-based protocol was several times faster than a TCP-based one on the same exit server during a lossy period. For other users, whose ISP throttles UDP in the evening, the same UDP protocol mostly timed out, while TCP kept working. Same server, same day, opposite results.

What to do: if your client lets you, keep both a UDP-based and a TCP-based option, and switch when one gets bad. If it doesn't let you, at least know that "it was fast yesterday and terrible tonight" is normal behaviour, not a sign you've been banned.

A quieter failure: the connection works, but each new domain takes several seconds to start loading. Pages eventually appear, so it looks like "slow internet". AI tools, which pull in several domains for login, assets and the API, feel especially sluggish.

We hit this ourselves on new servers whose default DNS resolver didn't answer, so every lookup waited about 5 seconds for a timeout before falling back. The fix was one line of configuration. Finding it took much longer.

What to do: if the first load of every site is slow but reloads are fast, suspect DNS. On a self-hosted server, check /etc/resolv.conf and time a lookup with getent hosts example.com.

When an AI tool breaks in China and "the VPN is connected":

A note on accounts: AI companies can also flag accounts that sign up or pay from unsupported regions. Using a consistent exit country helps avoid tripping that.

Using a VPN in China sits in a legal grey area. This post isn't legal advice.

Disclosure: I work on DopeVpn, a VPN service for users in mainland China that routes AI tools through dedicated exits in Japan. Everything above comes from our own monitoring and user reports, and the checklist applies whatever service you use. New accounts get a 3-day free trial if you want to compare.

Originaltitel: Why ChatGPT and Claude keep breaking in China, even with a VPNQuelle: dev.to (dev.to). Original öffnen