You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i) I am trying to upload a large mp4 file (15gb), but whenever I do it gets about 2 to 3GB in and then it just gives up with a 'reconnecting' message and then disppears from the upload field (as if nothing has happened). I have tried this from my local instance of next.js / sanity as well as a preview deployment in Vercel, with the same results. My internet connection is around 40mbps down/6 mbps up.
ii) We also have the file in Google Drive, so I have also tried pasting in a google drive URL rather than the local file, into the paste URL field, and this gives this error -
Any help much appreciated.
Steps to reproduce the behavior:
i) locally -
Upload large file locally or on vercel instance from inside localhost:studio
Upload starts
Upload gives up/says its reconnecting
ii) google drive
Upload large file locally or on vercel instance from inside localhost:studio by dragging copied google drive link onto the paste URL field of my 'mux.video' field
After saying its preparing image you get the error message from above.
Expected behavior
Large files should upload either from local machine or from Google Drive (or elsewhere, we're happy to put it somewhere else if that would help).
Screenshots
See Above.
Which versions of Sanity are you using?
│
│ Update available 3.20.1 → 3.20.2 │
│ Run pnpm update @sanity/cli to update │
│ │
╰───────────────────────────────────────────╯
@sanity/cli (global) 3.20.1 (latest: 3.20.2)
@sanity/image-url 1.0.2 (up to date)
@sanity/vision 3.20.2 (up to date)
sanity 3.20.2 (up to date)
What operating system are you using?
macOs Sonoma
Which versions of Node.js / npm are you running?
node - 21.2.0
im using pnpm - 8.10.5
Additional context
We can upload small files fine.
I looked at the logs in mux, all i can see are 201s, but there is no image and its not uploaded.
We have also managed to upload the file to Mux directly using the MUX dashboard, so i think its a plugin issue. I presume if the file im uploading has the same name as one already in mux that won't matter.
The text was updated successfully, but these errors were encountered:
Thanks @cordial -- we are maintaining this plugin. But we did have a slight shift in coverage with some organization changes. Now we're back on it and working on a new release.
Are you able to share an example of a large file that you're trying to upload? We'll need to debug that.
Regarding Google Drive, can you share an example link to Google Drive? There's 2 ways to upload to Mux:
With a URL to a video file
With a video file directly
With option 1 the video file is downloaded from Mux's server, which means it has to be publicly accessible. Typically with Google Drive that presents 2 different issues:
Google Drive links are usually authenticated. You need to be logged in to a Google account to access it.
Google Drive links are usually not links to raw files, they are links to an HTML page that has the file on it.
If you could share both examples that would help us debug. Thank you
Describe the bug
i) I am trying to upload a large mp4 file (15gb), but whenever I do it gets about 2 to 3GB in and then it just gives up with a 'reconnecting' message and then disppears from the upload field (as if nothing has happened). I have tried this from my local instance of next.js / sanity as well as a preview deployment in Vercel, with the same results. My internet connection is around 40mbps down/6 mbps up.
ii) We also have the file in Google Drive, so I have also tried pasting in a google drive URL rather than the local file, into the paste URL field, and this gives this error -
Any help much appreciated.
Steps to reproduce the behavior:
i) locally -
ii) google drive
Expected behavior
Large files should upload either from local machine or from Google Drive (or elsewhere, we're happy to put it somewhere else if that would help).
Screenshots
See Above.
Which versions of Sanity are you using?
│
│ Update available 3.20.1 → 3.20.2 │
│ Run pnpm update @sanity/cli to update │
│ │
╰───────────────────────────────────────────╯
@sanity/cli (global) 3.20.1 (latest: 3.20.2)
@sanity/image-url 1.0.2 (up to date)
@sanity/vision 3.20.2 (up to date)
sanity 3.20.2 (up to date)
What operating system are you using?
macOs Sonoma
Which versions of Node.js / npm are you running?
node - 21.2.0
im using pnpm - 8.10.5
Additional context
We can upload small files fine.
I looked at the logs in mux, all i can see are 201s, but there is no image and its not uploaded.
We have also managed to upload the file to Mux directly using the MUX dashboard, so i think its a plugin issue. I presume if the file im uploading has the same name as one already in mux that won't matter.
The text was updated successfully, but these errors were encountered: