-
-
Notifications
You must be signed in to change notification settings - Fork 328
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
Assertion failed when fetching from gitweb: "Naive always finishes after the first round" #812
Comments
That's interesting! I have heard of this happening before, but now it seems the assumption of single-round negotiation is broken if the remote head changes while the negotiation is in progress? Or maybe it's really just any fetch that fails if the server acts a little differently than GitHub does. On another note, I love that the example Context
Thus it's very helpful to know that |
Re the options, I have http.sslVersion set to tls1.3 in ~/.gitconfig, which I need to override for hosts that only support 1.2. Gitoxide handles it well. Passing http.sslCAInfo is required for some reason, maybe there should be a cert store working out of the box? Though I don't mind the workaround. I'm on Linux and gitoxide is installed with default features. |
That In theory |
No, Git doesn't need |
Yes, a separate issue with additional context would be great, in particular, |
Maybe this will be fixed when #861 integrates support for consecutive negotiation into gix/src/remote/connection/fetch/negotiate.rs, at the moment the assert still triggers. |
Duplicates
Current behavior 😯
I'm using the gix command to fetch from many repositories, which is a welcome speed boost, but some of them consistently fail. They seem to be served by gitweb.
Expected behavior 🤔
gix fetch fetches
Steps to reproduce 🕹
gix
(released version or current git main).I get this assert:
The text was updated successfully, but these errors were encountered: