cli
cli copied to clipboard
timeout: context deadline exceeded
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 servicescommand]
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
+1
Intresting...