Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supabase CLI 1.163.2: Docker Image Pull Failure Due to Timeout on 'supabase start' Command #2210

Open
flocosnier opened this issue Apr 25, 2024 · 3 comments

Comments

@flocosnier
Copy link

Describe the bug
I've upgraded supabase-cli to 1.163.2 and I can no longer use supabase start.

Running supabase start --debug now ends with :

failed to pull docker image: Error response from daemon: Get "https://public.ecr.aws/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
or
failed to pull docker image: Error response from daemon: Get "https://public.ecr.aws/v2/": context deadline exceeded

To Reproduce
Steps to reproduce the behavior:

  1. Update to Supabase CLI 1.163.2
  2. Run "supabase start"
  3. See error

Expected behavior
A clear and concise description of what you expected to happen.

System information

  • Ticket ID: 6612aed1cba94883ad785d6526de3b9e
  • Version of OS: Windows 11 (23H2)
  • Version of CLI: v1.163.2
  • Version of Docker: v25.0.3
  • Versions of services:
    supabase/postgres │ 15.1.1.41 │ 15.1.1.41
    supabase/gotrue │ v2.148.0 │ v2.148.0
    postgrest/postgrest │ v12.0.2 │ v12.0.2
    supabase/realtime │ v2.28.23 │ -
    supabase/storage-api │ v1.0.10 │ v1.0.10
    supabase/edge-runtime │ v1.45.2 │ -
    supabase/studio │ 20240422-5cf8f30 │ -
    supabase/postgres-meta │ v0.80.0 │ -
    supabase/logflare │ 1.4.0 │ -
    bitnami/pgbouncer │ 1.20.1-debian-11-r39 │ -
    darthsim/imgproxy │ v3.8.0 │ -
@sweatybridge
Copy link
Contributor

Could you try SUPABASE_INTERNAL_IMAGE_REGISTRY=docker.io supabase start?

It might be a temporary issue with aws.

@rusakovic
Copy link

DEBUG FileFetcher::fetch_cached - specifier: https://deno.land/x/jose@v4.13.1/runtime/subtle_rsaes.ts
DEBUG Snapshot already up to date. Skipping pending resolution.
DEBUG Opening cache /root/.cache/deno/node_analysis_cache_v1...
DEBUG edge-runtime is listening on 0.0.0.0:8081
Functions config: {}
Serving functions on http://127.0.0.1:54321/functions/v1/<function-name>
Using supabase-edge-runtime-1.45.2 (compatible with Deno v1.40.3)
Pruned containers: [45...6]
Pruned network: [supabase_network_project-supabase]
service not healthy: [supabase_rest_project-supabase supabase_edge_runtime_project-supabase]

but works without any issues - all containers are healthy - with supabase --debug start --ignore-health-check

The logs I still see

Using supabase-edge-runtime-1.45.2 (compatible with Deno v1.40.3)
service not healthy: [supabase_rest_project-supabase supabase_edge_runtime_project-supabase]

but in Docker Desktop all containers are running.

@sweatybridge
Copy link
Contributor

@rusakovic sorry are you asking why the rest and edge_runtime containers are reported as unhealthy locally? If so, could you open a separate issue because that's unrelated to this ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants