-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Closed

Description
I am using Elixir 1.4.2 and Erlang 19.3 and when trying to install hex I get:
mix local.hex --force
** (Mix) httpc request failed with: {:failed_connect, [{:to_address, {'repo.hex.pm', 443}}, {:inet, [:inet], :nxdomain}]}
Could not install Hex because Mix could not download metadata at https://repo.hex.pm/installs/hex-1.x.csv.
Or while trying to do deps.get
mix deps.get
Failed to fetch record for 'gettext' from registry (using cache)
{:failed_connect, [{:to_address, {'repo.hex.pm', 443}}, {:inet, [:inet], :nxdomain}]}
Failed to fetch record for 'phoenix_ecto' from registry (using cache)
{:failed_connect, [{:to_address, {'repo.hex.pm', 443}}, {:inet, [:inet], :nxdomain}]}
{:failed_connect, [{:to_address, {'repo.hex.pm', 443}}, {:inet, [:inet], :nxdomain}]}
{:failed_connect, [{:to_address, {'repo.hex.pm', 443}}, {:inet, [:inet], :nxdomain}]}
Failed to fetch record for 'phoenix_html' from registry (using cache)
Failed to fetch record for 'phoenix' from registry (using cache)
Failed to fetch record for 'cowboy' from registry (using cache)
** (Mix) No package with name phoenix (from: mix.exs) in registry
{:failed_connect, [{:to_address, {'repo.hex.pm', 443}}, {:inet, [:inet], :nxdomain}]}
I found issues #3956 and #5731 , but neither of those helped. When opening the URLs in my browser they do work.
OpenSSL is up to date and I tried mix local.hex HEX_UNSAFE_HTTPS=1
which produced the same results. I am totally new to Elixir so I don't know what else to try.
Through a vagrant box on the same machine everything works like it's supposed to.
Metadata
Metadata
Assignees
Labels
No labels