Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload of big files is failing in CERNBox: Uppy error "Upload stalled for 30 seconds, aborting." #7900

Closed
elizavetaRa opened this issue Nov 2, 2022 · 6 comments · Fixed by #7912

Comments

@elizavetaRa
Copy link
Member

Steps to reproduce

  1. Upload a large file (6-7 GB)

Expected behaviour

Upload works

Actual behaviour

At the very end of the upload it always fails for any user, in console we get
[Uppy] Failed to upload xxx. Upload stalled for 30 seconds, aborting.

For smaller files (tested 2 and 3 GB) everything works.
With curl we are able to upload the same big files, so it must be the frontend issue.

We tried to set the timeout in uppyOptions to 1h and to 0 (deactivates check) but still get the same error.

For smaller files (tested 2 and 3 GB) everything works.

The nginx upload limit is 8GB.

@kulmann
Copy link
Contributor

kulmann commented Nov 2, 2022

This is without TUS, right? So no chunking in place, only one big XHR upload, correct?

@elizavetaRa
Copy link
Member Author

Xhr upload, yes

@JammingBen
Copy link
Contributor

We tried to set the timeout in uppyOptions to 1h and to 0 (deactivates check) but still get the same error.

@elizavetaRa Where exactly did you set the timeout? The proper place would be where the XHR plugin is being initialized:

const xhrPluginOptions: XHRUploadOptions = {

I did get the same error, however, after increasing the timeout in the XHR options, everything works.

@elizavetaRa
Copy link
Member Author

@JammingBen I was setting in packages/web-runtime/src/composables/upload/useUpload.ts in uppyOptions. Will try your way, thanks!

@elizavetaRa
Copy link
Member Author

@JammingBen it worked by us as well, maybe you could add the fix to web

@JammingBen
Copy link
Contributor

#7912 increases the default timeout and also makes it configurable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants