Skip to main content
Documentation

Alopex can't reach my site

These failures mean Alopex got no usable answer. They can come from an uptime check, a certificate check or a DNS check. To see which check raised an incident, open it. Under the heading, the first line starts with the check's name and then gives the time span, and the line below it gives the cause. A certificate or DNS check also shows in the heading, as Certificate check failing or DNS check failing. An uptime check's heading reads Website unreachable. The alert email lists the check on its Check line.

If the server did answer but the answer was wrong, see My uptime check is failing.

Alopex checks from outside your network. A site that you can reach from inside, but not from the public internet, will fail these checks. Every check comes from a single location in the UK. If your host blocks traffic by country, it may block Alopex. Allow the user agent Alopex/1.0 (+uptime monitor) instead of an IP address, because Alopex does not publish IP addresses.

Timed out

What you see

The incident reads Website unreachable for an uptime check, with a message such as No response within 5 seconds. The number is the check's Timeout (seconds).

Likely causes

  • The server is overloaded or very slow, so it did not answer in time.
  • A firewall drops Alopex's requests without refusing them, so the connection waits until it times out. Country blocking can cause this, because checks come from the UK.
  • A page that does heavy work, such as a large report, takes longer than the timeout.
  • A network problem between Alopex and your host.

How to check

  1. Time a request from a terminal that is not on your own network:

    curl -s -o /dev/null -w "%{time_total}\n" <your-url>
    
  2. Check your server's load and your hosting provider's status.

  3. Check whether a firewall or rate limit treats Alopex differently from a browser.

How to fix

  • Fix the slow response at its source. The check recovers once a run answers in time.
  • For a page that is slow but healthy, raise Timeout (seconds) on the check. The most you can set is 10.
  • Check a lighter page, such as a health endpoint, instead of a heavy one.

A certificate check waits up to 10 seconds for its connection before it reports a timeout, and you cannot change that.

Connection failed

What you see

The incident reads Website unreachable for an uptime check. The cause line says what went wrong. These are the messages you may see:

MessageWhat it meansWhere to look
Could not connect to the serverNothing accepted the connection.The server is down, the port is closed, or a firewall refuses the connection.
TLS handshake failedThe server accepted the connection but the secure handshake did not complete.Your TLS configuration, such as protocol versions and ciphers.
TLS certificate does not match the hostThe certificate is for a different name from the one requested.The certificate installed for this host name.
TLS certificate is not trustedThe certificate chain is not one Alopex trusts.A missing intermediate certificate, or a self-signed certificate.
Server closed the connection without respondingThe connection opened and then closed with no reply.The web server or a proxy in front of it crashing or rejecting the request.
Connection reset while receiving dataThe connection broke part way through the answer.The web server, a proxy or a firewall cutting the connection.
Redirected to malformed URL <address>.A redirect pointed at an address that is not a valid URL.The redirect rule in your server or application.
Redirected to unsupported URL <address>.A redirect pointed at something other than http or https.The redirect rule in your server or application.
Connection failedThe transfer failed for a reason not listed above.The same places as the others, starting with the server and firewall.

A browser may still load a site whose certificate chain Alopex rejects, for example because it has cached or can fetch a missing intermediate certificate. So "it works in my browser" does not rule out a certificate message here.

A certificate check can also raise this reason. Its message comes from the TLS connection itself. Findings about the certificate itself, such as one that has expired or does not cover the host, are covered in My certificate check is failing.

Likely causes

  • The server, or the service in front of it, is down or restarting.
  • A firewall, security group or rate limiter blocks Alopex.
  • The certificate is missing, misconfigured or issued for another name.
  • The host name points to the wrong address.

How to check

  1. Request the URL from a terminal and read the error:

    curl -vI <your-url>
    
  2. Check that the server is running and listening on the port in the URL.

  3. For a TLS message, inspect the certificate the server presents:

    openssl s_client -connect <your-domain>:443 -servername <your-domain>
    

How to fix

  • Restart or repair the service that is not answering.
  • Allow connections from the public internet to the port.
  • Install a certificate that covers the host name, with its full chain.
  • Correct redirect rules that point to an invalid address.

The check recovers once a run connects.

DNS lookup failed

What you see

For an uptime or certificate check, the incident reads Website unreachable or Certificate check failing, with a message such as <host> could not be resolved. or Could not resolve the host name. For a DNS check, the message is No authoritative nameserver for <domain> answered. Other DNS check problems are covered in My DNS check is failing.

Likely causes

  • The host name is mistyped in the check's URL.
  • The DNS record was removed or never created.
  • The domain has expired, or its nameservers have changed or stopped answering.
  • Your DNS provider is having an outage.

How to check

  1. Look the name up yourself:

    dig <host>
    dig NS <your-domain>
    
  2. Check that the URL on the check uses the right host name.

  3. Check with your registrar that the domain is active and its nameservers are the ones you expect.

How to fix

  • Correct the host name in the check, or restore the DNS record.
  • Renew the domain or restore its nameservers with your registrar.
  • Wait for your DNS provider to recover. The check recovers once the name resolves.

Address not allowed

What you see

The incident reads Website unreachable for an uptime check, with one of these messages:

  • <host> resolves to a non-public address (<address>).
  • <host> is not a canonical IP address.

For a DNS check the message is <domain>'s nameservers are not at public addresses.

Likely causes

Alopex only checks public addresses. It refuses a host that resolves to a private or reserved address, such as 10.0.0.5, 192.168.1.10 or 127.0.0.1. If a host has several addresses, all of them must be public.

  • The DNS record points at an internal address. A common case is a staging site or an office server.
  • A redirect sends Alopex to a host with a private address. The target of every redirect is checked.
  • The host is written as a number in an unusual form, such as 2130706433 or 0x7f.1. Only the usual form, like 203.0.113.10, is accepted.

How to check

Look up the host and read the addresses:

dig +short <host>

If any address is private, that is the cause.

How to fix

  • Point the public DNS record at a public address.
  • Watch a public page instead. Alopex cannot monitor a site that is only reachable from inside your network.
  • Write numeric addresses in the usual dotted form.

Unknown error

What you see

The incident gives the reason Unknown error, with a message from the error itself. Alopex hit an error it did not expect while running the check, and could not classify it as one of the other reasons.

Likely causes

  • A fault inside Alopex while running the check.
  • An unusual response or condition on the target that the check did not anticipate.

How to check

  1. Open the domain's Checks tab and run the check again with its Run now button, the play icon.
  2. See whether the message changes or the check passes.

How to fix

  • If the check passes on the next run, no action is needed.
  • If it keeps failing with the same message, contact [email protected] and include the domain, the check and the message.

Alopex counts an unknown error as a failed run, so it can open an incident in the same way as any other failure.