Skip to content

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

Railway 18 min read Incident mediumAdept

Incident Report: Feb 18-21 DDoS + Cloudflare Outage

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.

Related posts

  • 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: January 31st, 2024

    Railway mediumAdept

    A ~12 million RPS, ~650 Gbps TCP SYN flood, likely from a Mirai botnet, overwhelmed Railway's EU edge proxies on January 31, 2024. EU users could not reach hosted workloads for about 5.5 hours, a separate 250k RPS L7 attack had earlier destabilized the dashboard. Mitigation was hard because the flood came from clean or spoofed IPs, connection rate limits were ineffective against half-open connections, and Railway terminates TLS itself, so it could not simply put Cloudflare in front. Recovery required tuning kernel TCP settings (backlog, SYN-ACK retries, syncookies), inserting a non-TLS-terminating filtering service between the load balancer and edge, and recreating the load balancer.

  • Incident Report: July 2, 2026 — US East Services Outage

    Railway mediumAdept

    An upstream Tier 1 carrier's backbone degradation caused packet loss between Railway's US regions, and while routing around it, engineers disconnected the last carrier supplying a default route to a first-generation US East site, leaving it without a stable internet route for about 20 minutes. That instability exposed latent bugs: Linux hosts fell back to a slow management network for storage traffic, and connections stayed pinned there after recovery, capping throughput at a third and pushing I/O wait to 58%. WireGuard-style mesh tunnels also learned a NAT device's address as their peer and, being silent when idle, never self-corrected, blackholing about 20,000 links until agents were restarted. Fixes include self-generated default routes at older sites, making missing fabric routes fail closed instead of falling back, and alerting on management-network utilization and blackholed links.

  • How Mux Routed Around a Major Network Outage | Mux

    Mux mediumAdept

    During the June 24 Verizon BGP route leak (AS701), Mux Video's dynamic CDN selection, built on Citrix ITM and Radar RTT data, automatically shifted affected viewers from Fastly to Stackpath/Highwinds. Fastly RTT on AS701 jumped from 11ms to 80ms while Highwinds rose only from 12ms to 26ms, which overrode a cost-based handicap favoring Fastly. The cutover was limited to the impacted ASNs and geographies, and because Highwinds still pulled through the Fastly origin shield, origin egress did not increase.

  • 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.

The quest for software engineering knowledge.

Look:
Layout: