首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >mix deps.get失败,{:failed_connect,[{:to_address,{‘repo.he.443’,443},{:inet,[:inet],{:option,:server_only,:honor_cipher_order}}]}

mix deps.get失败,{:failed_connect,[{:to_address,{‘repo.he.443’,443},{:inet,[:inet],{:option,:server_only,:honor_cipher_order}}]}
EN

Stack Overflow用户
提问于 2019-10-01 14:33:56
回答 2查看 1.3K关注 0票数 4

我正在尝试为我的长生不老的项目获取依赖项。我不知道Hex是不是坏了(我今天早上还能拿到)。当我跑的时候

代码语言:javascript
复制
$ mix deps.get

我看到了这个:

代码语言:javascript
复制
    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是什么意思?是我做错了什么,还是十六进制坏了?

EN

回答 2

Stack Overflow用户

发布于 2019-10-04 20:03:53

我遇到了同样的错误,对我来说,@legoscia的建议奏效了:用mix local.hex更新十六进制

票数 12
EN

Stack Overflow用户

发布于 2019-10-02 10:58:33

这看起来像是Hackney中的一个bug,它已经在master,Erlang 22.1上修复了,并且在Hex中显示了版本锁定问题……我会确保您的mix.exs文件具有所需的正确(最新的)依赖项版本(如LiveView),或者降级到Erlang22.1版本,直到您的依赖项更新。

这看起来是问题的根源:

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

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/58179213

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档