Uploaded image for project: 'Erlang/OTP'
  1. Erlang/OTP
  2. ERL-1237

decrypt_error against hex.pm

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 23.0-RC2, 23.0-RC1
    • Fix Version/s: OTP 23
    • Component/s: ssl
    • Labels:

      Description

      On 23.0-rc3, trying to install Erlang / Elixir packages from hex.pm fails with a TLS client error.

       

      Minimal reproduction from the mailing list (note the error message was different back on 23.0-rc1 - it used to say handshake failure):

      Erlang/OTP 23 [erts-11.0] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [hipe]
      
      Eshell V11.0  (abort with ^G)
      1> application:ensure_all_started(inets).
      {ok,[inets]}
      2> application:ensure_all_started(ssl).
      {ok,[crypto,asn1,public_key,ssl]}
      3> httpc:request(get, {"https://repo.hex.pm/",[]}, [], [{body_format, binary}]).
      =NOTICE REPORT==== 28-Apr-2020::23:56:11.591285 ===
      TLS client: In state certify at ssl_connection.erl:1052 generated CLIENT ALERT: Fatal - Decrypt Error{error,{failed_connect,[{to_address,{"repo.hex.pm",443}},
                              {inet,[inet],
                                    {tls_alert,{decrypt_error,"TLS client: In state certify at ssl_connection.erl:1052 generated CLIENT ALERT: Fatal - Decrypt Error\n"}}}]}}
      

        Attachments

          Activity

            People

            Assignee:
            otp_team_ps Team PS
            Reporter:
            dmorneau Dominic Morneau
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: