Troubleshooting guide
ERR_EMPTY_RESPONSE: why the server sent no data
The connection was accepted, then closed without a single byte of HTTP. Something died or misunderstood the request before a response could begin.
3 min read9 sectionsUpdated
On this page
Common causes
- A worker crashed: segfault in a native module, or OOM kill during the request.
- Protocol mismatch, such as a proxy speaking plain HTTP to a backend port expecting TLS.
- A dev server or container still starting, accepting connections before the app is ready.
- A misconfigured reverse proxy or port forward closing the connection.
- A firewall or security module silently dropping the session.
Diagnose it
Find the exact failing request with curl, then line up the time with kernel and application logs.
# "Empty reply from server" confirms it
curl -sv https://example.com/slow-path -o /dev/null 2>&1 | tail -8
# Try the other protocol on the same port
curl -sv http://example.com:443/ -o /dev/null 2>&1 | tail -3
# Did the kernel kill something?
journalctl -k --since "10 min ago" | grep -iE 'segfault|oom|killed'
# PHP-FPM and Node crash messages
sudo tail -50 /var/log/php*-fpm.log 2>/dev/null
docker logs --tail 50 app 2>&1 | tail -20Fixes
Fix what caused the worker to die: raise memory limits only after checking for a leak, update a crashing native extension, and restart workers gracefully. For a protocol mismatch, align proxy_pass https:// with what the backend expects. Gate traffic on a readiness check so requests do not reach a starting container. As a visitor, there is little you can do except try again, turn off a VPN, or try a different network.
Catch it automatically
Many monitoring tools record this as a generic failure, so look at the failure detail, not just the color. Uptime checks record the error text. Correlate them with restarts: a memory leak in Node.js often appears as repeated empty responses, spaced by the time memory takes to fill.
Why does it happen only on one page?
That request is probably what crashes the worker, often through high memory use or a native library bug.
Is ERR_EMPTY_RESPONSE the same as a 502?
A proxy that gets an empty reply from its backend usually converts it into a 502. If there is no proxy, the browser reports the empty response directly.
Can a browser extension cause it?
Rarely. Try a private window with extensions off to rule it out.
Related reading
- ERR_ADDRESS_UNREACHABLE: how to fix it: Fix ERR_ADDRESS_UNREACHABLE: no route to the server, wrong IP in DNS, IPv6 problems, private addresses and firewalls, for visitors and server owners.
- ERR_INTERNET_DISCONNECTED: how to fix it: Fix ERR_INTERNET_DISCONNECTED in Chrome: reconnect Wi-Fi, check the router, disable proxies and VPNs, reset network settings, and when apps say offline.
- ERR_BLOCKED_BY_CLIENT: how to fix it: Fix net::ERR_BLOCKED_BY_CLIENT: ad blockers and privacy extensions blocking scripts, images and API calls, and how developers avoid false blocks.
- ERR_CONNECTION_CLOSED: how to fix it: Fix ERR_CONNECTION_CLOSED: servers closing connections early, TLS problems, firewalls, crashing apps and proxy timeouts, with checks for site owners.
- ERR_UNSAFE_PORT: how to fix it: Fix ERR_UNSAFE_PORT: Chrome blocks web requests to ports used by other protocols (SMTP, IRC, SIP). Move your service to a safe port or allow it locally.
- ERR_NAME_NOT_RESOLVED: how to fix DNS lookup failures: Fix ERR_NAME_NOT_RESOLVED: missing records, expired domains, broken resolvers and DNSSEC failures, with dig commands that show exactly where lookup fails.
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.