Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

snips11's avatar

File downloads over 100kb response Failed-Network Error

I have deployed a custom VPS via forge, everything is working perfectly apart from file downloads over roughly 100kb, small files download fine.

When tested locally everything works perfectly, however across all browsers the file downloads and displays with Failed-Network error.

Are there any configuration settings in PHP FPM or Nginx that could be causing this?

0 likes
5 replies
Tray2's avatar

Have you checked the nginx logs?

snips11's avatar

I can't see anything in the logs related to this at all, unfortunately.

Tray2's avatar

That is very strange. If the connection is lost or something times out there should be a record of it in the logs.

snips11's avatar

Cleared the logs, reloaded and there are logs...

2020/11/19 20:49:44 [crit] 208224#208224: *4270 open() "/var/lib/nginx/fastcgi/1/06/0000000061" failed (13: Permission denied) while reading upstream, client: *****, server: ******, request: "GET /download-file/>

Looks like a permissions issue.

Please or to participate in this conversation.