Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

(UndefinedFunctionError) function :ssl.cipher_suites/1 is undefined or private

Tags:

ssl

erlang

elixir

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?

like image 937
Tom Hale Avatar asked Jul 10 '26 13:07

Tom Hale


1 Answers

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

like image 179
Tom Hale Avatar answered Jul 13 '26 17:07

Tom Hale



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!