© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4mo ago•
3 replies
Timmy

Cannot connect to database with psql or Supabase CLI

If i want to connect to the database with psql there is infinite loading for connection and if I want to do anything with Supabase CLI I get error like this:
failed to connect to postgres: failed to connect to `host=aws-0-us-east-1.pooler.supabase.com user=cli_login_postgres.zlcwodalyydqevfaqrji database=postgres`: failed to receive message (timeout: context deadline exceeded)
failed to connect to postgres: failed to connect to `host=aws-0-us-east-1.pooler.supabase.com user=cli_login_postgres.zlcwodalyydqevfaqrji database=postgres`: failed to receive message (timeout: context deadline exceeded)


The commands that I tried and are not working are
supabase migration
supabase migration
and
supabase db pull
supabase db pull
. It keeps loading and finishes with error pasted above. I tried relinking to the project, logging in to the CLI again and using different projects but nothing fixes this. It is weird because it works okay for my coleague.
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

Supabase cli ci/cd with github actions cannot connect
SupabaseSSupabase / help-and-questions
8mo ago
Unable to connect via Supabase CLI
SupabaseSSupabase / help-and-questions
3mo ago
Cannot connect supabase to vercel
SupabaseSSupabase / help-and-questions
6mo ago
90 day restore to a new project - cannot connect with psql
SupabaseSSupabase / help-and-questions
12mo ago