-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Uploading additional batches with Transloadit is broken allowMultipleUploadBatches: true
#5397
Comments
allowMultipleUploadBatches: true
)
allowMultipleUploadBatches: true
)allowMultipleUploadBatches: true
I can confirm this is broken, and it only happens with |
fixes #5397 also refactor from promise.then to async/await and fix what seems like broken logic with recursive this.#afterUpload call
fixes #5397 also refactor from promise.then to async/await and fix what seems like broken logic with recursive this.#afterUpload call
I'm still getting the exact same error with the same config for @uppy/transloadit@4.1.3 |
For anyone else running up against this issue, I was able to work around it by disabling
@mifi Any chance we could get this issue re-opened? |
One more datapoint: this only occurs with the Transloadit plugin, not when using the Tus plugin and a custom companion server. |
Are you on 4.x? Because I just tested this locally and it works. |
Package versions are:
|
I should also clarify that I'm experiencing this when using Uppy's |
I still can't reproduce with this: const uppy = new Uppy({
debug: true,
autoProceed: true,
allowMultipleUploads: true,
})
.use(StatusBar, { target: '#status-bar', hideAfterFinish: false })
.use(FileInput, { target: '#file-input' })
.use(Transloadit, {
service: TRANSLOADIT_SERVICE_URL,
waitForEncoding: true,
assemblyOptions,
})
|
Perhaps I'm not using Uppy in the intended way, but in this particular case I'm actually picking the files from elsewhere (react dropzone from another component) and passing the list of picked files to Uppy via
|
Can you show how you integrate Uppy in your React code? And unrelated but how are you setting the signature? Are you safely computing it on the server instead of the client? |
Yes we generate assembly options and sign them on the server and then send those down to authenticated clients. To isolate the problem here though I copied one of the assembly responses from our server and hard-coded the assembly JSON in my call to Uppy. The code pasted above is much simpler than our React-based, server-integrated Uppy setup but I was able to reproduce the issue with it. Uppy is instantiated at the module level, no React involved with the exception that |
If you have a reproducible example for me I can take a look. |
Initial checklist
Link to runnable example
No response
Steps to reproduce
Set up transloadit like this, upload some files, then do it again. You will get an error:
tus: neither an endpoint or an upload URL is provided
See community post made by someone else with issue as well:
https://community.transloadit.com/t/getting-error-while-uploading-second-batch-of-files-in-uppy/17201
Isolated this behavior as starting to occur with uppy v4 release
Expected behavior
Upload should work
Actual behavior
Upload fails
The text was updated successfully, but these errors were encountered: