Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting an https site fails #598

Closed
ciniglio opened this issue Jan 26, 2018 · 5 comments
Closed

Getting an https site fails #598

ciniglio opened this issue Jan 26, 2018 · 5 comments
Labels

Comments

@ciniglio
Copy link

Trying to retrieve: https://taylorpearson.me/feed/

Fails with:
"SSL connection() error: error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error"

I've tried using both the tls opam package and the ssl opam package with openssl 1.0.2n and 1.1.0g

@ryanslade
Copy link

ryanslade commented Aug 13, 2018

I'm seeing the same issue using cohttp-async when hitting this url:
https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&symbol=MSFT&apikey=demo

@mseri
Copy link
Collaborator

mseri commented Oct 19, 2018

The alphavantage url works for me with the latest version, while the top one fails with Tls_lwt.Tls_alert Tls.Packet.HANDSHAKE_FAILURE. or Tls_lwt.Tls_alert(6), depending on the SSL implementation used

@mseri
Copy link
Collaborator

mseri commented Oct 20, 2018

Looking at the provided handshake, I think this is an instance of mirleft/ocaml-tls#362

@mseri mseri added the Bug label Oct 20, 2018
@drvink
Copy link

drvink commented Oct 27, 2018

This is likely due to widening deployment of TLS 1.3. I've fixed this for the OpenSSL bindings in savonet/ocaml-ssl#45. TLS 1.3 does not seem to be implemented in the native OCaml TLS implementation yet, according to this comment.

@hannesm
Copy link
Member

hannesm commented Jun 12, 2020

with the rise of tls 0.12.0 (and upcoming 0.12.1), establishing a connection to the above mentioned server works fine. feel free to re-open this issue in case you still have issues to connect to the server.

@hannesm hannesm closed this as completed Jun 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants