SupabaseS
Supabase3mo ago
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)


The commands that I tried and are not working are supabase migration and 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.
Was this page helpful?