ateliware / triplex

Database multitenancy for Elixir applications!
MIT License
475 stars 49 forks source link

Triplex.create fails with extremely cryptic error message using OTP 24.2 #88

Open thiagomajesk opened 2 years ago

thiagomajesk commented 2 years ago

Today I encountered a very cryptic error message trying to run the seeds from a project. We don't have much insight from the stack trace besides knowing it was raised by Triplex.create/1.

** (MatchError) no match of right hand side value {:error, "Erlang error: :notsup"}

Since I couldn't find anything specific on the internet, I documented the problem here: https://github.com/erlang/otp/issues/4577#issuecomment-1143760182. It seems it has to do with the OpenSSL version 3 support and it was solved by upgrading the OPT version.

I'd like to see if it would be possible to provide a little bit more information on the stack trace on the Triplex side. Since the VM just crashes without giving more information on why or what dependency caused it.