Error messages: causes and fixes

Copy the line from your logs, find its page. Each one says what the message means, which command confirms the cause, and how to fix it.

Gateway and proxy errors

A proxy or a load balancer (nginx, an AWS ALB) could not get a valid answer from the server behind it, and returned 502, 503 or 504.

HTTP status codes

What a status code means, who sends it, and how to fix the request or the server.

Server and resource errors

The process was killed or ran out of resources, often the real cause behind a 502.

Cron and scheduled jobs

A scheduled job did not run, ran and failed, or was never installed. Cron says little about any of it.

SSL and certificates

The certificate could not be issued or renewed, or the server serves one that clients refuse.

Is it just you?

Before digging into logs, check whether the site is down for everyone with Is my site down?, which tests a URL from several regions at once. To hear about the next error before your users do, set up uptime monitoring.

Get started

Start monitoring in the next 5 minutes.

Stop letting customers discover your outages first. Set up monitoring, status pages, on-call, and alerts before your next coffee break.

Free plan, 20 monitors. No credit card, no time limit.