-
Notifications
You must be signed in to change notification settings - Fork 103
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
Does HTTPotion Support SNI? #119
Comments
It should work I think… What Erlang version are you using? Are you using an HTTP proxy? Can you connect to that domain with raw ssl module? like |
I want to be able to specify ssl version. With HTTPoision this works.
|
Damn, Erlang ssl's behavior is so weird, why does it only automatically set SNI if you force TLS 1.2 o_0 You can probably do something like that: HTTPotion.get("https://example.com/", [ibrowse: [ssl_options: [{:versions, [:'tlsv1.2']}]]]) But it seems like you can also pass the hostname as the |
Done. SNI should work automatically on current master. |
Getting handshake failure when I try to use it against aws cloudfront which currently (if you pick the free version of certificate) only allows clients that supports SNI.
%HTTPotion.ErrorResponse{message: "{:tls_alert, 'handshake failure'}"}
The text was updated successfully, but these errors were encountered: