hexpm / hex

Package manager for the Erlang ecosystem.
https://hex.pm
972 stars 185 forks source link

Hex.UpdateChecker timeout #910

Closed zmcNotafraid closed 3 years ago

zmcNotafraid commented 3 years ago

When I upgrade to 0.21.3, I got this error.When I downgrade to 0.21.2, everything is ok.

Hex:    0.21.3
Elixir: 1.12.2
OTP:    24.0.5

Built with: Elixir 1.12.3 and OTP 22.3
** (exit) exited in: GenServer.call(Hex.UpdateChecker, :check, 5000)
    ** (EXIT) time out
    (elixir 1.12.2) lib/gen_server.ex:1024: GenServer.call/3
    (hex 0.21.3) lib/hex/update_checker.ex:26: Hex.UpdateChecker.check/0
    (hex 0.21.3) lib/mix/tasks/hex.info.ex:67: Mix.Tasks.Hex.Info.general/0
    (mix 1.12.2) lib/mix/task.ex:394: anonymous fn/3 in Mix.Task.run_task/3
    (mix 1.12.2) lib/mix/cli.ex:84: Mix.CLI.run_task/2