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_secondsconfig 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 anX-Forwarded-Forheader but its source isn't listed inlisten.trusted_proxies. - When the
/oauth/device_authorizationor/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.
Names in the bundlestore.connect_timeout_seconds
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
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agrees
Anthropic's documentation has since written up store.connect_timeout_seconds, on Claude apps gateway deployment and operations.
Anthropic's release notes agree
Added store.connect_timeout_seconds to the Claude apps gateway config to lengthen the Postgres connect timeout (default 5 seconds), and…