tus/tus-node-server

S3 Store file download fails

josephrony277 opened this issue · 1 comments

I have uploaded a file to the S3 bucket using the Tus node server. The S3 bucket is configured with public access, and versioning enabled. The Tus node server's chunk size was set to 10MB. A net-based client was used to upload the file to the Tus node server and the file was successfully uploaded.

Create request returned the file location Uri in the response "http://127.0.0.1:1080/files/8cd6df7fb22d80801ba874f753d6ce92". Patch request used this URI to upload the file in chunks.

The S3 bucket also contains the uploaded file and info file.

We tried to download the file using the above URL and the error was returned as "The file for this URL was not found". We tested the file upload using the file store and we were able to download the file using the URI, but this file download doesn't work using the S3 store.

GET is not part of the protocol so this is expected. The error could probably be more clear though!

You can implement your own GET handler.