elixir-inspector / ref_inspector

Referer parser library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

handshake failure when fetching database files

hasitha opened this issue · comments

In version 0.13.0, after running mix ref_inspector.yaml.download, I get the error:

[error] SSL: :certify: tls_connection.erl:688:Fatal error: handshake failure - malformed_handshake_data

I think this error is related to :hackney itself: benoitc/hackney#362

However I was not able to reproduce this error even with the newest hackney release (1.6.3). That is probably related to my environment being completely different from what is described in aforementioned issue. According to comments there it should help to downgrade to version 1.6.1 in mix.exs.

Could you try that?

Sorry about the late reply.

With 1.6.3, I'm still running into the issue, but with 1.6.1 I'm not.

Have not been able to reproduce that with multiple Erlang/Elixir combinations. At least not on non-MacOS-systems. But if downgrading hackney "fixes" your problem that seems to be the way to go for now.

Perhaps there is some configuration value one can pass to hackney using :http_opts but that is pure speculation at this point.

We could leave this issue open as some sort of reminder until a new hackney version is released.

Hackney has released a new version (1.6.5) last week. Could you give that one a shot and see if your problem is solved?

I am closing this as it seems to be properly solved with the last hackney release.