Apparently, Hackney adds default values for secure_renegotiate and reuse_sessions parameters (https://github.com/benoitc/hackney/blob/f190daf67cfefc4f1950011759624f8f87260597/src/hackney_ssl.erl#L139-L141) while connecting via ssl. However Erlang's ssl code fails if these parameters are mentioned regardless of their values. As Hackney user you can override the value of these parameters, however it is impossible to override passing them to Erlang's ssl library.
I am using Erlang/OTP 26.2, Hackney version 1.20.1 (commit f190daf67cfefc4f1950011759624f8f87260597). My additional parameters passed to hackney:post are:
While trying to connect to web server using TLS v1.3 using Hackney, I get following errors:
Apparently, Hackney adds default values for
secure_renegotiate
andreuse_sessions
parameters (https://github.com/benoitc/hackney/blob/f190daf67cfefc4f1950011759624f8f87260597/src/hackney_ssl.erl#L139-L141) while connecting via ssl. However Erlang's ssl code fails if these parameters are mentioned regardless of their values. As Hackney user you can override the value of these parameters, however it is impossible to override passing them to Erlang's ssl library.I am using Erlang/OTP 26.2, Hackney version 1.20.1 (commit
f190daf67cfefc4f1950011759624f8f87260597
). My additional parameters passed tohackney:post
are:Is there a way to avoid passing these parameters to
ssl:connect
?