pingdotgg/uploadthing

[bug]: Files stuck while uploading

Closed this issue ยท 4 comments

Provide environment information

System:
    OS: macOS 14.6.1
    CPU: (10) arm64 Apple M2 Pro
    Memory: 91.36 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.11.0 - ~/.nvm/versions/node/v20.11.0/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 10.2.4 - ~/.nvm/versions/node/v20.11.0/bin/npm
    pnpm: 9.4.0 - /opt/homebrew/bin/pnpm
    bun: 1.1.26 - ~/.bun/bin/bun
  Browsers:
    Chrome: 128.0.6613.138
    Firefox Nightly: 132.0a1
    Safari: 17.6
  npmPackages:
    @uploadthing/react: ^7.0.1 => 7.0.1
    typescript: ^5.5.4 => 5.5.4
    uploadthing: ^7.0.1 => 7.0.1

Describe the bug

Sometimes when uploading files the button will go to 110% then then just get stuck. I can see the presigned url get generated but nothing happens. I have to wait 2-3 mins sometimes or refresh the page for it to work.

CleanShot.2024-09-18.at.21.48.05.mp4

Link to reproduction

https://github.com/pingdotgg/uploadthing/tree/95319f2334e3c634eaccbae30b084bf50f2419d9/examples/with-clerk-remix

To reproduce

Haven't been able to consistently reproduce this error but it happens often. Let me know if you need more info. I am using the remix version of the app. I am using the remix example from your repo.

Additional information

No response

๐Ÿ‘จโ€๐Ÿ‘งโ€๐Ÿ‘ฆ Contributing

  • ๐Ÿ™‹โ€โ™‚๏ธ Yes, I'd be down to file a PR fixing this bug!

Code of Conduct

  • I agree to follow this project's Code of Conduct

can you provide the network inspection tab when this happens? what responses do you get on the requests to <REGION>.ingest.uploadthing.com?

Hey can you see if you can still replicate this? I believe this is caused by the same issue as #962 which should hopefully be fixed

This issue has been automatically marked as stale because it has not had any activity for 10 days. It will be closed in 5 days if no further activity occurs.

This issue has been closed because it has not had any activity for 5 days since being marked as stale.