© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3w ago•
2 replies
albertrf147

Failed to connect to postgres

🔢DB ConnectionsCLI
I have been trying for an hour to connect to the remote db via CLI, but I am getting a weird error that suggests something is wrong in the Supabase infra. What do you think?

npx supabase link --project-ref vfgrxxxxxgbzimdhudc
Enter your database password (or leave blank to skip):
Connecting to remote database...
failed to connect to postgres: failed to connect to `host=aws-0-eu-west-1.pooler.supabase.com user=postgres.vfgrzmjzbjgbzimdhudc database=postgres`: failed to receive message (unexpected EOF)
Try rerunning the command with --debug to troubleshoot the error.
npx supabase link --project-ref vfgrxxxxxgbzimdhudc
Enter your database password (or leave blank to skip):
Connecting to remote database...
failed to connect to postgres: failed to connect to `host=aws-0-eu-west-1.pooler.supabase.com user=postgres.vfgrzmjzbjgbzimdhudc database=postgres`: failed to receive message (unexpected EOF)
Try rerunning the command with --debug to troubleshoot the error.
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

"failed to connect to postgres: failed to connect to" using supabase cli
SupabaseSSupabase / help-and-questions
5mo ago
CLI - supabase link - "failed to connect to postgres" error
SupabaseSSupabase / help-and-questions
2y ago
realtime websocket failed to connect
SupabaseSSupabase / help-and-questions
4y ago
How to get around failed to connect to postgres rate limit (cursor/supabase combo)
SupabaseSSupabase / help-and-questions
3mo ago