WebsiteFlaky on shop.example.com
Resolved 10:21 UTC after 14 min
This alert on shop.example.com: 2nd time in 30 days · usually over in 14 min · last 9 h ago
http://shop.example.com/checkout passed only 63.33% of its checks in 15 minutes
What changed, earliest first
| Server | What changed | Before → after | Started | Size of jump |
|---|---|---|---|---|
| web-01 raised no alert | connections refused “nginx: 2026/10/14 09:59:03 [error] 20139#20139: *189089 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: , request: "GET /checkout HTTP/1.1", upstream: "http://172.31.15” |
0/min → 59/min from none chart | 8 min before the alarm | huge |
| web-01 raised no alert | log lines per minute “web-01: nginx: 2026/10/14 09:59:03 [error] 20139#20139: *189089 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: , request: "GET /checkout HTTP/1.1", upstream: "http:” new kind of line, 57.7/min (none in the hour before), 33% of the extra lines also “web-01: nginx: 127.0.0.1 - - [14/Oct/2026:09:59:03 +0000] "GET /checkout HTTP/1.1" 502 166 "-" "curl/8.5.0"” (33%) also “shopper: checkout returned 502” (33%) |
7/min → 179/min ×26 chart | 8 min before the alarm | huge |
| app-01 raised no alert | service stopped cause “Stopped shop-app.service - Shop checkout service.” |
0/min → 1/min from none | 8 min before the alarm | small |
| shop.example.com | website answering effect | 1 → 0chart | at the alarm | clear |
Investigation
Evidence:
- At 09:59:02.848Z app-01 logged "Stopped shop-app.service" after a clean deactivation. It logged "Started shop-app.service" at 10:09:03.513Z.
- web-01 logged about 59 connect() failures per minute from 09:59:03Z to 10:09:02Z, all to upstream 172.31.15.106:8080, which is app-01.
- web-01 has logged no connection errors or 502s since 10:09:04Z.
Action: Find out who or what stopped shop-app on app-01 at 09:59. Watch that the check pass rate recovers. Consider nginx passive health checks so one dead backend can't cause 502s.
Origin check: I agree with the pre-pass: the failed upstream IP is app-01. This matches the confirmed 01:37 pattern, but this time it is app-01, not app-02.
Written by claude-opus-5-5 from the evidence above.
Alerts in this incident
- WebsiteFlaky on shop.example.com 10:08 UTC
Runbook
Up, but failing some of the time. Read the cause on the card first: packet loss or a struggling server shows there.
- Behind a load balancer? One bad server among good ones gives exactly this pattern: check each one.
- Otherwise look for packet loss (
mtr <server>) and for CPU or memory pressure on the server behind it.
Whyfire's starter runbook
Incidents like this before
- 2026-10-14: WebsiteFlaky on shop.example.com
cause app-02 (service stopped) · confirmed right
app-02's shop-app.service was stopped cleanly at 01:27:42Z and has not been started again. nginx on web-01 still sends some /checkout requests to it, and those get 502s, so the site passes only part of its checks.
Silenced before
- Never silenced in the last 6 months
Also started nearby
- None
3 AI turns · about $0.060