Account

Error guide / ERR_EMPTY_RESPONSE

How to fix the ERR_EMPTY_RESPONSE error

ERR_EMPTY_RESPONSE means the server accepted the browser's connection and request but sent back zero bytes: the connection opened and then closed empty, without a page. This differs from a timeout, where nothing answers at all, and from a refused connection. Here the connection worked, and only the response is blank.

Check your site

>

What causes it

On shared cPanel/LiteSpeed hosting the usual reason is a process that died mid-response: PHP hit a fatal error after output had already started, or a CPU or memory limit (CloudLinux LVE) killed the worker before it finished. Less often the server crashed or restarted, or the protocols do not match, with the browser speaking HTTPS to a plain-HTTP port or the other way round.

How to fix it

  1. Reload the page, then open it in an incognito window or another browser to rule out a one-off glitch or the cache.
  2. Check whether the problem is only on your side: open the site over mobile data or run the availability checker below. If the site answers there, the problem is local.
  3. Temporarily turn off any VPN, proxy or blocking extensions, since they sometimes cut the response short.
  4. If the site is yours, open the error log in cPanel (or the LiteSpeed log) and look for a PHP fatal error or a Killed line at the time of the request. Either one points to the code or to a limit.
  5. Raise memory_limit and max_execution_time for PHP (in php.ini or MultiPHP) and compare CPU and memory use with your LVE limits in cPanel: on a heavy page the worker is probably hitting one of them.
  6. Check that you are using the right protocol (https:// with a valid certificate). If the error has only just started, restart the web server (LiteSpeed/Apache) if it is your own VPS or server, or contact hosting support with the exact time and URL.

Related errors