-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Description
Erlang OTP 26 changes the default settings for SSL connections (ref), which currently causes an error here:
Line 166 in 06c96f6
ssl_options: [{:versions, [:"tlsv1.2"]}] |
The error shows up to users of this library as
(MatchError) no match of right hand side value: {:error, "Unable to connect to Algolia"}
. The internal error (from Hackney) is {:error, {:options, :incompatible, [verify: :verify_peer, cacerts: :undefined]}}
.
I can make a PR restoring the (insecure) OTP 25 defaults if interested, though I realize this repo is not active anymore. For others encountering the issue, consider staying on OTP 25 or switching to https://github.com/WTTJ/algoliax.
Metadata
Metadata
Assignees
Labels
No labels