pingdotgg / uploadthing

File uploads for modern web devs
https://uploadthing.com
MIT License
4.06k stars 299 forks source link

[bug]: Files stuck while uploading #959

Open DevTGhosh opened 2 days ago

DevTGhosh commented 2 days ago

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.

https://github.com/user-attachments/assets/35c9f9f9-b2c6-451d-9953-039fa98625b5

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

Code of Conduct

juliusmarminge commented 1 day ago

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