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

Error while parallelUploads #739

Open
TapasFrontend opened this issue Dec 20, 2024 · 2 comments
Open

Error while parallelUploads #739

TapasFrontend opened this issue Dec 20, 2024 · 2 comments
Labels

Comments

@TapasFrontend
Copy link

TapasFrontend commented Dec 20, 2024

I have added chunk sizes on client side to send large files in chunks. I get the tus options called parallelUploads and I set it to the 5 so that file chunks upload parallel but it is showing error like : 501 Not Implemented and Concatenation extension is not (yet) supported. Disable parallel uploads in the tus client.

I went through the docs to find this feature but I didn't get anything there. So how do I upload chunks parallelly?

My Tus Options
endpoint: createUrl("/upload/"), headers: { 'x-access-token': createJWTToken(currentId) }, retryDelays: [0, 1000, 3000, 5000], metadata, uploadDataDuringCreation: true, removeFingerprintOnSuccess: true, chunkSize: 64 * 1024 * 1024, parallelUploads: 5,

@Acconut
Copy link
Member

Acconut commented Dec 20, 2024

As the error message says, the tus server you are using does not provide the concatenation extension, which is required for parallelUploads to work. There is nothing you can do on the client-side other than asking the administrator of the tus server to implement or enable this extension.

@TapasFrontend
Copy link
Author

TapasFrontend commented Dec 23, 2024

As the error message says, the tus server you are using does not provide the concatenation extension, which is required for parallelUploads to work. There is nothing you can do on the client-side other than asking the administrator of the tus server to implement or enable this extension.

Do we have any example of the implementation for the parallel upload?

In addition, I am using the tus-node-server on the backend. there I have added extensions but when the last chunk is uploading at that time I got the error.

Screenshot 2024-12-23 at 11 36 18 AM

Screenshot 2024-12-23 at 11 38 33 AM

when all the chunks are uploaded then last request is called and that req. is failed. error message: Upload-Length or Upload-Defer-Length header required.

i have added this extension at the backend ['creation', 'concatentation', 'concatenation-unfinished', 'creation-defer-length'] @Acconut

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

No branches or pull requests

2 participants