Comments (6)
First of all, I want to thank you for this detailed explanation and, in particular, the screenshot. Here's what I believe is happening: The long running uploads (the PATCH
requests) get, at some point, interrupted. I cannot exactly tell why, with the information you provided, but there are quite a lot of reasons. Anyway, the tus protocol has been engineered with these incidents kept in mind and provides a way to resume directly after the interruption.
Now here's the deal: the tus-js-client demo (the page you have opened in Firefox) will not automatically resume and will always ask you before doing the actual resume. This is why pressing the OK
button always will, in the end, result in a complete upload. On our soon roadmap is an entry which will add automatically resuming to tus-js-client meaing the script can handle these cases without user interaction.
I hope this answers helps you :)
from tus-js-client.
Thank you for you repply!
I did try increase the timeout via parameters in tusd but them same error occurs yet.
Again, executing the upload process, now in Google Chrome, in colsone tab I fount the error above:
from tus-js-client.
A connection reset error is sadly not very helpful. Does the output of the tusd process revile something about misbehavior? Could you please post it's output here?
from tus-js-client.
In tusd output don't have nothing to help us
I am thinking that can be a problem with proxy of the my company.
Today, in home, I will test in a EC2 server and post results here.
Thank you!
from tus-js-client.
Indeed, the tusd output is not helpful in this case. Furthermore, I agree with out that any proxy in between may cause these interruptions. However, as I said, these should not matter anymore once we implemented automated resuming as described above.
from tus-js-client.
The 1.4.1 release of tus-js-client has been published and contains the automated retries feature I have mentioned the last times. This should eradicate the issues you were experiencing. Since this has also been deployed to tus.io/demo.html, I would be pleased if you could give it a try.
from tus-js-client.
Related Issues (20)
- It's not possible to declare onShouldRetry and fallback to the default behaviour HOT 1
- Failed because: Error: tus: unexpected response while uploading chunk, [...] HOT 12
- define a global maximum concurrent request limit HOT 3
- > net::ERR_UPLOAD_FILE_CHANGED
- TypeError: Cannot read properties of undefined (reading 'Upload') HOT 4
- Base64 Encoding of Metadata Assumes Metadata Value is a UTF8 String (Should It?) HOT 6
- RetryDelays: "Type 'null' is not assignable to type 'number[] | undefined'". But null is acceptable. HOT 2
- Replace Karma test runner
- window is undefined when trying to run in worker file on browser HOT 8
- Duplicate calls to `start` cause duplicate uploads
- Can onSuccess return the file address when the upload is successful? HOT 10
- Provide fallback storage when using tus in Web Workers HOT 3
- Either a Bug or i'm doing something wrong HOT 3
- removeFingerprintOnSuccess not working on multiple files HOT 4
- Decrease browser bundle size HOT 1
- Change request method to PATCH HOT 3
- How to set creator, Signed URL and Allowed Origins on Cloudflare TUS Upload HOT 4
- Support for NativeScript
- Test with Electron
- Not able to connect tus-js-client to @tus/server HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tus-js-client.