Skip to content

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

Key points

  • A connection and no data usually means a process died mid-request.
  • HTTP to an HTTPS port, or the reverse, is a frequent configuration cause.
  • Look for segfaults and OOM kills at the exact moment.
  • curl reports it as "Empty reply from server".

What the error means

Chrome connected and sent the request, and the server closed the connection cleanly with nothing written. A web server that hits an ordinary error sends a 500. Silence suggests the thing handling the request stopped existing, or a protocol mismatch made it give up.

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.

bash
# "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 -20

Fixes

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.

Frequently asked questions

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.

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.