# Large file/directory downloads fail with timeout or network error

**URL:** <https://discourse.openondemand.org/t/large-file-directory-downloads-fail-with-timeout-or-network-error/4946>\
**Category:** Get Help\
**Created:** [August 11, 2026, 9:39am UTC](https://discourse.openondemand.org/t/large-file-directory-downloads-fail-with-timeout-or-network-error/4946 "2026-08-11T09:39:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![garadar](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/garadar/32/1877_2.png) [@garadar](https://discourse.openondemand.org/u/garadar)\
**Post date:** [August 11, 2026, 9:39am UTC](https://discourse.openondemand.org/t/large-file-directory-downloads-fail-with-timeout-or-network-error/4946/1 "2026-08-11T09:39:29Z")

</div>

**OnDemand version: 4.2.3**

Hi,

I’m experiencing issues when downloading large files or directories through Open OnDemand.

### Environment

- Small files download successfully without any issue.
- Problem occurs with:
  - A directory of approximately **1.5 GB**
  - A large **tar archive** containing this directory

### Case 1: Large file (.tar)

The download starts normally:

- Browser shows the transfer progress and throughput.
- Data appears to be transferred correctly.
- However, once the download reaches 100%, the browser cancels it and reports:

```auto
Network Error ('Erreur' réseau in French)

```

![image](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/2/24d1904225d3ac9fbf870aacccdd4cfee73b3b4a.png)

So the failure happens at the very end of the transfer.

### Case 2: Large directory download

Initially, attempting to download the directory resulted in a proxy timeout error.

I increased:

**OOD\_DOWNLOAD\_DIR\_TIMEOUT\_SECONDS=15**

which resolved the proxy error during archive creation.

The directory can now be prepared successfully, and I get:

**can\_download = true**

However, the process then seems to hit another timeout after approximately **30 seconds** , preventing the download from completing.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/9/9803893b475e399dad194d32e465ec65c62c731b.png)  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/e/ef1a612df7dc6d855fd66e615a2cacbd57b870ea.png)

### Question

Does anyone know:

- Which timeout controls the actual file transfer/download phase after `can_download = true`?
- Whether there is another Open OnDemand, Passenger, NGINX, Apache, or proxy setting that needs to be increased for downloads larger than ~1.5 GB?
- Has anyone encountered a browser-side “Network Error” occurring only after the download reaches 100%?

Any pointers on where to investigate next would be greatly appreciated.

Thanks you for your help 🙏

---

<div class="post-metadata">

**Author:** ![jasonbuechler](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jasonbuechler/32/302_2.png) [@jasonbuechler](https://discourse.openondemand.org/u/jasonbuechler)\
**Post date:** [August 11, 2026, 7:16pm UTC](https://discourse.openondemand.org/t/large-file-directory-downloads-fail-with-timeout-or-network-error/4946/2 "2026-08-11T19:16:32Z")

</div>

I have seen very similar behavior, and never resolved it but mentioned what I’d found here:

> [@File manager errors: Large uploads (to lustre fs) appear to fail](https://discourse.openondemand.org/t/file-manager-errors-large-uploads-to-lustre-fs-appear-to-fail/4735):
>
> environment: OOD 4.0.8 unpopulated dev system hyper-v VM selinux disabled cgroupsv2 enabled no upload-limit mods in /etc/ood/config/apps/dashboard/env I’m seeing an issue that seems very similar to [this March 2024 report](https://discourse.openondemand.org/t/large-uploads-failing-ood-3-0-1/3315) about large uploads failing with OOD 3.0.1. However my “large” uploads are only ~1.5GB, and the problem seems isolated to uploading to our /scratch fs (which is an NFS export of a bare metal lustre mount to our Vast system). About the error: filemanager’s upload dialog ev…

Frustratingly, the cutoff for what filesize was too big was never written in stone – sometimes a given ~1.5gb file would upload with success, other times it would (appear to) fail.

I had a theory that it had something to do with my /tmp or /var (lvm-)filesystem filling up since I discovered a given upload will eat up space on both. This didn’t seem to be the root issue for me (at least with the brief investigation I did) but maybe worth checking if it’s the case for you: [PSA: File Manager uploads use both /var and /tmp space](https://discourse.openondemand.org/t/psa-file-manager-uploads-use-both-var-and-tmp-space/4736)

My example watch-script is admittedly hard to read but the gist of it is a single upload temporarily stores _three_ copies, like:

- /proc/1386416/fd/8 =\> / **var** /tmp/ondemand-nginx/USERID/client\_body/0000000001 (deleted)
- /proc/1795862/fd/10 =\> / **tmp** /PassengerTeeInput-1l86ohu (deleted)
- / **tmp** /RackMultipart20260219-1795862-wimnh4.zip
