Vercel ERR_CONNECTION_RESET: loads only after refreshing
Vercel site shows ERR_CONNECTION_RESET and only loads after several refreshes? Tell if it's your DNS, your network or Vercel's edge, and what to send support.
The Liite team8 мин чтения
Short answer
ERR_CONNECTION_RESET means something dropped the connection before any response came back, so your code is rarely the cause. Test the site from another network, compare your *.vercel.app address with your custom domain, and check your DNS records against Settings > Domains in the project. If those tests show a problem only on one network or only on Vercel's side, send Vercel support the details listed below.
Your Vercel site fails in the browser, then loads after five or seven refreshes, sometimes even on mobile data. The browser shows:
ERR_CONNECTION_RESET
We found no official Vercel fix for this exact pattern. This article shows how to work out which hop is failing, and which checks Vercel's own documentation supports.
Why Vercel shows ERR_CONNECTION_RESET
A reset is a browser-level error. The TCP connection was closed before an HTTP response arrived. A 404 or 500 comes from a server that answered, so those are different problems. Because nothing answered, your build output, routes and framework settings are almost never involved.
People on the Vercel community forum report the pattern you describe: early loads get reset and the site works after several refreshes, including over cellular. We saw no confirmed root cause in that report. A separate r/Firebase report, also from early 2025, describes a .web.app address that stopped loading in one country while the .firebaseapp.com address for the same project still worked. The fix there was a custom domain.
Those reports and the usual causes of resets point to these candidates, most common first:
- Your own network or software. A router, VPN, antivirus that scans HTTPS, or a browser extension can reset connections. Microsoft's support answers for this error repeatedly suggest testing from a different network such as a mobile hotspot.
- Hostname-based filtering. An ISP or firewall treats
*.vercel.app(or another default hostname) differently from your own domain. The Firebase report fits this. - DNS records that don't match what Vercel expects. Vercel's docs say leftover or mismatched records can leave a domain misconfigured. A proxy in front of Vercel is another documented trigger for trouble.
- A fault at the provider's edge. Only the vendor can see this. We can't confirm it from the outside.
Note that Vercel's own ECONNRESET guide covers a different case: a Vercel Function calling an external API or database. If your page loads but a server-side call fails, see Vercel's function troubleshooting guide. It says the pattern of failures narrows the cause: every request failing suggests misconfiguration, while some failing suggests the other service closed connections.
Step-by-step fixes
1. Find out whether it's your network
- Open the site on mobile data or a different Wi-Fi. A hotspot from another phone works.
- Open it in a private window with extensions off, or in a second browser.
- Pause antivirus or VPN software that inspects HTTPS, test again, then turn it back on.
- Restart your router and modem if only one network fails.
If the site loads reliably elsewhere, the deployment is fine and the problem sits on the path from that one network.
2. Watch what the connection does
From a terminal, run:
curl -v https://your-project.vercel.appIf curl also reports "Connection reset by peer" while the browser fails, the reset is happening on the network path. If curl works every time and only the browser fails, suspect the browser or software on your machine. Run it several times in a row, since your symptom is intermittent.
3. Compare hostnames
Try the *.vercel.app address and any custom domain on the same project. If only one resets, the cause is specific to that name: filtering, DNS or certificate setup. This matches the Firebase report, where one hostname failed and another worked.
4. Check your DNS records
Vercel's domain troubleshooting page says to compare your records with the values in the project's domain settings. Open the project's Settings > Domains and use those exact values. Vercel assigns addresses per project, so the A record value can differ between projects; many show 76.76.21.21, and newer ones can show an address such as 216.198.79.1.
Then check from a terminal:
dig A example.com +short
dig CNAME www.example.com +short
curl -IL https://example.comLook for these problems, taken from Vercel's guide to managing DNS records:
- A CNAME at the apex domain. Replace it with the A record shown in the dashboard.
- Leftover A, AAAA or CNAME records from a previous host on the same name. Remove them.
- A proxy in front of Vercel, such as Cloudflare with the proxy on. Vercel says the proxy answers DNS with its own addresses. Set the record to DNS only or follow Vercel's reverse proxy requirements.
Also note that Vercel doesn't support IPv6 yet, so you can't point an AAAA record at Vercel from a third-party DNS provider. Remove a stale AAAA record if you have one.
5. Allow for DNS propagation
DNS changes can mean some regions reach your site while others wait for the change to arrive. Vercel's page is about DNS changes, but it explains why different visitors can see different results after you edit records. Standard record changes usually settle faster than nameserver changes, which Vercel says can take 24 to 48 hours. See Vercel's domain troubleshooting page for the full list of checks.
6. Try a custom domain if you only use the default address
The Firebase fix was a custom domain. We can't promise that works for a Vercel reset, but it's a cheap test of whether the default hostname is being filtered on your network.
7. Contact Vercel with specifics
If other networks reproduce the reset and your DNS is clean, only the vendor can see the edge. See the section below.
Which cause fits which symptom
| Cause | Symptom | What to do |
|---|---|---|
| Local software or router | Fails on one device or Wi-Fi, fine on mobile data | Test private window, pause VPN or antivirus, restart router |
| Hostname filtering | *.vercel.app resets, custom domain loads (or the reverse) | Compare hostnames, test a custom domain |
| DNS mismatch | Custom domain only; dig output differs from Settings > Domains | Fix records, remove leftovers, turn off proxy |
| Edge or route fault | Resets from several networks, clears after retries | Collect timestamps, contact Vercel |
| Function calling an outside service | Page loads, API route errors with ECONNRESET | Follow Vercel's function troubleshooting guide |
Warning
Don't change nameservers just to test this. Vercel says to copy your existing records first, including MX and verification TXT records, or email and other services can break.
What won't help
- Redeploying. The reset happens before your deployment is reached, so a new build usually changes nothing.
- Changing code or framework settings. An app bug returns an HTTP status, not a dropped connection.
- Clearing the browser cache. Some generic answers suggest it, but the failure is at the connection level, before any cached file is used.
- Refreshing until it works as a long-term answer. Visitors who give up never tell you.
Checklist before you contact support
- The site fails from at least two different networks, or you know exactly which one fails.
- You tested in a private window with extensions off.
digoutput for your domain matches Settings > Domains.- No stale AAAA record, no apex CNAME and no proxy in front.
- You noted failing URLs, timestamps with time zone and your approximate location.
If nothing works
Contact Vercel through your dashboard's support option. Include the affected hostname, the time with time zone, your location and ISP, whether other networks fail, the curl -v output, and the DNS output. Also check Vercel's status page for open incidents first. Vercel's docs list an article on resolving IP blocking issues that may apply if your own network or IP is blocked.
Subject: Intermittent ERR_CONNECTION_RESET on my-project.vercel.app
Hello,
Visitors get ERR_CONNECTION_RESET on https://my-project.vercel.app.
It loads after several refreshes. Started: [date, time, time zone].
Affected: [country, ISP, mobile data and Wi-Fi]. Not affected: [networks where it works].
curl -v output (reset case) is attached. My DNS records match Settings > Domains.
A custom domain on the same project [does / does not] reset.
Can you check the edge for this hostname and region?
Thanks,
[Name, team, project]If you only need a simple static page
If what you deployed is a plain HTML file, a zip or a PDF, Liite can host it at <slug>.liite.site. Pro and up can connect one custom domain per site; see uploaded sites and custom domains. That won't diagnose your reset, and we can't say how any network treats a given hostname, so test the address from your own network first.
Common questions
What is the difference between ERR_CONNECTION_RESET and ERR_CONNECTION_TIMED_OUT?
A reset means the other side, or something in the path, actively closed the connection. A timeout means nothing answered at all. Resets point more often to filtering or a fault along the path; timeouts to routing or an unreachable server.
Why does it work after several refreshes?
Each refresh opens a new connection that may take a different route or reach a different server. If some paths reset and others don't, you get this pattern. The forum report didn't confirm which hop is responsible.
Does ERR_CONNECTION_RESET mean my site is down?
Not necessarily. If it loads from other networks, it's up and the failure is on one network's path or in your own software.
Will a custom domain fix it?
Only if the cause is filtering of the default hostname. It worked for the Firebase report, but we saw no confirmation for Vercel, so treat it as a test.