How to exclude specific data centers (colos) from Worker routing?
PROBLEM: - Korean customer gets routed to Hong Kong (HKG) data center - External API (Gemini API) returns:
"User location is not supported for the API use."
"User location is not supported for the API use."
- Customer can't use service they paid for
This behavior automatically exclude all Asian users from my app! I had a similar issue with a Vietnamese customer.
Even worse: During freemium testing, this same Korean user was routed to "NRT" (Tokyo Narita) and everything worked perfectly! The unpredictable routing changes make it impossible to guarantee service availability without the ability to blacklist problematic colos.
Current setup: - Cloudflare Worker calling Google Gemini API that has geographic restrictions - Error:
400 Bad Request - "User location is not supported"
400 Bad Request - "User location is not supported"
- Happens specifically from HKG colo
Question: Is there ANY way to exclude specific colos (like HKG) from routing? Or force certain geographic regions to use different data centers?
Alternative solutions welcome: - Route Korean traffic to Tokyo/Singapore instead of HKG? - Force specific countries to use US/EU workers? - Any Cloudflare feature I'm missing?
This is blocking paying customers from using our service. Any help appreciated!