-
Hi. To begin with, thanks for your works on the library, examples and documentation. Thanks to those, I was able to duplicate an existing uppy setup and get it partially working without too much stress 😓. I'm using the tus supplied by https://github.com/tus/tusd. The reason for the migration is that it's (uppy lib) huge and uploadly is much more efficient. I would really like to get a working solution. I've created a discussion rather than an issue in case I have made some errors or misunderstanding tus usage. To get a working solution, I've tried using these two as the provider:
and
and then
as I'm using my own UI and don't need anything else 😄. When I use the first option. I see 404 on the HEAD request. If I have the parallel greater than 1, I can see many more 404 instances. When I increase parallel from 1 to another number. The process does not finish. Nor do I get 1 file. I see a bunch of chunked files. Intermittently I see a range of errors and if I try another upload. Sometimes if I look at the TUS console:
Additionally, when I a file with latin characters, I sometimes get the following error
When I use the 2nd option.
And I can't even start the upload process. I've tried creating a sandbox also, but I keep on getting
If you want to duplicate my works, You can use the uppy supplied TUS endpoint: https://tusd.tusdemo.net/files/ Btw, this is uppy in action. It's able to take a 100mb file and using TUS chunk it in and then create the file at the end. Hopefully this is the right terminology. I would very much like to replicate this with react-uploadly! Thanks! 😄 |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 3 replies
-
hey @paulm17 thanks! Strange that you're facing an issue with uploading. I tested thoroughly with tusd while building this part of Uploady and it worked well. I will have to check again. Almost missed the issue about latin chars, that sounds like a bug on its own. Please open an issue for that and give examples of the names you've seen fail. Will try to get to this in the next few days. |
Beta Was this translation helpful? Give feedback.
-
I just downloaded the latest tusd binary and ran it locally (on mac).
I run tusd like this:
important here is the BTW, I definitely recommend using the |
Beta Was this translation helpful? Give feedback.
-
Thanks for taking a look so quickly!
Now I see. I'm running on a docker instance.
I wonder if this is the issue? I will investigate tomorrow and will respond when I find something.
Thanks. I'll do that. |
Beta Was this translation helpful? Give feedback.
-
Could you paste your TusUploady provider? Also found the following: https://github.com/tus/tusd/blob/main/docs/locks.md
Shall I presume that parallel must be 1 then? |
Beta Was this translation helpful? Give feedback.
-
Turns out, it was due to an older issue of TUS server. Once I had removed the docker version and re-installed. I was able to use the TusUploady provider (commenting out sendDataOnCreate) and upload fine. There is an issue though: I intermittently get a 404 on the head. It's the same with a locally installed version as I was able to get that working as well. |
Beta Was this translation helpful? Give feedback.
-
Marking this complete as all issues solved. 😓 |
Beta Was this translation helpful? Give feedback.
I was using 1.4.1. Upgraded to 1.5.0 and the header issue goes away.