How to avoid bad assumptions during incidents
HTTP header names arriving downcased at a public API were wrongly blamed on a Google Cloud Load Balancer change. The real cause was an HAProxy upgrade that lowercases HTTP/1 header names. The verification step was confounded because curl had silently negotiated HTTP/2, which mandates lowercase header names, so the test appeared to confirm the load balancer theory. The lessons: log every command and result during an incident, re-check earlier conclusions whenever severity rises, and distrust a compelling story that matches your biases.
Related posts
- Retrospective and Technical Details on the recent Firefox Outage
Mozilla Hacks mediumAdeptOn January 13, 2022, Firefox hung worldwide for about two hours after Google Cloud silently made HTTP/3 the default on load balancers left at "Automatic", causing Telemetry connections to switch from HTTP/2 to HTTP/3. Telemetry's Rust code sent requests through the viaduct library, which lower-cased the Content-Length header. Necko's high-level API checked headers case-insensitively, but its HTTP/3 code looked them up case-sensitively, so it treated the request as complete with the body unsent and looped forever on the single socket thread, blocking all networking. Lessons include setting load balancer options explicitly instead of relying on defaults, and running system tests across HTTP versions and intermediate networking layers in CI.
- When protections outlive their purpose: A lesson on managing defense systems at scale
GitHub Engineering mediumAdeptEmergency protection rules added during past GitHub abuse incidents were left in place and began rate-limiting legitimate logged-out users with "Too many requests" errors. The rules combined fingerprinting with business-logic signals. Only 0.5–0.9% of fingerprint matches were blocked, but false positives still reached about 3–4 per 100,000 requests. Finding the cause meant correlating logs across edge, application and service layers with different schemas. GitHub removed the stale rules and now treats incident mitigations as temporary by default, with expiration, post-incident review and cross-layer visibility into which layer blocked a request.
- From Custom to Open: Scalable Network Probing and HTTP/3 Readiness with Prometheus
Slack Engineering easyNoviceSlack's HTTP/3 rollout exposed a client-side observability gap: HTTP/3 runs over QUIC on UDP, and neither the commercial SaaS probing tools Slack evaluated nor the Prometheus Blackbox Exporter could probe QUIC endpoints. An intern added HTTP/3 support to Blackbox Exporter using quic-go's http3.Transport, kept it consistent with the exporter's existing configuration patterns, and upstreamed the change. While the PR awaited merge, he also built an in-house probing system on top of it. Slack now sees HTTP/1.1, HTTP/2 and HTTP/3 metrics side by side in Grafana, which gives it more reliable alerts and makes regressions to HTTP/2 easier to spot.
- More details about the October 4 outage
Meta Engineering easyNoviceFacebook's October 4 outage began when a routine maintenance command meant to assess global backbone capacity instead took down every backbone connection, and a bug in the command-audit tool failed to block it. Because edge DNS servers withdraw their BGP advertisements when they can't reach the data centers, the authoritative name servers became unreachable even though they were still running, and the loss of DNS also broke internal tooling. With out-of-band access down, engineers had to go onsite through deliberately hard physical security. They then restored load gradually, guided by 'storm' failure drills, to avoid power and cache surges. The tradeoff they accept is that strong security hardening slows recovery from rare self-inflicted failures.
- Reducing our pager load
incident.io mediumAdeptincident.io pages on every Sentry error, and cut the resulting noise with four quick changes instead of switching to error-rate alerting. Go Slack helpers return a separate warning for expected failures such as archived channels or missing scopes, with staticcheck deprecating the raw client. Best-effort code paths set a context-level Urgency so only Urgency=page errors wake anyone. Pub/Sub handlers page only after more than three failed attempts, and errors from sales demo accounts no longer page; one engineer spent about a week and pager load dropped sharply.