我正在尝试为我的长生不老的项目获取依赖项。我不知道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是什么意思?是我做错了什么,还是十六进制坏了?
发布于 2019-10-04 20:03:53
我遇到了同样的错误,对我来说,@legoscia的建议奏效了:用mix local.hex更新十六进制
发布于 2019-10-02 10:58:33
这看起来像是Hackney中的一个bug,它已经在master,Erlang 22.1上修复了,并且在Hex中显示了版本锁定问题……我会确保您的mix.exs文件具有所需的正确(最新的)依赖项版本(如LiveView),或者降级到Erlang22.1版本,直到您的依赖项更新。
这看起来是问题的根源:
https://stackoverflow.com/questions/58179213
复制相似问题