dalerka
Keep getting the error: function :ssl.cipher_suites/1 is undefined or private
Environment:
MX-Linux 19
Debian GNU/Linux 10 (buster)
Elixir 1.12.0 (compiled with Erlang/OTP 24)
Problem:
Recently upgraded to the latest Elixir and tried to upgrade to the latest version of Phoenix generator with:
mix archive.install hex phx_new 1.5.9
and I keep getting these errors (full log):
18:30:11.084 [error] Task #PID<0.161.0> started from Hex.UpdateChecker terminating
** (UndefinedFunctionError) function :ssl.cipher_suites/1 is undefined or private
(ssl 10.4) :ssl.cipher_suites(:openssl)
(hex 0.20.6) lib/hex/http/ssl.ex:124: Hex.HTTP.SSL.filter_ciphers/1
(hex 0.20.6) lib/hex/http/ssl.ex:66: Hex.HTTP.SSL.ssl_opts/1
(hex 0.20.6) lib/hex/http.ex:41: Hex.HTTP.build_http_opts/2
(hex 0.20.6) lib/hex/http.ex:16: Hex.HTTP.request/5
(hex 0.20.6) lib/hex/update_checker.ex:31: anonymous fn/0 in Hex.UpdateChecker.handle_cast/2
(elixir 1.12.0) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2
(elixir 1.12.0) lib/task/supervised.ex:35: Task.Supervised.reply/5
Function: #Function<0.54093280/0 in Hex.UpdateChecker.handle_cast/2>
Args: []
18:30:11.084 [error] Task #PID<0.162.0> started from :hex_fetcher terminating
** (UndefinedFunctionError) function :ssl.cipher_suites/1 is undefined or private
(ssl 10.4) :ssl.cipher_suites(:openssl)
(hex 0.20.6) lib/hex/http/ssl.ex:124: Hex.HTTP.SSL.filter_ciphers/1
(hex 0.20.6) lib/hex/http/ssl.ex:66: Hex.HTTP.SSL.ssl_opts/1
(hex 0.20.6) lib/hex/http.ex:41: Hex.HTTP.build_http_opts/2
(hex 0.20.6) lib/hex/http.ex:16: Hex.HTTP.request/5
(hex 0.20.6) lib/hex/registry/server.ex:306: anonymous fn/3 in Hex.Registry.Server.prefetch_online/2
(elixir 1.12.0) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2
(elixir 1.12.0) lib/task/supervised.ex:35: Task.Supervised.reply/5
Function: #Function<17.79564921/0 in Hex.Registry.Server.prefetch_online/2>
Args: []
** (exit) exited in: GenServer.call(Hex.Registry.Server, {:versions, "hexpm", "phx_new"}, 60000)
** (EXIT) time out
(elixir 1.12.0) lib/gen_server.ex:1024: GenServer.call/3
(hex 0.20.6) lib/hex/remote_converger.ex:182: Hex.RemoteConverger.verify_package_req/4
(elixir 1.12.0) lib/enum.ex:930: Enum."-each/2-lists^foreach/1-0-"/2
(hex 0.20.6) lib/hex/remote_converger.ex:172: Hex.RemoteConverger.verify_input/2
(hex 0.20.6) lib/hex/remote_converger.ex:42: Hex.RemoteConverger.converge/2
(mix 1.12.0) lib/mix/dep/converger.ex:95: Mix.Dep.Converger.all/4
(mix 1.12.0) lib/mix/dep/converger.ex:51: Mix.Dep.Converger.converge/4
(mix 1.12.0) lib/mix/dep/fetcher.ex:16: Mix.Dep.Fetcher.all/3
Same error happens when trying to mix deps.update --all inside a Phoenix project.
How can I debug/fix this issue?
Trending in Questions
Hello!
Suppose you are building workflow (order / task / payment) processing system with the following requirements:
Each workflow con...
New
I’m in search of an Elixir library that offers PDF generation capabilities similar to Ruby’s Prawn. While there have been discussions abo...
New
I’m looking to build a personal workflow to quickly deploy web applications written in elixir/phoenix, for local consumption (ie not on t...
New
Using Phoenix.LiveView.TagEngine as an EEx.Engine is deprecated!
To compile HEEx, use Phoenix.LiveView.TagEngine.compile/2 instead.
Sta...
New
Before I dive in myself, did anyone successfully sprinkle Hologram into their existing LiveView app?
Looking for hints regarding:
Addi...
New
Hi all, I wanted to ask how the community is dealing with post-release steps.
Today we have Ecto migrations, which make sure that the db...
New
I am using Oban and occasionally, shortly after a deployment, a handful of jobs can fail because of dependency on other parts of the syst...
New
Other Trending Topics
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve.
They are GUI (Emerge) and State management (S...
New
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
I just stumbled on a newly redesigned elixir-lang.org. :tada: It looks like @Software_Mansion did the work, and I think it is generally a...
New
@hugobarauna and I (Alex Koutmos) have been hard at work on writing a book on Nerves that takes you from simply blinking LEDs to building...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #elixirconf-us
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #hex
- #performance











First 5 of 5 Posts
dalerka
Sorry for buzz. This issue is solved by running:
mix local.hexJust leaving here for posterity.
DevWasi
i was getting this when i was running the
mix deps.get.The error occurred when i installed openSSL after installing TOR.
dbytecoderc
Thank you! saved me a lot of time
TomHale
The /0 and /1 versions were deprecated in OTP 21. Work-around here:
n1ghtc4t
thx!! save me too.