Live demo · the Whyfire screens as on-call sees them · read-only← The guided demoJoin the waitlist
Whyfire AI write-up on · claude-opus-5-5
← Resolved incidents
warninginc_20261014_3d75b71e · 2026-10-14 10:09 UTC

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

Cause · from the AI investigation
app-01's shop-app.service was stopped cleanly at 09:59:02Z, so nginx on web-01 got "connection refused" for the /checkout requests it sent there and returned 502s. The service was started again at 10:09:03Z.
The statistics agree: app-01, service stopped: 1/min (hour before: 0/min), 8 min before the alarm.
Followed the errors: web-01 → app-01 · “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:”
service stopped on app-01: from 0/min to 1/min over the 70 minutes before the alarm and 10 after; usual level 0/min.alarm1/min0/min70 min before10 min after

What changed, earliest first

ServerWhat changedBefore → afterStartedSize of jump
web-01 raised no alertconnections 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
chartconnections refused on web-01: from 0/min to 59/min over the 30 minutes before the alarm and 10 after; usual level 0/min.
8 min before the alarm huge
web-01 raised no alertlog 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
chartlog lines per minute on web-01: from 0/min to 179/min over the 30 minutes before the alarm and 10 after; usual level 7/min.
8 min before the alarm huge
app-01 raised no alertservice stopped cause
“Stopped shop-app.service - Shop checkout service.”
0/min → 1/min
from none
8 min before the alarm small
shop.example.comwebsite answering effect 1 → 0
chartwebsite answering on shop.example.com: from 0 to 1 over the 30 minutes before the alarm and 10 after; usual level 1.
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