Skip to content

TLS error on OTP23 and Elixir 1.11 #7

@frahugo

Description

@frahugo

Erlang version: 23.3.1
Elixir version: 1.11.4-otp-23

For those getting an OpenSSL error like the following:

[info] GET /feeds/ecto
[debug] Processing with DocsetApi.FeedController.show/2
  Parameters: %{"package_name" => "ecto"}
  Pipelines: [:api]
[info] TLS :client: In state :wait_cert_cr at ssl_handshake.erl:1895 generated CLIENT ALERT: Fatal - Unknown CA

{:tls_alert,
 {:unknown_ca,
  'TLS client: In state wait_cert_cr at ssl_handshake.erl:1895 generated CLIENT ALERT: Fatal - Unknown CA\n'}}
[warn] Could not download and build docset for ecto
%ArgumentError{message: "argument error"}
[info] Sent 500 in 227ms

Update all the mix packages and it should fix the error:

mix deps.update --all
mix phx.server

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions