What ERR_TIMED_OUT Means
Chrome and other Chromium-based browsers show ERR_TIMED_OUT when a network operation took too long and the browser stopped waiting. Nothing refused the connection and no error page came back: there was only silence. The cause can be on the visitor's network, somewhere on the path, or on the server that never answered.
How It Differs from a Connection Timeout
Chromium describes the two errors differently. ERR_CONNECTION_TIMED_OUT means a connection attempt timed out: the browser could not complete the TCP connection to the server, which often points to a firewall that drops packets or a server that is down. ERR_TIMED_OUT means an operation timed out, a more general case that can also appear when the connection opened but the answer did not come. Both are checked in a similar way; the connection case is covered in ERR_CONNECTION_TIMED_OUT.
What a Visitor Can Try
- Reload once: a single slow moment on the network clears on the next try.
- Another network: a mobile connection instead of Wi-Fi shows whether your own network is the problem.
- VPN or proxy: turn it off and test again; a busy exit server causes timeouts.
- Extensions: open a private window without extensions.
- DNS resolver: a slow resolver delays every lookup; try another one or restart the router.
If other sites load and this one times out from every network, the cause is on the site's side.
For the Owner: Time a Request
From a machine outside the server, let curl show each phase and give up after 30 seconds:
curl -v --max-time 30 -o /dev/null https://example.com/
curl -s -o /dev/null --max-time 30 -w "dns %{time_namelookup}\nconnect %{time_connect}\ntls %{time_appconnect}\nfirst byte %{time_starttransfer}\ntotal %{time_total}\n" https://example.com/
| Slow phase | Look at |
|---|---|
| dns | The domain's name servers |
| connect | Network path, firewall |
| tls | Server load, TLS setup |
| first byte | The application |
A Slow or Hanging Backend
When the connection opens quickly but the first byte takes forever, the application is the cause: a slow database query, a call to an outside API that hangs, or a worker pool with no idle workers. If a proxy sits in front and its own timeout is shorter, it answers with a 504 instead; see 504 Gateway Timeout. Test the backend directly on the server to remove the proxy from the picture:
curl -s -o /dev/null -w "%{time_total}\n" http://127.0.0.1:8080/
An Overloaded Server
uptime
free -h
top
A load average far above the number of cores, memory with no room left, or heavy swapping slows every request. See Linux load average and how to check memory usage in Linux.
Packet Loss and MTU Problems
Run mtr from the visitor's side toward the server, and from the server back toward the visitor if you can. This sends 100 probes, one a second, then prints a report with full host names:
mtr -rwc 100 example.com
Loss that continues to the last hop is real loss. A typical sign of an MTU problem is that small pages and the TLS handshake work, but large pages or downloads hang. Test whether full-size IPv4 packets pass with the Don't Fragment bit set (1472 bytes of data plus 28 bytes of headers make 1500):
ping -M do -s 1472 -c 4 example.com
If that fails while smaller sizes work, read what MTU is and how to change it.
Firewall Rate Limits
A rate limit that drops packets instead of rejecting them looks like a timeout to the visitor. Check whether the visitor's address was banned or limited:
sudo fail2ban-client status
sudo nft list ruleset | less
Read the Server Logs
Look for the visitor's request in the web server's access log, and for upstream timeouts or worker warnings in the error log. If the request never appears, it did not reach the server, which points back to the network or a firewall in front.