Giter Site home page Giter Site logo

Comments (12)

Murderlon avatar Murderlon commented on May 24, 2024

Hi, your code is private so it will be hard to help. Can you make it public?

from uppy.

RajuRajan avatar RajuRajan commented on May 24, 2024

Hi, your code is private so it will be hard to help. Can you make it public?

Given access @Murderlon

from uppy.

Murderlon avatar Murderlon commented on May 24, 2024

You've only given me access, but can you make it public? Issues are for everyone to see and help.

from uppy.

RajuRajan avatar RajuRajan commented on May 24, 2024

You've only given me access, but can you make it public? Issues are for everyone to see and help.

https://github.com/RajuRajan/uppy-react-issues-public made public

from uppy.

Murderlon avatar Murderlon commented on May 24, 2024

You're not using Uppy inside React correctly. Do not put it inside useMemo. Please take a look at the docs.

Particularly this example might help: https://uppy.io/docs/react/#example-dynamic-params-and-signature-for-transloadit

from uppy.

RajuRajan avatar RajuRajan commented on May 24, 2024

@Murderlon Code is lined up according to docs, still the issue persists. Kindly check it out. We started facing issues after upgrading our versions recently in our repository.

from uppy.

Murderlon avatar Murderlon commented on May 24, 2024

I can't reproduce this on https://uppy.io/examples/, which is also based on React. I tried with a 600MB video file. I don't think this is an issue in Uppy. It might be that the transloadit api had hiccups at the time, hence the tus errors. But that would be better asked through commercial support.

Can you consistently reproduce this?

from uppy.

RajuRajan avatar RajuRajan commented on May 24, 2024

@Murderlon
I have shared a working code sample. Just by running it can be reproduced consistently. Kindly check the issue reference.
Socket connection and tus upload fails, it loses reference maybe.

https://uppy.io/examples/ Multiple web socket connection is not happening, It uploads video at once. But in our case multiple socket connections happen, We are not clear how uppy chunks upload in newer versions.

Our Issue reference video

https://drive.google.com/file/d/1S2bWIAeFGLZLoLNHGuvHtjjW9m1V0Q-Q/view?usp=sharing

Hope, I have shared enough details :(

from uppy.

mifi avatar mifi commented on May 24, 2024

Hi. Could you show more info about the causingError in your error event? Do you know where it's coming from? Also show the rest of the requests (not only filtered by WS)? I want to see which host your browser is making requests to (websocket as well as http requests). it's a bit hard to test your code because your example needs to run on a domain name with registered credentials at google drive and dropbox in order for OAuth2 to work. I don't see anything odd about your code, and I cannot reproduce the problem.

from uppy.

RajuRajan avatar RajuRajan commented on May 24, 2024

socket.addEventListener('open', () => { sendState(); });

By commenting above code in @uppy/companion-client/lib/RequestClient.js worked earlier. Now it has been fixed in newer verision.

from uppy.

mifi avatar mifi commented on May 24, 2024

so we can close this?

from uppy.

RajuRajan avatar RajuRajan commented on May 24, 2024

Yes we can close this.

from uppy.

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.