TLS errors from Recaptcha library on a new dev machine

I have a Phoenix project being developed on a desktop machine (Mac) and wanted to take it “on the go” so I installed supposedly all required packates on my laptop (GNU/Linux) but I am now getting errors from Recaptcha library

TLS client: In state certify at ssl_handshake.erl:377 generated CLIENT ALERT: Fatal - Internal Error\n {unexpected_error,undef}'}} of type Tuple[...]

I suspect this might be due to versions difference in Elixir or Erlang:

$ elixir --version
Erlang/OTP 22 [erts-10.6.4] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1]

Elixir 1.9.1 (compiled with Erlang/OTP 22)

Or maybe a missing package that wasn’t directly pulled as dependency?

Does any of that ring a bell? On the desktop the vesion is:

$ elixir --version
Erlang/OTP 24 [erts-12.0.3] [source] [64-bit] [smp:24:24] [ds:24:24:10] [async-threads:1] [jit] [dtrace]

Elixir 1.12.2 (compiled with Erlang/OTP 24)

These came from homebrew, while on the laptop they come from Ubuntu’s repositories of 20.04LTS.

While the versions from Ubuntu packages weren’t that old, indeed had to install newer versions of erlang and elixir from “erlang-solutions” repositories to get rid of the errors.