Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.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

TierUse it nowhow much it should matter to you
Useful3my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaGatewaywhat it touches
KindNew Featuresin v2.1.274,
Group of 2 Use it now Notable

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

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 bundlestore.connect_timeout_seconds
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 store.connect_timeout_seconds, on Claude apps gateway deployment and operations. | Log: `could not connect to Postgres at boot, attempt 1 of 3` | The database wasn't reachable yet when the gateway started, for example on a cold instance whose network is still coming up | If the gateway then finishes booting, no action … claude-apps-gateway-deploy see the edit
How sure we are
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up store.connect_timeout_seconds, on Claude apps gateway deployment and operations.
Anthropic's release notes agreeAdded store.connect_timeout_seconds to the Claude apps gateway config to lengthen the Postgres connect timeout (default 5 seconds), and…

See this entry in the whole of v2.1.274 →