Skip to content

mix phx.gen.release --docker times out trying to fetch image name #6424

@aymanosman

Description

@aymanosman

Environment

  • Elixir version (elixir -v): 1.18.4
  • Phoenix version (mix deps): 1.8.0
  • Operating system: macos

Actual behavior

The command fails with this error

09:56:26.726 [debug] Fetching latest image information from https://hub.docker.com/v2/namespaces/hexpm/repositories/elixir/tags?name=1.18.4-erlang-27.3.4-debian-bookworm-
** (RuntimeError) couldn't fetch https://hub.docker.com/v2/namespaces/hexpm/repositories/elixir/tags?name=1.18.4-erlang-27.3.4-debian-bookworm-: {:ok, {{~c"HTTP/1.1", 504, ~c"Gateway Time-out"}, [{~c"cache-control", ~c"no-cache"}, {~c"connection", ~c"keep-alive"}, {~c"date", ~c"Mon, 18 Aug 2025 08:56:57 GMT"}, {~c"content-length", ~c"93"}, {~c"content-type", ~c"text/html"}], "<html><body><h1>504 Gateway Time-out</h1>\nThe server didn't respond in time.\n</body></html>\n\n"}}

I found that if I drop the debian-bookworm from the query param, then the HTTP request works

So https://hub.docker.com/v2/namespaces/hexpm/repositories/elixir/tags?name=1.18.4-erlang-27.3.4- works, but adding anything to the end causes a timeout.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions