Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.308 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.274 ·

Enterprise gateway gets clearer rate-limit and connection diagnostics

The self-hosted gateway now gives clearer errors for Postgres connect timeouts, sign-in rate limits, X-Forwarded-For mismatches, and OAuth device-flow limits

Group of 2 Use it now Improvements
JSON All of v2.1.274
Use it nowTier: how much it should matter to you
3Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
ImprovementsKind: in v2.1.274,
What probably matters to youSection of the release

What

  • The gateway server now reads a store.connect_timeout_seconds config value, wraps its initial Postgres connection attempt in a retrying wrapper, and shows a clearer boot error naming that setting if the connection fails.
  • It logs a throttled (once-per-minute) warning when sign-in rate limits (rate_limits.device_authorization.max, rate_limits.device_verify.max) are hit, and a new warning when a request carries an X-Forwarded-For header but its source isn't listed in listen.trusted_proxies.
  • When the /oauth/device_authorization or /device (verify) endpoints hit these same rate limits, the response to the client now explains that the limit may be caused by shared-network noise and points admins at the specific config keys to adjust, instead of a generic "Too many attempts" message. Each rate-limited path also now fires a telemetry call.

Why These changes make it much easier for administrators running a self-hosted gateway to diagnose why sign-ins are being rate-limited or connections are failing, instead of seeing generic errors with no pointer to the relevant setting.

Read from
Names in the bundlelisten.trusted_proxiesrate_limits.device_authorization
What the documentation says
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up listen.trusted_proxies, on Claude apps gateway deployment and operations. * **The gateway can't see past your load balancer.** Without [`listen.trusted_proxies`](/docs/en/claude-apps-gateway-config#listen), every developer appears to come from the load balancer's address and shares one limit. Set it before anyth… claude-apps-gateway-deploy see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up listen.trusted_proxies, on Claude apps gateway deployment and operations.

See this entry in the whole of v2.1.274 →

Feedback