gert
gert copied to clipboard
clone sometimes randomly hangs on macos
On MacOS, running this a few times will eventually randomly hang at the last "object":
> gert::git_clone("https://github.com/hadley/tidytext.git", tempfile())
Transferred 9311 of 9312 objects...
Sometimes we see: Error in libgit2::git_clone : SecureTransport error: (null)
which suggests a problem in the MacOS TLS.
Doesn't happen on Linux afaict.
cc @hadley
But gert::git_clone("[email protected]:hadley/tidytext.git", tempfile())
seems to work (at least I tried it five times and they all succeeded)
I tried this at @hadley's request. The first attempt just works and the second remains hung as I type this.
> gert::git_clone("https://github.com/hadley/tidytext.git", tempfile())
Transferred 9312 of 9312 objects...done!
Checked out 143 of 143 commits... done!
> gert::git_clone("https://github.com/hadley/tidytext.git", tempfile())
Transferred 9311 of 9312 objects...
Update! It failed.
Transferred 9311 of 9312 objects...Error in libgit2::git_clone :
SecureTransport error: connection closed via error
@jennybc thanks, which version and architecture of macos do you run?
I swear I'm going to update my OS soon :see_no_evil:
System Version: macOS 11.7 (20G817)
Kernel Version: Darwin 20.6.0
~/rrr/httr2 % uname -m
x86_64
I have created a reproducible example in C (without R) and reported it upstream ☝️
Thanks!!