gpt4 book ai didi

elixir - mix deps.get 失败,{ :failed_connect, [{ :to_address, {'repo.hex.pm' , 443}}, { :inet, [ :inet], { :option, :server_only, :honor_cipher_order}}]}

转载 作者:行者123 更新时间:2023-12-02 22:02:58 24 4
gpt4 key购买 nike

我正在尝试获取我的 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 坏了?

最佳答案

我遇到了同样的错误,对我来说@legoscia的建议有效:使用mix local.hex更新Hex

关于elixir - mix deps.get 失败,{ :failed_connect, [{ :to_address, {'repo.hex.pm' , 443}}, { :inet, [ :inet], { :option, :server_only, :honor_cipher_order}}]},我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58179213/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com