Incident Report: April 23rd, 2025
A Google Cloud SQL maintenance window took Railway's networking control plane Postgres read replica offline for about 10 minutes, destabilizing edge, private networking and TCP proxy traffic across all regions, worst in Asia. Control plane instances crashed on database connection errors because of improper error handling, and each restart evicted the in-memory routing cache, which could not be refetched while Postgres was down. Slow cache warming delayed recovery until 09:28 UTC. Planned fixes include regional control planes to limit blast radius, graceful handling of DB errors, a persistent routing cache as a fallback, faster startup, and Cloud SQL maintenance settings that keep primary and replica from being maintained at the same time.
Related posts
- Incident Report: May 19, 2026- GCP Account Suspension
Railway mediumAdeptAn automated Google Cloud account suspension took Railway's GCP-hosted control plane, API, dashboard and databases offline for about 8 hours. Once edge proxies' cached routing tables expired, the outage cascaded to workloads on Railway Metal and AWS, because route discovery depended on a network control plane API hosted in GCP. Restoring account access did not restore the platform: persistent disks, compute and networking each needed separate recovery. Afterward, queued deploys had to be drained gradually and GitHub rate-limited OAuth and webhook traffic from retries against cold caches. Planned fixes include removing the single-cloud discovery dependency so the network becomes a true mesh, spreading HA database shards across AWS and Metal for quorum survival, and moving GCP out of the data plane hot path.
- Incident Report: September 22nd, 2025
Railway mediumAdeptA schema change removing an unused column was partially reverted by a later code change, breaking a core API and leaving Railway's project canvas stuck loading. After a 15-minute fix, the backlog of queued deployments flooded the Control Plane, whose PgBouncer pooler had been silently upgraded several versions when Railway moved off deprecated Bitnami images. The new version consumed abnormal CPU and memory under load, likely from a changed default configuration. Deployments were shed by tier and the database scaled up, but recovery came only after rolling PgBouncer back, which gave a 100x performance improvement. Follow-ups include CI schema compatibility checks, PgBouncer metrics alerting, phased pooler upgrades, and moving Control Plane storage off Postgres.
- September 23 incident update
Deno easyNoviceA 35-minute outage on September 23, 2021 took down Deno Deploy projects, deno.land/x and /std module downloads, the dashboard and GitHub integration. It was caused by an unexpected Google Cloud Platform maintenance event on the primary Postgres database, during which HA failover to standby replicas is not possible. The database finished maintenance in an unknown failure state and recovered only after an automatic restart, with no data lost. Scheduled database maintenance has been halted while Deno works with GCP on the root cause and on making services resilient to primary database failures.
- Clouds, caches and connection conundrums
incident.io mediumAdeptAfter migrating to Google Cloud, sporadic Postgres and memcached connection timeouts on GKE turned out to be node-wide, not process-local. Bursts of rapidly opened TCP connections, from concurrent cache sets, GCS URL generation and a runaway query fanning out external calls, spiked CPU in the Dataplane V2 anetd agent and caused dropped packets. Partial mitigations helped: static Postgres pools with a longer connection lifespan cut new connections from ~200/s to ~1/s, and raising memcache MaxIdleConns from 2 to 20 also reduced timeouts. The lasting fix is connection reuse plus limits on outbound network concurrency rather than disabling Dataplane V2. Network timeouts should be investigated at the node level, not just per pod.
- Incident Report: April 30th, 2025
Railway mediumAdeptRailway's API backend, which serves the dashboard, CLI, Public GraphQL API and GitHub deploy webhooks, went down for roughly four hours after a batch of Kubernetes configuration changes meant to cut dashboard latency. The changes included a modified healthcheck that no longer checked Postgres liveness, so unhealthy pods kept taking traffic and overloaded the database. The root cause was pgbouncer pods that reported healthy but could not serve traffic because the service mesh failed to inject routing information, breaking DNS resolution. Recovery was slowed by selective rollbacks and needed a full pod cycle even after a complete revert, so Railway now staggers config rollouts with rollback plans, reverts fully at the first sign of trouble, and has removed the service mesh from critical paths in favour of simple load balancers.