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
{{ message }}
Repository navigation
seed buckets ignores SUPABASE_API_PORT and calls the storage API on the config.toml port #6452
{"_tag":"Error","error":{"code":"LegacyStorageGatewayNetworkError","message":"failed to execute http request: HttpClientError: Transport error (GET http://127.0.0.1:54321/storage/v1/bucket)"}}
Expected behavior
The storage gateway should call the resolved api.port, the same value SUPABASE_API_PORT sets for every other consumer of that setting.
Steps to reproduce
mkdir /tmp/repro && cd /tmp/repro
supabase init --yes
Append to supabase/config.toml:
[storage.buckets.app]
public = false
SUPABASE_API_PORT=54331 supabase seed buckets
The error names http://127.0.0.1:54321/storage/v1/bucket
NOTE: The same error happens when running supabase db reset.
Crash report ID
No response
Docker and service versions
Additional context
supabase services
SERVICE IMAGE
LOCAL
LINKED
supabase/postgres
17.6.1.084
-
supabase/gotrue
v2.187.0
-
postgrest/postgrest
v16.1
-
supabase/realtime
v2.129.3
-
supabase/storage-api
v1.37.7
-
supabase/edge-runtime
v1.74.3
-
supabase/studio
2026.08.17-sha-0c1da8f
-
supabase/postgres-meta
v0.98.0
-
supabase/logflare
1.50.4
-
supabase/supavisor
2.9.7
-
docker version
Client:
Version: 29.7.2
API version: 1.55
Go version: go1.26.5-X:nodwarf5
Git commit: a7dcaa6fdb
Built: Thu Aug 6 16:23:26 2026
OS/Arch: linux/amd64
Context: default
Server:
Engine:
Version: 29.7.2
API version: 1.55 (minimum version 1.40)
Go version: go1.26.5-X:nodwarf5
Git commit: 6a43e3d5af
Built: Thu Aug 6 16:23:26 2026
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: v2.3.4
GitCommit: db8809540e1a7a9da5d518876894933ff55692ab.m
runc:
Version: 1.5.1
GitCommit:
docker-init:
Version: 0.19.0
GitCommit: de40ad0
Activity
fix(cli): honor `SUPABASE_API_*` overrides (CLI-2318) (supabase#6467)