Menu

Site navigation

LivePulser
Browse the docs

Common monitoring errors

What a failing check usually means and how to investigate.

When a check fails, LivePulser opens an incident and records, for each failing region, what it sent and what came back. This page shows where to find that record, what common failures usually mean, and how to narrow down the cause. If the monitor won't save in the first place, see Common setup problems.

Where to find the error

  • On the incident page. Website, keyword, ping and port incidents have a Regional failure details card with one tab per affected region. Each tab shows a Timeline (Detected, Resolved, Downtime), the Outgoing request LivePulser sent, and the Server response it got back or the error it hit. Both can be copied. If the card says No regional data, no request or response was captured for that incident.
  • In the alert. Alerts carry the same failure text. In email it's the Details row.
  • On the monitor page. Health Status shows Degraded while some regions have gone down during the incident and Down once all have. The Response time analysis chart shows whether responses were slowing down before the failure.

Each region records the request and response of the check that opened its incident, after any retries. Failed checks before that, and failures while the incident is open, aren't recorded there. The texts below are the ones website, keyword, ping and port checks produce.

How to investigate

  1. Open the incident from the monitor page or Incidents, and read Server response for each region in Regional failure details.
  2. Compare regions. If every region fails, the problem is usually the service itself. If only one or two fail, it's more likely a network path, DNS or firewall issue near those regions.
  3. Reproduce it yourself from outside your network, with the same URL, method and headers as the monitor. The commands in each section below are a good start.
  4. Check recent changes: deployments, DNS edits, certificate renewals, firewall rules or new rate limits.

Website and keyword checks

The Outgoing request shows the method and URL, for example GET https://example.com/health. For keyword monitors it adds the keyword: GET https://example.com checking for [Free shipping]. Headers and the request body aren't shown.

Reproduce a check with the monitor's method (GET is the default for new monitors):

Show the status code and timing
curl -sS -I -o /dev/null -w "%{http_code} in %{time_total}s\n" https://example.com/health
curl -sS -o /dev/null -w "%{http_code} in %{time_total}s\n" https://example.com/health

The first line sends HEAD, the second GET. Add -H "Authorization: Bearer <your-api-key>" if the monitor sends that header, using the same token. Add -L if Follow redirects is on, which it is for new monitors.

Status code failures

A check passes only on status 200 to 299, or 200 to 399 when Follow redirects is on. Otherwise the Server response is the status line, such as 503 Service Unavailable. Keyword monitors add the code again at the end: 503 Service Unavailable 503.

StatusWhat it usually meansWhat to check
5xx, such as 500, 502, 503 or 504The application, or something behind it such as a database or upstream API, failed. 502 and 504 usually come from a proxy or load balancer that couldn't reach your app.Application and proxy logs at the incident time, and the health of anything the endpoint depends on.
401 or 403The request was refused: a missing or expired token, or a firewall, WAF or bot rule blocking the request. Checks use the user agent LivePulser-Monitor/1.0.The monitor's headers in URL and request, and WAF or bot-protection rules.
404 or 405The path is wrong, or the endpoint doesn't accept the method. Some endpoints don't support HEAD.The URL and HTTP method. Try GET.
429Your server or CDN is rate limiting the checks.Allow the checks in your rate limiter, or lower the check frequency.
3xx, such as 301 Moved Permanently or 302 FoundFollow redirects is off, so the redirect itself fails the check. Moving a site to https:// or a new path often causes this.Point the monitor at the final URL, or turn on Follow redirects in Check settings.

Connection errors

When no status code came back, the Server response is one of these texts:

Server responseWhat it meansWhat to do
Request timeoutThe whole check took longer than the monitor's Timeout. With Immediate Retry on, quick retries use a timeout of at most 5 seconds.Look at the response-time trend, server load and slow queries. If the endpoint is just slow, raise the timeout (up to 30 seconds on Free, 60 on paid plans) in Check settings.
Connection timeoutThe connection or TLS handshake couldn't be completed, or no response arrived, within the monitor's Timeout.Check that a firewall isn't dropping packets, and that the endpoint answers within the timeout.
Connection refusedThe host is reachable, but nothing accepts connections on that port: the web server is stopped or listening elsewhere.Whether the service is running, and recent firewall or load balancer changes.
The name doesn't resolve to a public address.The host name has no DNS record, or it resolves only to a private or internal address. The DNS record is missing or mistyped, the domain expired, or the DNS provider is having trouble. Both cases show the same text and no timings, so a check can't be used to look into private networks.The DNS record, the domain's registration, and that the name points to a public address.
The target has only an IPv6 address. LivePulser checks over IPv4 for now.The host name has only IPv6 (AAAA) records. Every check runs over IPv4 today, so nothing was sent.Add an IPv4 (A) record for the host. IPv6 checks are on the roadmap.
Network unreachableThe probe had no network route to the address.That the DNS record points to a public address.
No route to hostA router reported that the host can't be reached.That the host is online and its address is right.
Connection reset by peer, Connection broken, EOFThe server or something in front of it closed the connection before answering.Web server and proxy logs, connection limits, and firewall or DDoS rules.
stopped after 10 redirectsFollow Redirects is on and the URL redirects more than 10 times, usually in a loop.Open the URL with curl -sIL and fix the redirect loop.
server gave HTTP response to HTTPS clientThe URL starts with https://, but the port serves plain HTTP.Use http:// or enable TLS on the server.
Outdated TLS VersionThe server only offers TLS 1.0 or 1.1. Checks require TLS 1.2 or newer, as current browsers do. This fails the check whether or not Check SSL errors is on.Turn on TLS 1.2 and TLS 1.3 on the server.
TLS Handshake Failed, TLS not available, HTTP on HTTPS port, SSL/TLS Connection ErrorThe TLS connection couldn't be set up, for example because the server supports no cipher the check accepts, or doesn't speak TLS on that port. This fails the check whether or not Check SSL errors is on.Test with openssl s_client -connect example.com:443 -servername example.com.

Keyword results

Server responseWhat it meansWhat to do
Keyword not found (should be present) 200The page loaded with status 200, but the keyword isn't in the body.Fetch the page with curl and search the raw response. See Keyword monitoring.
Keyword found (should be absent) 200The monitor uses Alert if present and the text appeared, such as an error message or maintenance notice.Fix the problem the text signals, or check the keyword isn't also part of a normal page.

SSL problems

With Check SSL errors enabled, each website and keyword check also inspects the certificate. A problem opens a separate SSL incident on the first check that finds it, without retries, and the alert is titled SSL/TLS Issue Detected. While it's open, the monitor shows Degraded or Down, but the checks still pass and uptime isn't affected. The check can report these problems, several at once separated by commas:

ProblemWhat it means
No CertificateThe server sent no certificate.
Certificate ExpiredThe certificate's end date has passed.
Certificate Not Yet ValidThe certificate's start date is in the future, often because of a wrong clock where it was issued.
Weak Signature AlgorithmThe certificate is signed with MD5 or SHA-1.
Self-Signed CertificateThe certificate's issuer is the certificate itself. It's reported on its own, without Untrusted Certificate Authority.
Untrusted Certificate AuthorityThe chain doesn't lead to a trusted root, even with any missing intermediate certificate fetched.
Incomplete Certificate ChainThe server doesn't send the intermediate certificate that issued its certificate. LivePulser fetches it from the address in the certificate and the chain is then valid, but apps, scripts, curl and many phones don't do that and fail to connect. Send the full chain (often a file called fullchain.pem).
Expired Intermediate CertificateThe server's certificate is in date, but an intermediate certificate in its chain has expired.
Certificate RevokedThe certificate authority has revoked the certificate. LivePulser checks the authority's revocation list (CRL), cached for up to 12 hours. When the list can't be fetched or is very large (over 1 MB), revocation isn't checked, as in browsers.
Hostname MismatchThe certificate was issued for a different name than the one the monitor checks, for example a certificate for example.com served on shop.example.com. After a redirect, the name of the site that answered is checked.
Invalid CertificateChain verification rejected the certificate as not valid.
Certificate Verification FailedChain verification failed for another reason.

A certificate that is close to expiry isn't reported as a problem. Instead, LivePulser sends certificate expiry reminders 30, 14, 7 and 1 day before it expires. See Certificate reminders.

The incident page in the dashboard lists each problem with what it means and how to fix it, and the alert's Details names the problems. To look at the certificate yourself:

Show the certificate's names and dates
openssl s_client -connect example.com:443 -servername example.com </dev/null 2>/dev/null \
| openssl x509 -noout -subject -issuer -dates

See Domain and SSL certificates, which also covers domain expiry reminders.

Ping and port checks

Reproduce from outside your network
ping -c 4 example.com
nc -vz -w 5 example.com 587

For ping monitors, the Outgoing request is the command used, with the IP address the name resolved to, such as ping -c 1 -W 30 93.184.216.34 (the name only appears when it could not be looked up). If the failure came from an immediate retry, the timeout in the command is 5 seconds or less. For port monitors it's the protocol, host and port, such as TCP example.com:587.

Server responseWhat it meansWhat to check
All packets lostPing: no reply arrived within the timeout. Often a firewall or cloud security group blocks ICMP echo, which many providers do by default. Otherwise the host is off or unreachable.Allow ICMP echo, or monitor the service with a TCP port monitor or a website monitor.
Destination host unreachablePing: a router on the way reported that it can't reach the host.The host's console or provider status, and routing.
The name doesn't resolve to a public address.Ping and port: the host name has no DNS record, or resolves only to a private address, so nothing was sent.The DNS record, or enter the public IP address.
The target has only an IPv6 address. LivePulser checks over IPv4 for now.Ping and port: the host name has only IPv6 (AAAA) records. Every check runs over IPv4 today, so nothing was sent.Add an IPv4 (A) record for the host, or enter its IPv4 address.
Command execution timeoutPing: the ping command didn't finish within the timeout plus 5 seconds.Retry from your own machine. If it keeps happening, contact support.
Port 587/TCP is closedPort: the host answered, but nothing listens on the port.Whether the service is running and bound to a public interface, not only 127.0.0.1.
Port 587/TCP is filtered (nothing answered)Port: packets to the port were dropped, usually by a firewall.Firewall and security group rules for that port.
Port 5000/UDP gave no reply (open or filtered)Port (UDP): nothing answered. The port may be closed by a firewall, or the service doesn't answer an empty UDP probe. The text goes on to say so.For a service that stays silent, monitor a TCP port or an HTTP health endpoint on the same host instead.
Scan failed, Port 587/TCP could not be checkedPort: the scan reported no state for the port.Check the host name. If it keeps happening, contact support.
Scan timeoutPort: the scan didn't finish within the timeout.Raise the timeout, and check for dropped packets.
The port check tool is missing on this probe, nmap exited with code …Port: the scan couldn't run in that region. This is a problem on LivePulser's side.Contact support with the monitor name and incident time.

Failures in only some regions

Each region checks independently, and a failing region adds a tab to the same incident. Failures in one region but not others usually come from:

  • A firewall, WAF or geo-blocking rule that blocks traffic from some countries or networks.
  • A CDN edge or load balancer node near that region having problems.
  • DNS answers that differ by location.
  • A network problem between that region and your host.

If a region fails because you block that part of the world on purpose, remove it in Monitoring locations. To be alerted only when every region fails, keep Critical only on in Alerts (it is on for new monitors). See Regions and check intervals.

Cron and heartbeat monitors

Heartbeat incidents have no regions. The incident page shows a Why this incident opened card with what was expected, when the check-in was due and how overdue it is. The timeline shows Check-in missed (or Scheduled run missed) and, later, Check-in received. Alerts carry one of these texts (the incident's Server response shows the same text as JSON, such as {"error":"No check-in arrived in time"}):

Alert textMeaning
No check-in arrived in timeNo ping arrived in time, for example within the interval plus the grace period on an interval monitor.
A scheduled run did not check inA scheduled run didn't ping by the end of its window plus the grace period.
A check-in arrivedRecovery: a ping arrived and the incident resolved.
A check-in arrived, … after the expected runRecovery for a scheduled run that checked in late, with how late it was.

Missed heartbeat

Common causes:

  • The job didn't run: the scheduler is stopped, the server was down, or the cron entry was removed.
  • The job ran but failed before the ping, which is the point of pinging only after success.
  • The ping request itself failed. Use curl -fsS and check the job's output for errors such as 404.
  • The job took longer than expected. Increase the grace period or, on a schedule, the Finishes window.
  • The schedule or Timezone doesn't match when the job really runs.

See Cron and heartbeat monitoring.

Server resource monitors

Resource alerts name the cause. For example:

Alert textWhat it meansWhat to check
High resource usage: CPU 92.4% (threshold 80%)The named metrics stayed at or above their thresholds for the Alert after time. Several metrics are listed together, separated by commas.What's using the resource on the server. If short spikes trigger alerts you don't need, raise the threshold or Alert after. If alerts close and reopen repeatedly, add a Recovery margin.
Resource agent stopped reportingNo upload arrived for three upload intervals plus 30 seconds (210 seconds at the default 1-minute interval).Whether the server is up, the agent service is running and its log shows errors, and that outbound HTTPS to rs.livepulser.com is allowed. See Agent configuration reference.
Resource usage is back below the alert thresholdsRecovery: the metrics that caused the alert stayed below their recovery level for the Recover after time.Nothing, unless it keeps flapping.
Resource agent is reporting againRecovery: uploads resumed after the agent went offline.The agent log for why uploads stopped.

Network speeds in these texts use units of 1,000, so a 10,485,760 B/s threshold appears as 10.5 MB/s.