Giter Club home page Giter Club logo

Comments (6)

Acconut avatar Acconut commented on May 29, 2024

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.

juloliveira avatar juloliveira commented on May 29, 2024

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:

image

from tus-js-client.

Acconut avatar Acconut commented on May 29, 2024

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.

juloliveira avatar juloliveira commented on May 29, 2024

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!

image

from tus-js-client.

Acconut avatar Acconut commented on May 29, 2024

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.

Acconut avatar Acconut commented on May 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.