4

我正在尝试为我的 elixir 项目获取依赖项。我无法判断 Hex 是否已关闭(我今天早上能够很好地获取)。当我跑

$ mix deps.get

我看到这个:

    Failed to fetch record for 'hexpm/phoenix_live_reload' from registry (using cache)
{:failed_connect, [{:to_address, {'repo.hex.pm', 443}}, {:inet, [:inet], {:option, :server_only, :honor_cipher_order}}]}
    Failed to fetch record for 'hexpm/phoenix_ecto' from registry (using cache)
{:failed_connect, [{:to_address, {'repo.hex.pm', 443}}, {:inet, [:inet], {:option, :server_only, :honor_cipher_order}}]}
    Failed to fetch record for 'hexpm/phoenix' from registry (using cache)
{:failed_connect, [{:to_address, {'repo.hex.pm', 443}}, {:inet, [:inet], {:option, :server_only, :honor_cipher_order}}]}
    Failed to fetch record for 'hexpm/phoenix_pubsub' from registry (using cache)
{:failed_connect, [{:to_address, {'repo.hex.pm', 443}}, {:inet, [:inet], {:option, :server_only, :honor_cipher_order}}]}
    Failed to fetch record for 'hexpm/postgrex' from registry (using cache)
{:failed_connect, [{:to_address, {'repo.hex.pm', 443}}, {:inet, [:inet], {:option, :server_only, :honor_cipher_order}}]}
    Failed to fetch record for 'hexpm/ex_machina' from registry (using cache)
{:failed_connect, [{:to_address, {'repo.hex.pm', 443}}, {:inet, [:inet], {:option, :server_only, :honor_cipher_order}}]}
    Failed to fetch record for 'hexpm/jason' from registry (using cache)
{:failed_connect, [{:to_address, {'repo.hex.pm', 443}}, {:inet, [:inet], {:option, :server_only, :honor_cipher_order}}]}

对于每个依赖项,依此类推。是什么:no_honor_cipher意思?我做错了什么还是Hex down?

4

2 回答 2

12

我遇到了同样的错误,对我来说,@legoscia 的建议奏效了:update Hex withmix local.hex

于 2019-10-04T12:03:52.620 回答
1

这看起来像是 Hackney 中的一个错误,已在 master、Erlang 22.1 中修复,并且在 Hex 中出现版本固定问题...我会确保您的mix.exs文件具有正确(最新)版本的依赖项需要(如 LiveView)或降级到 Erlang 版本而不是 22.1,直到您的依赖项更新。

这似乎是问题的根源:

https://github.com/benoitc/hackney/issues/591

于 2019-10-02T02:58:32.603 回答