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

Uppy sends pause event to companion instead of cancel #3572

Closed
mifi opened this issue Mar 15, 2022 · 6 comments · Fixed by #3576
Closed

Uppy sends pause event to companion instead of cancel #3572

mifi opened this issue Mar 15, 2022 · 6 comments · Fixed by #3576
Labels

Comments

@mifi
Copy link
Contributor

mifi commented Mar 15, 2022

To reproduce:

  • Open dev tools and network panel
  • Open uppy with google drive
  • select one (large) file from google drive
  • upload it
  • click cancel on the upload in the uppy ui after it starts progressing (but before finishing)
  • observe devtools network websocket request:
    • {"action":"progress","payload":{"progress":"0.00","bytesUploaded":51331,"bytesTotal":99000000000}}  
    • {"action":"progress","payload":{"progress":"0.00","bytesUploaded":52014,"bytesTotal":99000000000}}
    • {"action":"pause", "payload":{}}

companion will try to download the whole file (can be an issue if the file is very big as it will use resources)

expected:

cancel event to be sent

somewhat related but also different issue: #3155

@cmsnegar
Copy link

i have the same problem in uploading large files, thank you for your help #3551

@cmsnegar
Copy link

hi,
thank you, but I want it for localhost

@mifi
Copy link
Contributor Author

mifi commented Mar 16, 2022

I'm not sure what you mean by that

@cmsnegar
Copy link

i have explained the problem in the following link, thank you for checking

#3551

@mifi
Copy link
Contributor Author

mifi commented Mar 16, 2022

I don't know what that issue has to do with this issue.

@cmsnegar
Copy link

hi thank you
the error in the image is obvious. Uploading files from 1 to 1.5 GB is not a problem, but above this value does not allow uploading, and the settings for uploading files locally are up to 4 GB, but do not allow uploading files above 2 GB.

arturi pushed a commit that referenced this issue Mar 16, 2022
vymao pushed a commit to vymao/uppy that referenced this issue Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants