I'm seeing this warning:
(UndefinedFunctionError) function :ssl.cipher_suites/0 is undefined or private
My application is crashing with this warning.
I recently upgraded Elixir and Erlang using asdf. How do I start my application now?
This Erlang page says:
Functions Deprecated in OTP 21
- ssl:cipher_suites/0 (use cipher_suites/2,3 instead)
- ssl:cipher_suites/1 (use cipher_suites/2,3 instead)
At the time of writing, the
I got it to work by changing the function call to:
:ssl.cipher_suites(:all, :"tlsv1.3")
Reference: Erlang manual for cipher_suites/23
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With