Skip to content

Probable cause

What changed right before, said in one sentence

An alert that says “/checkout failing” leaves you investigating. An alert that says “/checkout failing, 3 minutes after deploy a1b2c3d removed Stripe.js” leaves you fixing.

“I spent an hour searching before I saw my colleague's commit.”

The longest part of an incident isn't fixing: it's understanding.

sources checked: deploy, DNS, host, payments
4
sentence in the alert
1
the changed files, when it's a deploy
diff
accusations: a lead, not a verdict
0

14:22. /checkout returns 503.

An incident opens. PostShip already knows what changed before, kept in other tables.

The suspects, in order of time.

Everything that changed before the outage: a deploy, a certificate, a third-party script, the server's load.

Each one gets a score.

A deploy within the half hour: +60. A server error that crashes: +10. Under 25, a hypothesis is noise: it isn't shown.

Deploy a1b2c3d, 3 minutes before.

70 out of 100: high confidence. The prime suspect, not a culprit.

Probable, never certain.

The sentence says so, and gives its evidence, one line each, so you can dispute it.

/checkout returns 50314:22 · incident opened

Server saturation

at the time of the outage

0

+15 response time rising

Deploy a1b2c3d

3 min before

0

+60 within the half hour+10 503 error

Third-party script changed

40 min before

0

+30 chat-widget.js changed

Certificate renewed

20 h before

0

+35 the certificate changed

Probable cause: a deploy (a1b2c3d) went out 3 min before. High confidence.

  • · Deploy a1b2c3d at 14:19, 3 min before.
  • · The error seen (HTTP 503) is that of a server restarting or crashing.
  1. 14:22. /checkout returns 503.

    An incident opens. PostShip already knows what changed before, kept in other tables.

  2. The suspects, in order of time.

    Everything that changed before the outage: a deploy, a certificate, a third-party script, the server's load.

  3. Each one gets a score.

    A deploy within the half hour: +60. A server error that crashes: +10. Under 25, a hypothesis is noise: it isn't shown.

  4. Deploy a1b2c3d, 3 minutes before.

    70 out of 100: high confidence. The prime suspect, not a culprit.

  5. Probable, never certain.

    The sentence says so, and gives its evidence, one line each, so you can dispute it.

Probable cause: a deploy (a1b2c3d) went out 3 min before. High confidence.

How it works

  1. The latest deploy, and what it changed

    When the site is connected to GitHub, PostShip knows the files touched by the deploy that precedes the failure.

  2. DNS and the certificate

    An A record that changes, a certificate that expires: PostShip records both on every pass and can say whether they moved between the last green pass and the first red one.

  3. Your host and your payment provider

    The status pages of Vercel, Netlify, Cloudflare and Stripe are read at the time of the incident.

  4. A lead, dropped if it doesn't hold

    The probable cause is the closest in time and the most tied to the broken page.

The signals we put side by side

None of them is new: they already sit in separate tables. The post-mortem places them on one timeline, 2 hours before the outage and 30 minutes after.

Your deploys

A deploy in the half hour before is suspect number one; further back within 2 hours it is still cited but weighs half as much. Only the last one counts: 2 releases do not make the cause twice as likely.

Your providers' state

The status pages of the host, the payment provider, the auth service. A major incident declared at the same moment changes the reading of an outage entirely — and so does an announced maintenance, the other way.

DNS and certificates

A record that changed, a renewed certificate, an unexpected issuer. These are the causes you find last when searching by hand, because you do not think to look at them.

What fell around it

How many of the project's other URLs were failing at the same instant, and whether the rest of the site still answered. That is what separates “the site is down” from “this page is down”, and you do not open the two the same way.

Correlation is not proof

The post-mortem is temporal correlation, and it is written so you can contradict it.

The sentences say “likely”

Never “certain”. A deploy 3 minutes before a 503 is a suspect, not a culprit — and the sentence names the delay so you can judge for yourself whether the link holds.

Every hypothesis shows its evidence

One line per signal used, with its time in UTC: the time of the logs you are about to open. If a piece of evidence looks wrong to you, the hypothesis falls with it, and that is the point.

Below the threshold, it stays quiet

A hypothesis that is too weak is not shown. A timeline with no conclusion beats an invented cause: when nothing precedes the outage, the post-mortem says so, and that is the most useful answer available.

It does not read your logs

PostShip sees your site from the outside. A slow query, a saturated queue, an exception in your code: it can observe the effect, it cannot name the cause. The timeline tells you where to look, not what you will find.

What we're often asked

NextFix before you understand: rollback