Unable to clone/fetch

75 views
Skip to first unread message

Matt D'Entremont

unread,
Feb 8, 2013, 10:28:50 AM2/8/13
to msy...@googlegroups.com

Hello,

I have been having loads of trouble with msysGit on x64 Windows 7. It used to work, however after a while it started get stuck while cloning or fetching (based on what I saw with tracing enabled, git-upload-pack is the underlying issue).

 

I have attached a screenshot of a typically failure. Most of the time, it won’t go anywhere further than “Cloning into:…” (even when left overnight), however sometimes it will make it through xx% of “Receiving” before it stalls.


I’m running “Git-1.8.1.2-preview20130201.exe”, which I recently upgraded to because I was seeing the issue on “Git-1.8.0-preview20121022.exe”.

 

I do not see the issue when using Cygwin, and others have being seeing the same thing. After talking with the Gerrit server admins, they do not see any signs of failure on their end.

 

Any help would be very much appreciated!

 

Thanks,

Matt

---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
Clone-Fail.png

Johannes Schindelin

unread,
Feb 8, 2013, 12:38:06 PM2/8/13
to Matt D'Entremont, msy...@googlegroups.com
Hi Matt,

On Fri, 8 Feb 2013, Matt D'Entremont wrote:

> I have attached a screenshot of a typically failure.

You spent a lot of time blanking out stuff from that screenshot.

Instead, I would suggest to spend time to explain exactly what your client
and server setup is.

Also, a good thing to spend time on would be to use the msysGit installer
to build Git from scratch yourself, then use "git bisect" to pinpoint when
the troubles started. I imagine that an update to ssh might have brought
the problems about.

Hth,
Johannes

Matt D'Entremont

unread,
Feb 8, 2013, 12:42:50 PM2/8/13
to Johannes Schindelin, msy...@googlegroups.com
Thanks Johannes,

I'll play around and see what I can find. I removed a lot from the screenshot just to make sure there's no corporate info in it :S.

Konstantin Khomoutov

unread,
Feb 8, 2013, 1:06:42 PM2/8/13
to Matt D'Entremont, Johannes Schindelin, msy...@googlegroups.com
On Fri, 8 Feb 2013 17:42:50 +0000
"Matt D'Entremont" <mdent...@rim.com> wrote:

> I'll play around and see what I can find. I removed a lot from the
> screenshot just to make sure there's no corporate info in it :S.

By the way, are you using built-in SSH client (which comes with Git for
Windows) or PuTTY?

Matt D'Entremont

unread,
Feb 8, 2013, 1:22:27 PM2/8/13
to Konstantin Khomoutov, Johannes Schindelin, msy...@googlegroups.com
Built-in

-----Original Message-----
From: Konstantin Khomoutov [mailto:flat...@users.sourceforge.net]
Sent: February-08-13 2:07 PM
To: Matt D'Entremont
Cc: Johannes Schindelin; msy...@googlegroups.com
Subject: Re: [msysGit] Unable to clone/fetch

Matt D'Entremont

unread,
Feb 8, 2013, 2:01:32 PM2/8/13
to Konstantin Khomoutov, Johannes Schindelin, msy...@googlegroups.com
Just as an FYI, I've installed "Git-preview20080301" and I'm seeing the same issues. I can go back further however I suspect this won't help.

Can you think of anything I could do to help narrow down the issue?

-----Original Message-----
From: Matt D'Entremont
Sent: February-08-13 2:22 PM
To: 'Konstantin Khomoutov'
Cc: Johannes Schindelin; msy...@googlegroups.com
Subject: RE: [msysGit] Unable to clone/fetch

Built-in

-----Original Message-----
From: Konstantin Khomoutov [mailto:flat...@users.sourceforge.net]
Sent: February-08-13 2:07 PM
To: Matt D'Entremont
Cc: Johannes Schindelin; msy...@googlegroups.com
Subject: Re: [msysGit] Unable to clone/fetch

Philip Oakley

unread,
Feb 8, 2013, 2:31:33 PM2/8/13
to Matt D'Entremont, msy...@googlegroups.com
From: Matt D'Entremont
Sent: Friday, February 08, 2013 3:28 PM
Hello,
I have been having loads of trouble with msysGit on x64 Windows 7. It
used to work, however after a while it started get stuck while cloning
or fetching (based on what I saw with tracing enabled, git-upload-pack
is the underlying issue).

I have attached a screenshot of a typically failure. Most of the time,
it won't go anywhere further than "Cloning into:." (even when left
overnight), however sometimes it will make it through xx% of "Receiving"
before it stalls.

I'm running "Git-1.8.1.2-preview20130201.exe", which I recently upgraded
to because I was seeing the issue on "Git-1.8.0-preview20121022.exe".

I do not see the issue when using Cygwin, and others have being seeing
the same thing. After talking with the Gerrit server admins, they do not
see any signs of failure on their end.

Any help would be very much appreciated!
---
This is my list of web pages on the issue that may be of help. Issue 457
has a good discussion. It looks to me as if this is a case of 'premature
optimisation' in Linux land (or the the opposite by microsoft) in the
way that the side band channels are set-up and info is exchanged. But I
haven't go any further than reading through the various reports,
thinking, and surmising (no practical work ;-).

If you are able to find a method to unwind the situation that causes the
deadlock it would be great for every one.
regards
Philip

Google :: "msysgit hangs when ssh fetch"
========================================
http://billauer.co.il/blog/2012/10/git-pull-windows-freeze-receive-pack/
Change "side-band-64k" to "side-bond-64k" so it never gets used.

http://devnet.jetbrains.net/message/5473415?tstart=0
remnants of several previous installations of Git. Sort the path
entries..

http://code.google.com/p/msysgit/issues/detail?id=74
Issue 74: git remote update/git fetch fails via ssh

http://code.google.com/p/msysgit/issues/detail?id=161
Issue 161: git-gui hangs on ssh for users with home directory mapped to
server share

http://code.google.com/p/msysgit/issues/detail?id=243
https://groups.google.com/forum/?fromgroups=#!topic/msysgit/mFnzYM3IA_4
Re: Issue 243 in msysgit: ssh hangs a minute than goes to next line
without performing action

http://code.google.com/p/msysgit/issues/detail?id=361
Issue 361: Clone/fetch/pull from github using git protocol hangs, http
works

http://code.google.com/p/msysgit/issues/detail?id=457
*** a good discussion.
Issue 457: Push over git protocol hangs in msysGit
The problematic commit is 0c499ea60f, which introduced the sideband
support in send_pack.
---
Thanks,

Matt

Pat Thoyts

unread,
Feb 14, 2013, 5:33:42 PM2/14/13
to Philip Oakley, Matt D'Entremont, msy...@googlegroups.com
On 8 February 2013 19:31, Philip Oakley <philip...@iee.org> wrote:
> From: Matt D'Entremont
> Sent: Friday, February 08, 2013 3:28 PM
>
> Hello,
> I have been having loads of trouble with msysGit on x64 Windows 7. It used
> to work, however after a while it started get stuck while cloning or
> fetching (based on what I saw with tracing enabled, git-upload-pack is the
> underlying issue).
>
> I have attached a screenshot of a typically failure. Most of the time, it
> won't go anywhere further than "Cloning into:." (even when left overnight),
> however sometimes it will make it through xx% of "Receiving" before it
> stalls.
>
>
> I'm running "Git-1.8.1.2-preview20130201.exe", which I recently upgraded to
[snip]

I'd suggest you try using putty instead of openssh. "set
GIT_SSH=plink" will do the job. You may need to initially connect
using putty itself and save a profile so that you have the right key
loaded.

To debug ssh issues with git - define a shell script as your GIT_SSH
executable and examine the verbose output. eg: GIT_SSH=verbose_ssh
where this script is just
#!/bin/ssh
exec ssh -v $*
Reply all
Reply to author
Forward
0 new messages