Find what's cutting off connections to your site
ERR_
What sends a reset
A process that died mid-request
When a web server or app process crashes or gets killed while holding connections, the operating system tears them down. A connection still carrying request data the process never read is ended with a reset rather than a normal close.
A server that hangs up without reading
A server or proxy that closes a connection before reading everything the browser sent, such as the rest of an upload it refused, can trigger a reset that wipes out the error response it meant to deliver.
A firewall or filter cutting it off
Firewalls, intrusion prevention systems and content filters can end a connection by sending resets. That can happen at your host, on the visitor's network or anywhere between.
Software on the visitor's computer
Chrome's own guide names an unstable connection, a VPN problem, an outdated browser or security software that blocks the page. When only one visitor sees resets, start on their side.
net_
Find where the reset lands
# Exit code 35: the TLS handshake failed. 56: receiving failed after the request went out
curl -sS -o /dev/null https://yoursite.com/; echo "exit $?"
# Repeat a few times; resets that come and go point at a crashing process or a filter
for i in 1 2 3 4 5; do curl -sS -o /dev/null -w "%{http_code}\n" https://yoursite.com/; done
Read the curl result
Exit code 56 with Connection reset by peer means the handshake finished, curl sent the request, and the reset arrived while it waited for or read the response. That points at the program handling requests: check its error log and the system log for a crash, a restart or an out-of-memory kill at that minute. Exit code 35 with a reset named in curl's message means the connection was cut during the TLS handshake, which points at whatever handles HTTPS or at a filter that blocks the connection on sight. curl's error list defines both codes.
If curl succeeds from your computer but a visitor keeps seeing the error, ask them to record a NetLog at chrome://net-export while they reproduce it. Chromium's NetLog guide walks through the steps, and the log shows which connection was reset and when.
How to stop the resets
- Match the resets to server eventsLine up the times visitors saw the error with your server's logs. A deploy, a restart, a crash or a firewall block in the same minute shows which of the steps below to start with.
- Find out why processes dieA crash or an out-of-memory kill resets every connection that process held. Fix the crash, or give the process the memory it needs, rather than only restarting it.
- Check limits that end requests earlyIf the resets hit uploads or long requests, compare them with your server's size and time limits. Raise a limit that's too low, or have the server answer and finish reading before it closes, so the visitor gets a status code instead of a reset.
- Rule out filteringReview firewall, intrusion prevention and bot protection logs at your server, host and CDN for blocks at those times. A rule that matches too broadly resets ordinary visitors.
Frequently asked questions
Why do resets cluster around deploys?
A deploy that kills the old process while requests are still in flight cuts those connections the same way a crash does. Give the old process a graceful stop instead: it stops accepting new connections, finishes the requests it holds, then exits. If a load balancer sits in front, take the server out of rotation before the restart and add it back once the new process answers.
Can a large upload cause a connection reset?
Yes. A server that refuses an upload, for example because it's over the size limit, may close the connection while the browser is still sending. RFC 9112 explains that the reset this triggers can erase the server's response before the browser reads it, so the visitor sees a reset instead of a 413. The 413 Content Too Large guide, linked below, covers that limit.
How is a reset different from a closed connection?
A closed connection ends with a FIN, the normal way to hang up. A reset ends with an RST, which TCP uses for errors, such as a connection that no longer exists or data that was thrown away unread. Chrome reports a FIN that arrives too early as ERR_
Look into related connection errors
- Website reliabilityHear about it when your site goes down, not days later from a customer.
- Connection closedFind the layer that hangs up during the handshake or before the response, then fix its setup.
- Cloudflare error 520Find out why your origin sent Cloudflare an empty or unreadable response, then fix the crash, block or header behind it.
- 413 Content Too LargeFind the layer whose body size limit refused the upload, then raise it or keep uploads under it.