Open
Description
Bug report
- I confirm this is a bug with Supabase, not with my own application.
- I confirm I have searched the Docs, GitHub Discussions, and Discord.
Describe the bug
When uploading a file greater than 6MB in size to storage via the supabase dashboard in a self-hosted instance I receive the following error:
Failed to upload 6_3mb.pdf: tus: failed to resume upload, caused by [object ProgressEvent], originated from request (method: HEAD, url: http://localhost/upload/resumable/cHN5Y2hvc29jaWFsX2NvbnRlbnQvRkdIIGJ1c2luZXNzIGNhcmRfMjAyNDA4MTkgY29weSA2LnppcC9hMjNmYTM5Yy1kZmI0LTRhMjUtYjQzYS1iMDU2OGY2MGM4NGU, response code: n/a, response text: n/a, request id: n/a)
While the file is uploading, I receive this error multiple times in the browser console
HEAD http://localhost/upload/resumable/cHN5Y2hvc29jaWFsX2NvbnRlbnQvRkdIIGJ1c2luZXNzIGNhcmRfMjAyNDA4MTkgY29weSA2LnppcC9hMjNmYTM5Yy1kZmI0LTRhMjUtYjQzYS1iMDU2OGY2MGM4NGU net::ERR_CONNECTION_REFUSED
I made sure to pull the latest docker images. This does not resolve the error.
To Reproduce
- Create a file that is 6MB in size
- Go to the self-hosted supabase dashboard: localhost:8000
- Go to storage, and upload the file
- It will show its uploading for a moment, then error out with the error above.
Expected behavior
Files up to 50MB should be able to be uploaded.
Screenshots
While uploading

Error

System information
- OS: macOS
- Browser (if applies): chrome
- Version of supabase docker compose: 3.8
- Version of Node.js: v18.19.0
Additional information
- I have tried this with other files, not just the one I am testing with. I receive the same error for anything over 6MB