-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
git-for-windows git daemon server makes client early EOF error #139
Comments
I guess this is the very same issue as msysgit#70 tries to address. I have to guess because the report is unfortunately nowhere near the Minimal, Complete and Verifiable Examples for which I always ask. @linquize please provide such an MCVE. |
Yes, exactly the same as msysgit#70, because I could not search that issue by keyword. |
Okay, now that we established that you have the same problem as reported elsewhere, but also that the discussion there was not able to tell me what is wrong, and therefore was not able to convince me that the fix was correct (or for that matter, minimally intrusive), how about stepping up the game a little bit. You need a fix, and I can help you come up with one. Step 1: reduce your workflow to a Minimal, Complete and Verifiable Example. This is essential. Without this, we cannot hope to investigate this problem efficiently because I, for one, have not been able to reproduce it. And if I cannot reproduce it, I cannot verify any fix, either. Step 2: from that minimal example, figure out the culprit. This is essentially a tedious, but necessary process to test hypotheses where the state or the flow is different from the expected one. Step 3: come up with a fix. This is where I can help because I know the code base as well as Git for Windows' architecture pretty well. Step 4: incorporate, test, and release. This is the dessert. |
|
If it's any help, I can't reproduce with |
@elieux Run clone / fetch many times, not just one or two times |
@linquize does this really require two PCs? That is not really "minimal"... I would have to buy another computer to reproduce the problem you described. Is there really no way to reproduce on one machine? |
@dscho, to be fair, they did say "PC / VM". |
So after around 10 (or 30) clones on a Linux VM, I started randomly getting this on the client:
I don't know if it's relevant to this issue or if it's even a fatal error (everything's at 100 percent). I can dig deeper if desired. The uncertainty in the number of tries needed to reproduce this problem comes from the fact that I don't know if it's only about random chance, or I should account for all the checkouts I did with the same daemon instance beforehand from another client. |
@linquize please do try to make it easier to reproduce, so far you are the only one who can. From the msysGit issue, it looks as if you should be able to trigger the problem more reliably by inserting |
Since this is a timing issue, it may also sometimes shows |
@linquize any progress with that MCVE? |
@linquize ping? |
Not easy to give out MCVE. But it happens quite often every day. |
Nevertheless, if this ticket should have any hope of getting addressed, ever, we need a reliable way to reproduce the issue, if only to verify that it is fixed (when it is fixed). |
I finally could reproduce the error, although it took 74 (!!!) attempts to get there. This is not reproducible enough, unfortunately, because when I have a tentative fix I need a definitive answer to the question whether it actually fixes the bug. |
Closing this one out as stale. Please comment if anyone is actively using the git daemon server and willing to help reproduce this consistently. |
I haven't use |
I'm using the git daemon, and I get this error every single time. Pulling from one Windows 10 PC to another. Both are using git |
Experience this issue on Windows 7 with latest Git 2.12.0. Basically I can't not to reproduce, I always get |
I also get this issue pretty much every time cloning to a remote Windows machine. Cloning to my local machine to say a different directory never has the issue using a different Git Bash window. This Stack Overflow answer helped me out. I don't need this to be ultra reliable, but it's handy if you want do a peer merge or share a non hosted repo. https://stackoverflow.com/a/41779686/450100 It's odd behaviour, but perhaps it might make sense to the developers. |
On the client side, I have to run below command until fetch successful (may be more than 10 times) |
git-for-windows git daemon server (on Windows) makes client (any platform) early EOF error
Such problem already exist in msysgit pre 2.0 versions.
The problem still exists in git-for-windows 2.x.
The text was updated successfully, but these errors were encountered: