1. Home
  2. Docs
  3. Website Firewall
  4. Troubleshooting
  5. Failed Network Error when Downloading Files

Failed Network Error when Downloading Files

If you are receiving "Failed – Network Error" when trying to download a file from a website that uses Sucuri Firewall and the same error happens in more than one computer/network, please disable or ask your hosting provider or web developer to disable zlib.output_compression in your PHP configuration.

Usually you can disable it by adding this line in your .htaccess file:

php_flag zlib.output_compression off

Or adding this line to your php.ini file:

zlib.output_compression = Off

Please also try disable compression on your server. This is done by mod_deflate on Apache and gzip directive on NGINX. On Apache/LiteSpeed Web Server you can disable GZIP at a specific directory, for example:

SetEnvIf Request_URI ^/download/URL no-gzip=1

If the issue still happens after these changes, please open a General Support Request.

Was this article helpful to you?