-
Notifications
You must be signed in to change notification settings - Fork 29
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
GitHub may close the connection on pushes #9
Comments
This is my workaround code (Windows only, unixoid versions can be realized with /bin/sh):
|
Pushing single commits that only touch a single class does seem to work. |
In my image under Windows, retrying to push a set of commits that already failed once will most probably fail again. However, we did observe in another image under Mac OS X that a retried push can succeed. |
I got the same issue and never had the ability to push anything without external applications on Gentoo. |
I have recently got a new machine which is quite a lot faster than my notebook. The ConnectionClosed error did not happen once with it, so far. So the problem seems to be somehow linked with the performance of the client machine. Macbooks are rather above-average machines as well, which would explain that the problem did not occur as often on OS X. Does GitHub require from us to use C-efficient Git implementations after all? |
Good point, is there any way to test this? What happens if you slow down your image artificially? |
Not sure, I think you would have to inject the slowdown into the WebClient or Socket code. I figured the GitHub guys have better things to do than giving support for an unfinished Git implementation that does not even create properly shrinked (although valid) pack files for the upload. ;-) But yeah, it would not hurt to ask either. |
I have not seen this issue for a few months now. There were some changes in Squeak's WebClient, so maybe there was a bug in it that is fixed now. @codeZeilen @fniephaus Do you still hear about this issue from the students? |
I don't really now to be honest, works fine on my machine. @codeZeilen should know more ... |
I have not seen this at all in the meantime. Closing until someone says it is still broken. |
Sorry to report that the issue still exists for me. I observe it especially when committing large chunks (e.g., a Form encoded as base64 contents in a method). Luckily, pushing via the external git client works. |
I did push successfully twice to GitHub with FileSystem-Git today, but for some sets of commits, GitHub simply closes the connection after receiving a part of the pack content. For the same set of commits, both a local test server and Bitbucket accepted the push without issues.
Have to keep an eye on this to find out what is the cause.
The text was updated successfully, but these errors were encountered: