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

Using TUS Protocol for large files stops upload and throws error. #6

Open
ChristianConstantNel opened this issue Jun 20, 2023 · 3 comments

Comments

@ChristianConstantNel
Copy link

Hi!

Thanks for an awesome package.
When I'm using the TUS protocol I get the following error:
Unhandled Exception: PathNotFoundException: Cannot open file,

The upload starts, but then throws this error about half way through.

@luis901101
Copy link
Owner

Hi, you're welcome.
That error is weird, please check the file is available during the time it requires to upload.
I just tested the "Doing direct stream upload using tus protocol" from the package's integration tests and it worked as expected.

Note: my upload speed right now is less than 1 Mbs, so I can't run reliable tests on files too large, that's why the file in the test is around 13 MB large

Screenshot 2023-06-20 at 16 06 25

@ChristianConstantNel
Copy link
Author

Hi,

Thanks for the response. I believe it had to do with my file picker. It seems to be solved now.

I'm running into another issue though.

There are two objects being created in my Cloudflare database.
One is the actual video and another is the upload object.

The upload object stays in the pending upload state even when the video has been uploaded.

Screenshot 2023-06-21 at 09 57 34

@luis901101
Copy link
Owner

How are you doing the upload? share the step by step and function calls you are using.

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

No branches or pull requests

2 participants