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
- Keep UTC time, destination IP, client network and the exact timeout message.
- Compare resolver results and address families with a working client.
- 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/nullRun this OpenSSL 3.x example in a POSIX shell. Keep the hostname, peer address and full verification result with the error report.
How to fix it
- Repair the failing route, filtering rule or unhealthy backend through the responsible owner.
- Correct an unintended A or AAAA destination if requests reach the wrong infrastructure.
- 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.