Skip to content

Troubleshooting guide

ERR_CONNECTION_RESET: causes and how to fix it

A connection reset means the connection opened and was then killed mid-conversation. Something along the way sent a TCP reset.

3 min read9 sectionsUpdated

On this page

Key points

  • The connection worked, then something ended it, unlike connection refused.
  • Crashes, firewalls and proxies are the three usual senders of a reset.
  • Failures on large transfers only suggest MTU trouble.
  • Failures on one network only point to antivirus, a VPN or an ISP filter.

What the error means

A TCP RST packet tells the other side to abandon the connection at once. Browsers report ERR_CONNECTION_RESET if one arrives before the response completes. Any device in the path can send one, so the job is to work out which.

Common causes

  • The backend process crashed in the middle of a request.
  • A firewall or intrusion prevention system cutting a connection it dislikes.
  • Antivirus or a VPN interfering with HTTPS on the visitor's device.
  • Keep-alive races, where a server closes an idle connection just as a client reuses it.
  • An MTU mismatch, where small responses work and large ones are killed.
  • Load balancers dropping connections during a deployment.

Diagnose it

Decide first whether it is everyone or only one network. Then watch resets on the server.

bash
# Reproduce with verbose TLS and connection detail
curl -sv --max-time 20 https://example.com/ -o /dev/null 2>&1 | tail -15

# Watch TCP resets on the server
sudo tcpdump -ni any 'tcp[tcpflags] & tcp-rst != 0 and port 443' -c 20

# Did something crash or get OOM-killed at that moment?
journalctl -k --since "15 min ago" | grep -iE 'oom|killed process'

# Test large packets for MTU trouble (Linux)
ping -M do -s 1472 example.com -c 3

Fixes

As a visitor: try another network, turn off the VPN and HTTPS scanning in your antivirus, and run ipconfig /flushdns or restart the router.

As a site owner: check application crash logs at the same timestamp. Set the backend keep-alive timeout longer than the load balancer's, drain connections during deployments, and review firewall logs. If only large responses fail, fix path MTU or clamp MSS on the VPN or tunnel.

Catch it automatically

Resets are often partial, hitting a few percent of connections, so a single check may pass. Run uptime checks from several regions, and look at failed requests in real-user monitoring by network and country to see who is really affected. A cluster that coincides with deployments points straight at connection draining.

Frequently asked questions

Why is the connection reset only on my Wi-Fi?

Something local is involved, such as antivirus, a VPN, the router or an ISP filter. Test on mobile data to confirm.

What is the difference between reset and refused?

Refused happens at the start, when nothing is listening. Reset happens after the connection was established.

Is ERR_CONNECTION_RESET a server problem?

It can be either. If every visitor sees it, look at the server. If only some networks do, look at the path.

Watch your own site and services with VitalRix

Uptime checks, APM, logs, real-user monitoring, alerts and status pages in one place. Every product has a free tier and no credit card is needed.