Hi
I’m getting the an error when trying to make an https GET request to the following URL using Cohttp_async. I’ve tried with both the ssl
and tls
packages.
URL: https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&symbol=MSFT&apikey=demo
Error:
(((pid 11196) (thread_id 0)) "2018-08-10 19:43:02.209899198Z"
"unhandled exception in Async scheduler"
("unhandled exception"
((monitor.ml.Error
(Ssl_error
("error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error")
src/ssl.ml:151:4)
("Raised at file \"src/import0.ml\" (inlined), line 237, characters 22-32"
"Called from file \"src/error.ml\" (inlined), line 9, characters 14-30"
"Called from file \"src/error.ml\" (inlined), line 5, characters 2-50"
"Called from file \"src/ssl.ml\", line 151, characters 4-74"
"Called from file \"src/deferred0.ml\", line 61, characters 64-69"
"Called from file \"src/job_queue.ml\", line 159, characters 6-47"
"Caught by monitor ssl_pipe"))
((pid 11196) (thread_id 0)))))
Making the same request using curl or from Go works without issues.