Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL peer verification error for slim and alpine #77

Open
waghanza opened this issue May 28, 2023 · 0 comments
Open

SSL peer verification error for slim and alpine #77

waghanza opened this issue May 28, 2023 · 0 comments

Comments

@waghanza
Copy link

Hello,

With slim and alpine variants, I can not install rebar (mix local.rebar --force)

I have

warning: failed to load system certificates. SSL peer verification will be skipped but downloads are still verified with a checksum

09:57:43.837 [error] Task #PID<0.109.0> started from #PID<0.99.0> terminating
** (MatchError) no match of right hand side value: {:error, :enoent}
    (public_key 1.14) pubkey_os_cacerts.erl:38: :pubkey_os_cacerts.get/0
    (inets 9.0) httpc.erl:476: :httpc.ssl_verify_host_options/1
    (inets 9.0) httpc.erl:1012: :httpc.http_options_default/0
    (inets 9.0) httpc.erl:927: :httpc.http_options/1
    (inets 9.0) httpc.erl:771: :httpc.handle_request/9
    (mix 1.15.0-rc.0) lib/mix/utils.ex:702: Mix.Utils.read_httpc/1
    (mix 1.15.0-rc.0) lib/mix/utils.ex:589: anonymous fn/2 in Mix.Utils.read_path/2
    (elixir 1.15.0-rc.0) lib/task/supervised.ex:89: Task.Supervised.invoke_mfa/2
Function: #Function<5.80278363/0 in Mix.Utils.read_path/2>
    Args: []
** (EXIT from #PID<0.99.0>) an exception was raised:
    ** (MatchError) no match of right hand side value: {:error, :enoent}
        (public_key 1.14) pubkey_os_cacerts.erl:38: :pubkey_os_cacerts.get/0
        (inets 9.0) httpc.erl:476: :httpc.ssl_verify_host_options/1
        (inets 9.0) httpc.erl:1012: :httpc.http_options_default/0
        (inets 9.0) httpc.erl:927: :httpc.http_options/1
        (inets 9.0) httpc.erl:771: :httpc.handle_request/9
        (mix 1.15.0-rc.0) lib/mix/utils.ex:702: Mix.Utils.read_httpc/1
        (mix 1.15.0-rc.0) lib/mix/utils.ex:589: anonymous fn/2 in Mix.Utils.read_path/2
        (elixir 1.15.0-rc.0) lib/task/supervised.ex:89: Task.Supervised.invoke_mfa/2

I've detected that on the-benchmarker/web-frameworks#6389. Using default image solve the issue.

Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant