cli icon indicating copy to clipboard operation
cli copied to clipboard

timeout: context deadline exceeded

Open kartojal opened this issue 4 months ago • 2 comments

Describe the bug When trying to use the Supabase CLI for db operations like pull, push, or migrations, i am getting this random error 90% of the times:

failed to connect to postgres: failed to connect to `HOST=cli_login_postgres.PROJECT_REF`  failed to receive message timeout: context deadline exceeded

To Reproduce Steps to reproduce the behavior:

npx supabase link

npx supabase db pull

// or
npx supabase migration repair --status ...

Expected behavior

it should pull the db changes into local repository or repair the migration from remote

Screenshots If applicable, add screenshots to help explain your problem.

System information

  • Ticket ID: 22b86edf8b5745339fbfd7e439ef0935
  • Version of OS: ubuntu in docker container
  • Version of CLI: 2.40.7
  • Version of Docker: Docker version 28.3.3-1, build 980b85681696fbd95927fd8ded8f6d91bdca95b0
  • Versions of services: [output from supabase services command]

   SERVICE IMAGE          | LOCAL                  | LINKED     
  ------------------------|------------------------|------------
   supabase/postgres      | 15.8.1.054             | 15.8.1.054 
   supabase/gotrue        | v2.179.0               | v2.179.0   
   postgrest/postgrest    | v12.2.3                | v12.2.3    
   supabase/realtime      | v2.47.0                | -          
   supabase/storage-api   | v1.26.5                | -          
   supabase/edge-runtime  | v1.69.8                | -          
   supabase/studio        | 2025.09.08-sha-67c1421 | -          
   supabase/postgres-meta | v0.91.6                | -          
   supabase/logflare      | 1.18.4                 | -          
   supabase/supavisor     | 2.6.2                  | -     

Additional context If applicable, add any other context about the problem here.

  • Browser [e.g. chrome, safari]: non applicable
  • Version of supabase-js : non applicable
  • Version of Node.js: v22

kartojal avatar Sep 09 '25 10:09 kartojal

+1

renton4code avatar Oct 16 '25 09:10 renton4code

Intresting...

pkalsi97 avatar Dec 14 '25 22:12 pkalsi97