# Large uploads failing OOD 3.0.1

**URL:** <https://discourse.openondemand.org/t/large-uploads-failing-ood-3-0-1/3315>\
**Category:** Get Help\
**Created:** [March 1, 2024, 9:31pm UTC](https://discourse.openondemand.org/t/large-uploads-failing-ood-3-0-1/3315 "2024-03-01T21:31:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![meekhofb](https://avatars.discourse-cdn.com/v4/letter/m/ecd19e/32.png) [@meekhofb](https://discourse.openondemand.org/u/meekhofb)\
**Post date:** [March 1, 2024, 9:31pm UTC](https://discourse.openondemand.org/t/large-uploads-failing-ood-3-0-1/3315/1 "2024-03-01T21:31:07Z")

</div>

I’m seeing an issue where large uploads appear to fail (OOD 3.0.1). I’ve been testing with a 3GB file and the file upload progress gets to 100%, waits for a while, and then I get ‘upload failed’. However the file appears to actually have been uploaded and is complete (compared checksums of original and uploaded).

Although it was not apparently the problem, I was seeing log messages in httpd log like below. I resolved those by adding a ProxyTimeout 3600 to our httpd conf.d/ood-portal.conf but still the file upload error persists. I’m mentioning it just for reference, as resolving this issue did not resolve the file upload error.  
“(70007)The timeout specified has expired: [client xxxx:42816] AH01102: error reading status line from remote server httpd-UDS:0”

I’m not seeing any indication of error in the ondemand-nginx logs either. This appears very similiar to an older issue [File Upload Issue](https://discourse.openondemand.org/t/file-upload-issue/1793) but that was supposedly fixed in a much older version of OOD. I also checked the settings for max file upload size and we haven’t altered the default (around 10GB). Any ideas where else to troubleshoot this issue?

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [March 1, 2024, 9:33pm UTC](https://discourse.openondemand.org/t/large-uploads-failing-ood-3-0-1/3315/2 "2024-03-01T21:33:49Z")

</div>

Hi and welcome!

I’ll look into it.

---

<div class="post-metadata">

**Author:** ![meekhofb](https://avatars.discourse-cdn.com/v4/letter/m/ecd19e/32.png) [@meekhofb](https://discourse.openondemand.org/u/meekhofb)\
**Post date:** [March 7, 2024, 4:47pm UTC](https://discourse.openondemand.org/t/large-uploads-failing-ood-3-0-1/3315/3 "2024-03-07T16:47:08Z")

</div>

The upload widget in browser is giving an error of ‘upload stalled for 128 seconds, aborting’ when this fails. I didn’t see it before because the error message quickly disappears but I was able to get a glance at it finally. This seems related to the uppy timeout issue mentioned in PR [extend the timeout for uppy uploads by johrstrom · Pull Request #1600 · OSC/ondemand · GitHub](https://github.com/OSC/ondemand/pull/1600) since the fix there is setting it to 128 \* 1000 (128 seconds). Maybe a longer timeout is needed? I tried changing the uppy timeout in /var/www/ood/apps/sys/dashboard/app/javascript/packs/files/uppy\_ops.js but it doesn’t seem to be reflected in the browser…is this the right location? Do I need to do something to get the updated javascript to be used?

---

<div class="post-metadata">

**Author:** ![dai542](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/dai542/32/2669_2.png) [@dai542](https://discourse.openondemand.org/u/dai542)\
**Post date:** [June 7, 2024, 2:01pm UTC](https://discourse.openondemand.org/t/large-uploads-failing-ood-3-0-1/3315/4 "2024-06-07T14:01:42Z")

</div>

Have you resolved this issue now? I noticed that the default setting in version 3.0.1 is 128\*1000. When I upload files larger than 3GB, it shows a failure message, but the upload actually succeeds. Initially, I couldn’t see the file, but later it appeared automatically and was intact.

---

<div class="post-metadata">

**Author:** ![meekhofb](https://avatars.discourse-cdn.com/v4/letter/m/ecd19e/32.png) [@meekhofb](https://discourse.openondemand.org/u/meekhofb)\
**Post date:** [June 7, 2024, 7:00pm UTC](https://discourse.openondemand.org/t/large-uploads-failing-ood-3-0-1/3315/5 "2024-06-07T19:00:00Z")

</div>

We have not resolved the issue. I notice the same behavior as you with large files where it shows a failure message but the file does succeed in uploading and checksums correctly. My last work on the issue was an attempt to change the setting 128\*1000 to be larger in uppy\_ops.js but in order to do so I believe it’s necessary to recompile the js (bin/recompile\_js in the dist) and I had issues with getting ruby to find my embedded js compiler…I haven’t gotten past that point.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/b/bae70bd0ed39a3ae769c2108155f4cb3e9da8385.png) [@system](https://discourse.openondemand.org/u/system)\
**Post date:** [December 4, 2024, 7:00pm UTC](https://discourse.openondemand.org/t/large-uploads-failing-ood-3-0-1/3315/6 "2024-12-04T19:00:44Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
