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
Unable to download files over 130MB. Throws a non-specific error. "Failed to Download..."
I am using the Studio to upload & download the files.
I need to be able to upload and download files ~1GB in size.
If I use the "Get Url" feature, the files do download successfully.
This is self-hosted docker on an azure VM. Using nginx as a reverse proxy.
Unlimited size set in nginx config client_max_body_size=0
and FILE_SIZE_LIMIT is set to 2GB in docker-compose.yml
To Reproduce
Upload a file >130MB
Select the file
Click Download button
It will show the retrieving message for about 15 seconds:
See error: "Failed to Download..."
Expected behavior
Successfully download files as large as 1 GB
Screenshots
See above
System information
OS: ubuntu 24.04
Browser: tested chrome & edge
Version of supabase-js: [e.g. 6.0.2]
Version of Node.js: v18.19.1
Additional context
It took a long time to resolve the >6MB resumable upload issue others have faced.
Finally, I can upload a 700MB file, but then I can't download the same file.
130MB seems to be the limit on downloading.
Any help is much appreciated. THX
Below I have Included
kong.yaml
docker compose relevant parts
nginx sites available config
.env
Kong.yml
Had to add the fix below to get large uploads working. It was the only thing that worked
############
# Secrets
############
[removed]
############
# Database - You can change these to any PostgreSQL database that has logical replication enabled.
############
POSTGRES_HOST=db
POSTGRES_DB=postgres
POSTGRES_PORT=5432
# default user is postgres
############
# Supavisor -- Database pooler
############
POOLER_PROXY_PORT_TRANSACTION=6543
POOLER_DEFAULT_POOL_SIZE=20
POOLER_MAX_CLIENT_CONN=100
POOLER_TENANT_ID=your-tenant-id
############
# API Proxy - Configuration for the Kong Reverse proxy.
############
KONG_HTTP_PORT=8000
KONG_HTTPS_PORT=8443
############
# API - Configuration for PostgREST.
############
PGRST_DB_SCHEMAS=public,storage,graphql_public
############
# Auth - Configuration for the GoTrue authentication server.
############
## General
SITE_URL=############
ADDITIONAL_REDIRECT_URLS=
JWT_EXPIRY=3600
DISABLE_SIGNUP=false
API_EXTERNAL_URL=http://localhost:8000
## Mailer Config
MAILER_URLPATHS_CONFIRMATION="/auth/v1/verify"
MAILER_URLPATHS_INVITE="/auth/v1/verify"
MAILER_URLPATHS_RECOVERY="/auth/v1/verify"
MAILER_URLPATHS_EMAIL_CHANGE="/auth/v1/verify"
## Email auth
ENABLE_EMAIL_SIGNUP=true
ENABLE_EMAIL_AUTOCONFIRM=false
SMTP_ADMIN_EMAIL=###########
SMTP_HOST=smtp.office365.com
SMTP_PORT=587
SMTP_USER=##############
SMTP_PASS=###########
SMTP_SENDER_NAME=########
ENABLE_ANONYMOUS_USERS=false
## Phone auth
ENABLE_PHONE_SIGNUP=true
ENABLE_PHONE_AUTOCONFIRM=true
############
# Studio - Configuration for the Dashboard
############
STUDIO_DEFAULT_ORGANIZATION=Default Organization
STUDIO_DEFAULT_PROJECT=Default Project
STUDIO_PORT=3000
# replace if you intend to use Studio outside of localhost
SUPABASE_PUBLIC_URL=https://##########/
# Enable webp support
IMGPROXY_ENABLE_WEBP_DETECTION=true
# Add your OpenAI API key to enable SQL Editor Assistant
OPENAI_API_KEY=
############
# Functions - Configuration for Functions
############
# NOTE: VERIFY_JWT applies to all functions. Per-function VERIFY_JWT is not supported yet.
FUNCTIONS_VERIFY_JWT=false
############
# Logs - Configuration for Logflare
# Please refer to https://supabase.com/docs/reference/self-hosting-analytics/introduction
############
LOGFLARE_LOGGER_BACKEND_API_KEY=your-super-secret-and-long-logflare-key
# Change vector.toml sinks to reflect this change
LOGFLARE_API_KEY=your-super-secret-and-long-logflare-key
# Docker socket location - this value will differ depending on your OS
DOCKER_SOCKET_LOCATION=/var/run/docker.sock
# Google Cloud Project details
GOOGLE_PROJECT_ID=GOOGLE_PROJECT_ID
GOOGLE_PROJECT_NUMBER=GOOGLE_PROJECT_NUMBER
The text was updated successfully, but these errors were encountered:
Bug report
Describe the bug
Unable to download files over 130MB. Throws a non-specific error. "Failed to Download..."
I am using the Studio to upload & download the files.
I need to be able to upload and download files ~1GB in size.
If I use the "Get Url" feature, the files do download successfully.
This is self-hosted docker on an azure VM. Using nginx as a reverse proxy.
Unlimited size set in nginx config client_max_body_size=0
and FILE_SIZE_LIMIT is set to 2GB in docker-compose.yml
To Reproduce
Expected behavior
Successfully download files as large as 1 GB
Screenshots
See above
System information
Additional context
It took a long time to resolve the >6MB resumable upload issue others have faced.
Finally, I can upload a 700MB file, but then I can't download the same file.
130MB seems to be the limit on downloading.
Any help is much appreciated. THX
Below I have Included
Kong.yml
Had to add the fix below to get large uploads working. It was the only thing that worked
Docker compose
Nginx Sites Available
Env
The text was updated successfully, but these errors were encountered: