Bug Report: Incorrect Connection String Format in Dashboard UI #39609
Juan-Cruz-Mezzopeva
started this conversation in
Contribute to Supabase
Replies: 1 comment
|
Not sure what your issue is. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Bug Report: Incorrect Connection String Format in Dashboard UI
Description
The Supabase Dashboard shows an outdated/non-functional connection string format in the "Connection String" tab under Settings → Database → Connection String → Direct connection. The hostname format shown (
db.[project-ref].supabase.co) does not resolve via DNS and causes connection failures.Steps to Reproduce
Expected Behavior
The connection string should use the modern pooler format:
Example (expected):
Actual Behavior
The UI displays an outdated hostname format that doesn't resolve:
Problems with this format:
Invalid hostname:
db.obzjfpufkztopkslfyyu.supabase.codoesn't resolve via DNSIncomplete username: Shows
postgresinstead ofpostgres.[project-ref]Missing pooler reference: Doesn't include the AWS pooler hostname
Error Message When Using Incorrect URL
When attempting to connect using the provided connection string:
Workaround
The correct connection string can be obtained by:
Impact
Environment
sa-east-1obzjfpufkztopkslfyyuScreenshots
Incorrect format shown in UI:
UI shows:
Parameters breakdown showing incorrect host:
When clicking "View parameters", the expanded view shows:
host: db.obzjfpufkztopkslfyyu.supabase.co(non-existent)user: postgres(should bepostgres.obzjfpufkztopkslfyyu)Suggested Fix
Update the "Direct connection" display in Settings → Database → Connection String to show the correct pooler-based format:
Before (current - broken):
After (proposed - working):
Additional Context
aws-[X]-[region].pooler.supabase.comformatdb.[project-ref].supabase.coformat seems to be deprecated but still displayedRelated Issues
This may be related to the infrastructure migration from the old
db.*.supabase.coformat to the new AWS pooler-based format.Test Case to Validate Fix
Priority
High - This affects every new user trying to connect to their Supabase PostgreSQL database from external applications.
**Thank you for your attention to this issue. Happy to provide additional information or testing if needed.
All reactions