What the message looks like
This page isn’t working
cloud.beispiel.de didn’t send any data.
ERR_EMPTY_RESPONSECommon causes
- The backend (PHP-FPM, Node.js, Gunicorn) crashes during the request, for example via segfault or OOM kill.
- nginx closes the connection deliberately with
return 444;, for instance in a block rule or default server. - A WAF, a fail2ban-style rule or a reverse proxy drops the connection without answering.
- HTTP and HTTPS are mixed up, or the port belongs to a different service.
- On the visitor's side: a proxy, VPN or antivirus that aborts the connection.
Check
- Fetch the response with headers
curl -vi https://cloud.beispiel.de/ - Is 444 written to the access log?
grep ' 444 ' /var/log/nginx/access.log | tail -n 20 - Did a process die?
- Read the nginx error log
tail -n 50 /var/log/nginx/error.log
Fix
- Fix the crash cause from the journal: remove the faulty plugin or module, raise the memory limit, restart the service.
- Check whether
return 444;is in the affectedserverconfig and adjust the rule:nginx -T | grep -n 444. - Go through WAF and proxy rules and exempt the request if it is blocked by mistake.
- Make sure the right service listens on that port and the protocol matches the URL (http or https).
- As a visitor: try another connection and device, and disable VPN, proxy and extensions.
Typical scenario
In a shop ERR_EMPTY_RESPONSE appears only at checkout. The PHP-FPM journal contains a segfault caused by a faulty PHP extension after an update. After disabling the extension and restarting PHP-FPM, checkout answers normally again.
FAQ
How is it different from a 502 Bad Gateway?
With a 502 nginx itself answers with an error page because the backend failed. With ERR_EMPTY_RESPONSE there is no HTTP response at all; the connection is simply closed.
Why do I see it only on one particular page?
Probably that exact script path crashes, or a rule matches only that URL. Request the page with curl and look for the timestamp in the error log.
Can an oversized request trigger this error?
Possibly, if a service in front or the application simply cuts the connection when a limit is exceeded. Check limits such as client_max_body_size and the logs of every layer.
Why does curl then print “Empty reply from server”?
It is the same situation seen by curl: the connection was made and the server closed it without answering. It is a good sign that the problem is not in the browser.