Skip to content

Cloudflare blocks China residential users on opencode.ai (multiple ISPs) #59153

Closed as not planned

Description

@yu-wechao-laoyu

Problem

I am a home broadband user in China and opencode.ai has been repeatedly blocked by Cloudflare at the edge for over 6 months, across multiple ISPs.

Evidence

Block 1 (China Mobile, CGNAT shared exit):

fl=988f21
h=opencode.ai
ip=120.229.199.64
ts=1792985811.000
colo=PDX
loc=CN
http=http/2
tls=TLSv1.3
kex=X25519MLKEM768

Block 2 (China Unicom, Guangdong):

fl=447f206
h=opencode.ai
ip=112.97.32.156
ts=1792987794.000
colo=LAX
sliver=050-tier1
loc=CN

Details

  • Both IPs are residential CGNAT shared exits from major Chinese ISPs (China Mobile, China Unicom).
  • A friend on the same IP range can access the site normally, so the block appears to hit shared subnet reputation rather than individual misbehavior.
  • The desktop app also keeps showing "Free usage exceeded" with endless retry countdowns, which may be related to the shared IP quota being exhausted by other users behind the same CGNAT exit.

Request

Could you please review the Cloudflare WAF/firewall rules for opencode.ai and consider whitelisting or softening the challenge for residential IP ranges from major Chinese ISPs? Legitimate users on shared CGNAT exits are being blocked through no fault of their own. Thank you!

Activity

  1. opencode-agent commented on Oct 26, 2026

    @opencode-agent
    Contributor

    Thanks for the detailed report, @yu-wechao-laoyu, and sorry that opencode.ai keeps blocking your home connection on both China Mobile and China Unicom.

    This looks like a block in the opencode.ai edge/WAF rules for those IP ranges, not a bug in the OpenCode app. The "Free usage exceeded" message in the desktop app most likely comes from the same restriction on the free-tier service. Only the team can review and change these rules, and access and account support isn't handled in GitHub issues.

    Please email help@anoma.ly with:

    • the blocked IPs and the Cloudflare details you collected (fl, colo, ts, Ray ID if shown)
    • roughly when it started and which ISPs are affected
    • the exact error the desktop app shows

    If you've already emailed, the team will get to it, especially now that we've seen it here. Please send account details only in that email and keep them out of this public issue.

    Related issues, in case they're useful:

    The bot will close this issue in 1 day, since this needs to go through email support.

  2. opencode-agent commented on Oct 27, 2026

    @opencode-agent
    Contributor

    We're closing this issue now, @yu-wechao-laoyu. The Cloudflare block on your China Mobile and China Unicom connections, and the "Free usage exceeded" message tied to it, can only be looked into by the team by email, not on GitHub.

    If it's still happening, please email help@anoma.ly with the blocked IPs, the Cloudflare details you collected and the exact error the app shows. Please send account details only in that email, not here. Thanks for the clear report, and sorry for the trouble.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions