Closed Chris00 closed 9 years ago
Thanks for the report. The Ssl.error
looks suspicious, maybe using ocaml-tls
could help:
Conduit_lwt_unix.tls_library := `Native
I'll have a proper look at it this week-end.
Adding
let () =
Conduit_lwt_unix.(tls_library := Native)
I get errors like
...
Fail pull https://github.com/mirage/mirage-xen-minios.git: End_of_file
Fail pull https://github.com/magnuss/mirage-bootvar.git: End_of_file
Fail pull https://github.com/mirage/mirage-www.git: Unix.Unix_error(Unix.EPIPE, "write", "")
This is an issue with the smart-HTTP protocol only. A workaround (before I do a proper fix in ocaml-git
) is to use the normal git protocol: git://github.com/mirage/mirage-xen-minios.git
, etc...
Changing the schemes to git://...
, I get errors like:
Fail pull git://github.com/mirage/ocaml-xenstore.git: Failure("resolution failed: name resolution failed")
Needless to say, the URIs work fine using Git. May it be because of too much parallelism?? If I use a smaller list (say of 30 elements — but not 40 for me), such errors do not occur.
May it be because of too much parallelism
Yes, that's possible that conduit doesn't like too much parallelism while resolving names...
I've got a testcase for this (parallel resolution) that I'll commit shortly.
This is fixed by ocaml-git 1.7.1.
Cool! Thanks!
When running the code (supposed to be in
test.ml
)for the first time, it finishes without errors. Re-running it generates many errors.