Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Railway 2 min read Incident easyNovice

Incident Report: March 30th, 2026 — Authenticated user data cached

A CDN configuration change meant to enable Surrogate Keys for per-domain cache purging accidentally turned on edge caching for about 0.05% of Railway domains that had CDN disabled. For 52 minutes on March 30, 2026, responses to other users could be served from cache, including authenticated pages. Origin Cache-Control directives were respected and Set-Cookie headers were not cached, but GET responses without explicit cache headers were cached by default. Railway reverted the change, purged caches globally, added tests for caching behavior, and now shards CDN rollouts over hours instead of minutes.

Related posts

  • Incident Report: March 30th, 2026 — Authenticated user data cached

    Railway easyNovice

    A CDN configuration change meant to enable Surrogate Keys for per-domain caching accidentally turned on edge caching for about 0.05% of Railway domains that had CDN disabled. For 52 minutes on March 30, 2026, GET responses, including authenticated ones, could be served to other users. Origin Cache-Control headers were honored and Set-Cookie headers were not cached, but GET responses without explicit cache headers were cached by default. Railway reverted the change, purged caches globally, added tests for caching behavior and now shards CDN rollouts over hours instead of minutes.

  • Incident Report: October 16th, 2025

    Railway easyNovice

    A traffic spike on Railway's Edge Network coincided with a routine edge service upgrade and exhausted memory in an internal routing service that was already running at high utilization. New proxies could not initialize, failed health checks and were pulled by load balancers, causing 2-3 minutes of intermittent HTTP/TCP failures (404s, 522s) across all regions while private networking stayed unaffected. Recovery came as caching absorbed the load. Fixes include higher memory limits, tiered memory alerts and overload safeguards, with a memory-efficient rewrite and a multi-region architecture planned to isolate failures per region.

  • Incident Report: Feb 18-21 DDoS + Cloudflare Outage

    Railway mediumAdept

    Between Feb 18 and 21, 2026, a series of nine DDoS attacks, some reaching about 1 Tbps, caused intermittent 4xx/5xx errors and outages across Railway's shared HTTP proxy layer. Fiber cuts had already reduced upstream bandwidth, so attacks that would normally be absorbed could saturate the shared proxies. When the primary Cloudflare-based mitigation failed mid-attack and the attacker switched from L4 TCP floods to L7 HTTP, Railway rotated proxy IPs, moved Business and Enterprise customers onto a separate proxy shard, and did an emergency platform-wide rollout of a Fastly WAF. That rollout caused its own problems: about 2,700 endpoints hit TLS certificate errors (mostly from A-record setups), long-lived connections were cut at 10 seconds, certificate collisions affected Cloudflare-fronted custom domains, and WAF tuning briefly blocked legitimate traffic from Asia, alongside a separate upstream Cloudflare BGP prefix withdrawal.

  • Going multi-cloud with an in-housed status page

    Railway mediumAdept

    Railway built its own status page, hosted on Railway itself, behind a Cloudflare Worker so the public page survives an origin outage. The Worker acts as a transparent proxy with its own stale-while-revalidate layer: it stamps cached responses with an x-cached-at header, refreshes in the background after 5 seconds, and serves the last good render for up to a week if origin disappears. During real incidents a Cloudflare KV flag switches the Worker to serve a self-contained incident page that on-call can edit live, while JSON pollers still get JSON. The page also adds a "Notice" state that acknowledges an issue before it is declared an incident, and the same distributed-routing approach now backs Railway's multi-region network plane.

  • How We Found and Fixed a Filesystem Corruption Bug

    Heroku Engineering mediumAdept

    A failed Cedar-14 stack image rollback caused Heroku's container tools to truncate and overwrite a disk image while it was still mounted read-only as dynos' root filesystem. A container-tools upgrade had changed checksum filenames and digests, so the safety check that skips already-present images missed the existing image. Because the page cache still held old pages while the backing file was truncated or half-written, newly loaded binaries mixed cached and missing data and segfaulted for about five hours. A loop-mount reproduction shows the effect, and the fix was migrating dynos to fresh hosts and marking installed images read-only on the host.

The quest for software engineering knowledge.

Look:
Layout: