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

SSL: Method error with 0.5.6 #40

Closed
mattjbray opened this issue Sep 14, 2018 · 3 comments
Closed

SSL: Method error with 0.5.6 #40

mattjbray opened this issue Sep 14, 2018 · 3 comments

Comments

@mattjbray
Copy link

Could be related to the switch to dune?

Minimal repro:

FROM ocaml/opam2:alpine-3.7-ocaml-4.06

RUN opam repo set-url default https://opam.ocaml.org && opam update
RUN sudo apk add --no-cache m4 pkgconf libressl-dev
RUN opam install ssl=0.5.6 cohttp-lwt-unix lwt_ssl
$ docker build . -t ssl-repro
...
$ docker run -it --rm ssl-repro cohttp-curl-lwt https://reddit.com
cohttp-curl: internal error, uncaught exception:
             SSL: Method error

Also reproducible on my OSX machine.

@rgrinberg
Copy link
Contributor

Thanks for the bug report. I can reproduce this as well. Debugging.

@rgrinberg
Copy link
Contributor

Okay, I see what's the issue. The old code relied on a few defines being available that were discovered via autoconf. Will fix.

rgrinberg added a commit to rgrinberg/ocaml-ssl that referenced this issue Sep 15, 2018
lindig added a commit to xapi-project/xs-opam that referenced this issue Sep 21, 2018
Version 0.5.6 has an issue that needs to be resolved:

savonet/ocaml-ssl#40

Signed-off-by: Christian Lindig <[email protected]>
@rjbou
Copy link

rjbou commented Oct 8, 2018

I had the same error SSL: Method error while using opam publish. ftm, I'll freeze ssl to 0.5.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants