-
Notifications
You must be signed in to change notification settings - Fork 220
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
File Uploads Fail Beyond 6MB Limit with TUS in Supabase CLI (Resumable Uploads) #2729
Comments
Hi @thebrrt, thank you for the advice about the 'osxfs' setting. I switched from Docker to OrbStack because of CPU spikes, but OrbStack doesn't have a similar setting. I will switch back to Docker to test it. Your help is greatly appreciated! |
@thebrrt I switched to Docker, re-installed all the docker images related to Supabase Local Dev CLI, and changed the setting of file sharing implementation to My Docker Settings: |
Solution:The issue was coming from my
[api.tls]
enabled = false
api_url = "http://127.0.0.1:54321"
After making these changes, the upload issue was resolved, and file uploads are working as expected now. I hope the Supabase team can release a fix to make it work smoothly with TLS enabled. |
Describe the bug
I'm encountering an issue with file uploads using FilePond and TUS in Supabase CLI. Files under 6MB upload successfully, but uploads of larger files consistently fail.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expected that larger files would upload smoothly since TUS is designed for resumable uploads. A failure for files larger than 6MB is concerning, as it severely limits the functionality of my app. Our users may need to upload significantly larger files, so this behavior is not acceptable.
Screenshots
I've recorded a video demonstrating the issue in my Next.js app, but here’s a quick text log of what I see in the Supabase CLI local dashboard:
Then it fails with the following error:
Supabase.Storage.Fails.to.Upload.Files.above.6MB.mp4
System information
26.1.3, build b72abbb
, OrbStack.Additional context
I previously disabled built-in chunking in FilePond, hoping it would resolve the issue, but the problem persists.
Here’s a snippet of my upload code for reference:
Thanks for any help or insights you can provide!
The text was updated successfully, but these errors were encountered: