SSL / monitoring TECHNICAL HANDBOOK / 2026

SSL ERRORS

ERR_CONNECTION_TIMED_OUT: causes and fixes

The connection exceeded its time limit. Find whether the delay occurred during DNS lookup, TCP connection, TLS negotiation or the HTTP response.

What it means

Routing, filtering, an overloaded endpoint, an unhealthy backend or an address-family difference can each affect timing. Capture the stage: DNS lookup, TCP connection, TLS handshake and HTTP response are distinct intervals, and tools can apply different timeout limits.

What to check

  1. Keep UTC time, destination IP, client network and the exact timeout message.
  2. Compare resolver results and address families with a working client.
  3. Inspect load-balancer, firewall and server logs for whether the attempt reached the intended service.

Test the connection

openssl s_client -connect www.example.com:443 -servername www.example.com \
  -verify_hostname www.example.com -verify_return_error </dev/null

Run this OpenSSL 3.x example in a POSIX shell. Keep the hostname, peer address and full verification result with the error report.

Choose Windows, macOS or Linux commands →

How to fix it

  1. Repair the failing route, filtering rule or unhealthy backend through the responsible owner.
  2. Correct an unintended A or AAAA destination if requests reach the wrong infrastructure.
  3. If the service is overloaded, address capacity or application health instead of blindly extending client timeouts.

Check the fix

Repeat from the previously failing path with explicit reasonable connection and total timeouts. Once reachable, verify TLS identity and trust, then the application response.

Details worth checking

Compare the failing network with a working one and keep the peer address from each test. Extending a timeout is useful only after you understand where the time is spent.

Related guides

References