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

Get HTTPoison.Error{reason: {:options, :dependency}} when send request with settings for tlsv1.3 #483

Open
ziminyuri opened this issue Nov 15, 2023 · 0 comments

Comments

@ziminyuri
Copy link

Elixir version 1.13.4
OTP 25
├── httpoison ~> 2.2 (Hex package) │ └── hackney ~> 1.17 (Hex package)
When I send request:
HTTPoison.get("https://site.com", [], [ ssl: [ versions: [:"tlsv1.3"], cacertfile: "/etc/ssl/certs/ca-certificates.crt", verify: :verify_peer ]] )

get this error:
{:error, %HTTPoison.Error{ id: nil, reason: {:options, :dependency, {:secure_renegotiate, {:versions, [:tlsv1, :"tlsv1.1", :"tlsv1.2"]}}} }}

What can I do to solve the problem?

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