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

[rebar3_efmt] Explicitly specify {ssl, [{verify, verify_none}]} option #86

Merged
merged 1 commit into from
Mar 27, 2023

Conversation

sile
Copy link
Owner

@sile sile commented Mar 27, 2023

Erlang OTP 26-rc2 has changed the default value of verify option (see the release note), and rebar3_efmt plugin installation gets failed due to the following error if OTP 26-rc2 is used:

===> No `efmt` binary found. Trying installing a pre-built binary.
===> Pre-built binary URL: "https://github.com/sile/efmt/releases/download/0.14.0/efmt-0.14.0.aarch64-apple-darwin"
===> Failed to install a pre-built binary ({http_get_failed,
                                                       {failed_connect,
                                                        [{to_address,
                                                          {"github.com",443}},
                                                         {inet,
                                                          [inet],
                                                          {options,
                                                           {verify,
                                                            {missing_dep_cacertfile_or_cacerts}}}}]}}).

This PR fixes this issue by explicitly specifying {ssl, [{verify, verify_none}]} option to httpc:request().

@sile sile merged commit 78d26ab into master Mar 27, 2023
@sile sile deleted the verify-none branch March 27, 2023 07:43
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

Successfully merging this pull request may close these issues.

1 participant