5

After upgrading to Elixir 1.10.3, a call to HTTPoison.request!() raised a HTTPoison.Error with id: nil and a reason of {:options, {:sslv3, {:versions, [:"tlsv1.2", :"tlsv1.1", :tlsv1, :sslv3]}}}. What could cause this? All examples I've seen online assume the reason is an atom.

bigblind
  • 12,539
  • 14
  • 68
  • 123
  • I believe this is the same error discussed in the Elixir forum @ https://elixirforum.com/t/erlang-v-23-0-and-httpoison-error/31615 and in the HTTPoison issue tracker @ https://github.com/benoitc/hackney/issues/633 It would be helpful to include your version of Erlang and HTTPoison – Everett Jun 03 '20 at 01:57

1 Answers1

8

sslv3 was removed from Erlang 23.0 because it is an old and insecure protocol. You need to upgrade hackney to 1.16.0 or higher so that you can get this PR that fixes that issue:

https://github.com/benoitc/hackney/pull/619

Jason Axelson
  • 4,485
  • 4
  • 48
  • 56