Skip to content

Backend Failure Detection

API & Backend Failure Detection

Your backend goes down. Your server returns a 503. Your CDN starts serving an error page. But your uptime tool? It sees a 200 OK. Sitewatch fetches pages and validates every asset, so backend failures that break the visitor experience get caught -- not ignored.

  • Detects 5xx errors and service unavailability on your pages
  • Catches redirect loops and pages silently drifting to wrong hosts
  • Finds missing assets caused by backend or deployment failures

Why it matters

Backend failures that uptime tools pretend do not exist

Server error detection

When your backend returns a 5xx error, Sitewatch flags the page as UNAVAILABLE. That covers 503s, 502s, and network failures that your ping-based uptime tool never sees.

Redirect loop detection

A misconfigured backend traps visitors in an infinite redirect cycle. The browser gives up, but your server logs look normal. Sitewatch flags REDIRECT_LOOP before users get stuck.

Host drift detection

Your page silently redirects to an unexpected domain -- a CDN error page, a parked domain, a staging server. HOST_DRIFT catches it because Sitewatch follows redirects and checks where they land.

Broken asset detection

A backend deployment breaks asset references. JavaScript returns 404, images vanish, CSS files disappear. Sitewatch sends a HEAD request to every referenced asset and flags ASSET_MISSING failures.

Content type validation

When servers return wrong MIME types or serve non-HTML responses for pages that should be HTML, Sitewatch flags ASSET_MIME_MISMATCH and NON_HTML_PAGE incidents.

Structural change detection

SHA-256 fingerprinting of your page HTML detects when backend issues silently alter page output. You see when content changes unexpectedly, even if the status code stays 200.

6

Incident types detected

2-of-3

Retry confirmation

6 channels

Alert channels

11 detection rules

Every way a backend failure can break your site

Page-level failures

  • UNAVAILABLE -- page returns 5xx error or network failure
  • REDIRECT_LOOP -- page caught in circular redirects
  • HOST_DRIFT -- page redirects to an unexpected domain
  • NON_HTML_PAGE -- page serves wrong content type instead of HTML

Asset-level failures

  • ASSET_MISSING -- JS, CSS, or image returns 404 or 410
  • ASSET_MIME_MISMATCH -- asset served with incorrect MIME type

Simple setup

How Sitewatch catches backend failures

01

Add your pages

Enter any URL and Sitewatch fetches the page via HTTP, just like a real visitor would.

02

Parse and validate

The HTML is parsed to extract every script, stylesheet, and image reference. Each asset gets a HEAD request to check its HTTP status code and MIME type.

03

Confirm with retries

Issues are confirmed with 2-of-3 retry logic to eliminate false positives from transient glitches.

04

Get alerted via Slack or email

Confirmed incidents trigger alerts via Slack or email with the failure type, affected URL, HTTP status code, and which assets broke.

Stop backend failures from reaching your visitors

Free plan. No credit card. 2-minute setup.

The gap in your stack

Your uptime tool says "up." Your visitors say "broken."

Server errors

Uptime tools:Ping says 200 OK
Sitewatch:Full page fetch with 5xx detection

Redirect issues

Uptime tools:Not detected
Sitewatch:Redirect loops and host drift caught

Asset validation

Uptime tools:Not checked at all
Sitewatch:Every JS, CSS, and image verified

Content type checks

Uptime tools:Ignored
Sitewatch:MIME type validated per asset

False positive prevention

Uptime tools:Alert on first failure
Sitewatch:2-of-3 retry confirmation

Alert evidence

Uptime tools:Status code only
Sitewatch:Failure type, asset URLs, HTTP status

FAQ

Frequently asked questions