* git clone - failing on cygwin with git:// but not with ssh://
@ 2008-12-27 22:37 Joe Casadonte
2008-12-29 14:54 ` Joe Casadonte
2008-12-30 23:52 ` Daniel Barkalow
0 siblings, 2 replies; 6+ messages in thread
From: Joe Casadonte @ 2008-12-27 22:37 UTC (permalink / raw)
To: git
Hi,
I'm new to git, so my apologies if I'm missing something pretty
basic. Here's my setup:
"Public" server
---------------
OS: RedHat clone, 2.6.9 kernel
git version: self-compiled, 1.6.0.6
Test client #1 (works)
----------------------
OS: RedHat clone, 2.6.9 kernel
git version: self-compiled, 1.6.0.6
Test client #2 (fails)
----------------------
OS: Win XP Pro
git version: cygwin compiled, 1.6.0.4
I have a new repository on the "public" server, and have cloned it on
test client #1 with:
$ git clone git://foobar/myproj.git
Initialized empty Git repository in /opt/myproj/.git/
remote: Counting objects: 104, done.
remote: Compressing objects: 100% (72/72), done.
remote: Total 104 (delta 22), reused 104 (delta 22)
Receiving objects: 100% (104/104), 76.97 KiB, done.
Resolving deltas: 100% (22/22), done.
I try the same thing on test box #2 and receive:
D:\temp>git clone git://foobar/otminfmyproj.git
Initialized empty Git repository in /cygdrive/d/temp/foobar/.git/
fatal: read error (Socket operation on non-socket)
fatal: early EOF
fatal: index-pack failed
I've turned on verbose logging in the daemon and I see the following
messages:
Dec 27 17:31:53 foobar git-daemon: [30327] Connection from 192.168.1.102:2598
Dec 27 17:31:53 foobar git-daemon: [30327] Extended attributes (16 bytes) exist <host=foobar>
Dec 27 17:31:53 foobar git-daemon: [30327] Request upload-pack for '/myproj.git'
Dec 27 17:31:55 foobar git-daemon: [30327] Disconnected (with error)
A successful log (from test client #1) shows practically the same
thing:
Dec 27 17:33:22 foobar git-daemon: [30338] Connection from 192.168.2.101:44832
Dec 27 17:33:22 foobar git-daemon: [30338] Extended attributes (16 bytes) exist <host=foobar>
Dec 27 17:33:22 foobar git-daemon: [30338] Request upload-pack for '/myproj.git'
Dec 27 17:33:22 foobar git-daemon: [30338] Disconnected
Running the clone via ssh protocol from test client #2 works, though:
D:\temp>git clone ssh://root@foobar/nfs02/git/myproj
Initialized empty Git repository in /cygdrive/d/temp/myproj/.git/
remote: Counting objects: 104, done.
remote: Compressing objects: 100% (72/72), done.
remote: Total 104 (delta 22), reused 104 (delta 22)
Receiving objects: 100% (104/104), 76.97 KiB | 9 KiB/s, done.
Resolving deltas: 100% (22/22), done.
The same test machine has cloned from a different linux server via the
git protocol just fine.
Any ideas? Thanks for the help!
--
Regards,
joe
Joe Casadonte
jcasadonte@northbound-train.com
------------------------------------------------------------------------------
Llama Fresh Farms => http://www.northbound-train.com
Ramblings of a Gay Man => http://www.northbound-train.com/ramblings
Emacs Stuff => http://www.northbound-train.com/emacs.html
Music CD Trading => http://www.northbound-train.com/cdr.html
------------------------------------------------------------------------------
Live Free, that's the message!
------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: git clone - failing on cygwin with git:// but not with ssh://
2008-12-27 22:37 Joe Casadonte
@ 2008-12-29 14:54 ` Joe Casadonte
2008-12-30 23:52 ` Daniel Barkalow
1 sibling, 0 replies; 6+ messages in thread
From: Joe Casadonte @ 2008-12-29 14:54 UTC (permalink / raw)
To: git
Joe Casadonte <jcasadonte <at> northbound-train.com> writes:
> The same test machine has cloned from a different linux server via the
> git protocol just fine.
>
> Any ideas? Thanks for the help!
Does anyone know of more logging I can try to help diagnose the issue? Despite
the SSH work-around, this is really hampering me....
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: git clone - failing on cygwin with git:// but not with ssh://
@ 2008-12-30 16:40 Joe Casadonte
2008-12-30 19:54 ` Junio C Hamano
2008-12-30 20:01 ` Joe Casadonte
0 siblings, 2 replies; 6+ messages in thread
From: Joe Casadonte @ 2008-12-30 16:40 UTC (permalink / raw)
To: git
Joe Casadonte <jcasadonte <at> northbound-train.com> writes:
> D:\temp>git clone git://foobar/otminfmyproj.git
> Initialized empty Git repository in /cygdrive/d/temp/foobar/.git/
> fatal: read error (Socket operation on non-socket)
> fatal: early EOF
> fatal: index-pack failed
>
> I've turned on verbose logging in the daemon and I see the following
> messages:
>
> Dec 27 17:31:53 foobar git-daemon: [30327] Connection from 192.168.1.102:2598
> Dec 27 17:31:53 foobar git-daemon: [30327] Extended attributes (16 bytes) exist <host=foobar>
> Dec 27 17:31:53 foobar git-daemon: [30327] Request upload-pack for '/myproj.git'
> Dec 27 17:31:55 foobar git-daemon: [30327] Disconnected (with error)
>
> Running the clone via ssh protocol from test client #2 works, though:
>
> D:\temp>git clone ssh://root <at> foobar/nfs02/git/myproj
> Initialized empty Git repository in /cygdrive/d/temp/myproj/.git/
> remote: Counting objects: 104, done.
> remote: Compressing objects: 100% (72/72), done.
> remote: Total 104 (delta 22), reused 104 (delta 22)
> Receiving objects: 100% (104/104), 76.97 KiB | 9 KiB/s, done.
> Resolving deltas: 100% (22/22), done.
>
> The same test machine has cloned from a different linux server via the
> git protocol just fine.
Looking for a little help, please. Is this not a legitimate git issue? Can
anyone at least help me diagnose the issue? Please?
--
Regards,
joe
Joe Casadonte
jcasadonte@northbound-train.com
------------------------------------------------------------------------------
Llama Fresh Farms => http://www.northbound-train.com
Ramblings of a Gay Man => http://www.northbound-train.com/ramblings
Emacs Stuff => http://www.northbound-train.com/emacs.html
Music CD Trading => http://www.northbound-train.com/cdr.html
------------------------------------------------------------------------------
Live Free, that's the message!
------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: git clone - failing on cygwin with git:// but not with ssh://
2008-12-30 16:40 git clone - failing on cygwin with git:// but not with ssh:// Joe Casadonte
@ 2008-12-30 19:54 ` Junio C Hamano
2008-12-30 20:01 ` Joe Casadonte
1 sibling, 0 replies; 6+ messages in thread
From: Junio C Hamano @ 2008-12-30 19:54 UTC (permalink / raw)
To: Joe Casadonte; +Cc: git
"Joe Casadonte" <jcasadonte@northbound-train.com> writes:
> Looking for a little help, please. Is this not a legitimate git issue? Can
> anyone at least help me diagnose the issue? Please?
I think "git on Cygwin" is as legitimate as git on anything else, but at
the same time my guess is that it is a combination of the fact that
everybody is busy with other things around the end of year , and that
probably there are not many "git on Cygwin" experts monitoring the list to
begin with.
Sorry, I do not work on Cygwin (nor Windows in general). "fatal: read
error (Socket operation on non-socket)" sounds like it is coming from
pkt-line.c::safe_read() on the downloading side (i.e. git-clone).
Googling for that error message seems to indicate that it seems to a
rather common error message on wide variety of programs running on Cygwin.
C.f.
http://www.google.com/search?&q=%22Socket+operation+on+non-socket%22+site%3Acygwin.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: git clone - failing on cygwin with git:// but not with ssh://
2008-12-30 16:40 git clone - failing on cygwin with git:// but not with ssh:// Joe Casadonte
2008-12-30 19:54 ` Junio C Hamano
@ 2008-12-30 20:01 ` Joe Casadonte
1 sibling, 0 replies; 6+ messages in thread
From: Joe Casadonte @ 2008-12-30 20:01 UTC (permalink / raw)
To: git
On 30 Dec 2008, Joe Casadonte wrote:
> Looking for a little help, please. Is this not a legitimate git
> issue? Can anyone at least help me diagnose the issue? Please?
My apologies to the group -- I wasn't really cognizant of the fact
that its only been 3 days since my first email. That has now been
made abundantly clear to me :)
I've been working on getting git working full-bore since the middle of
last week, of which this issue is just part of it, and I'm quickly
running out of time (Jan 5 I have to ditch this and go back to my
normal tasks). All the days are blurring together.....
Anyhow, thanks for *your* patience with me, despite the lack of
manners on my end. A happy & safe New Years to all!
--
Regards,
joe
Joe Casadonte
jcasadonte@northbound-train.com
------------------------------------------------------------------------------
Llama Fresh Farms => http://www.northbound-train.com
Ramblings of a Gay Man => http://www.northbound-train.com/ramblings
Emacs Stuff => http://www.northbound-train.com/emacs.html
Music CD Trading => http://www.northbound-train.com/cdr.html
------------------------------------------------------------------------------
Live Free, that's the message!
------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: git clone - failing on cygwin with git:// but not with ssh://
2008-12-27 22:37 Joe Casadonte
2008-12-29 14:54 ` Joe Casadonte
@ 2008-12-30 23:52 ` Daniel Barkalow
1 sibling, 0 replies; 6+ messages in thread
From: Daniel Barkalow @ 2008-12-30 23:52 UTC (permalink / raw)
To: Joe Casadonte; +Cc: git
On Sat, 27 Dec 2008, Joe Casadonte wrote:
> Hi,
>
> I'm new to git, so my apologies if I'm missing something pretty
> basic. Here's my setup:
>
> "Public" server
> ---------------
> OS: RedHat clone, 2.6.9 kernel
> git version: self-compiled, 1.6.0.6
>
> Test client #1 (works)
> ----------------------
> OS: RedHat clone, 2.6.9 kernel
> git version: self-compiled, 1.6.0.6
>
> Test client #2 (fails)
> ----------------------
> OS: Win XP Pro
> git version: cygwin compiled, 1.6.0.4
I'd try the msysgit version...
>
> I have a new repository on the "public" server, and have cloned it on
> test client #1 with:
>
> $ git clone git://foobar/myproj.git
> Initialized empty Git repository in /opt/myproj/.git/
> remote: Counting objects: 104, done.
> remote: Compressing objects: 100% (72/72), done.
> remote: Total 104 (delta 22), reused 104 (delta 22)
> Receiving objects: 100% (104/104), 76.97 KiB, done.
> Resolving deltas: 100% (22/22), done.
>
>
> I try the same thing on test box #2 and receive:
>
>
> D:\temp>git clone git://foobar/otminfmyproj.git
> Initialized empty Git repository in /cygdrive/d/temp/foobar/.git/
> fatal: read error (Socket operation on non-socket)
> fatal: early EOF
> fatal: index-pack failed
As Junio said, this smells like the build you have of git or of cygwin
aren't dealing correctly with Windows' non-POSIX-ness. The msysgit version
is more self-contained, and doesn't expect the system to be POSIX at all.
-Daniel
*This .sig left intentionally blank*
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-12-30 23:54 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-30 16:40 git clone - failing on cygwin with git:// but not with ssh:// Joe Casadonte
2008-12-30 19:54 ` Junio C Hamano
2008-12-30 20:01 ` Joe Casadonte
-- strict thread matches above, loose matches on Subject: below --
2008-12-27 22:37 Joe Casadonte
2008-12-29 14:54 ` Joe Casadonte
2008-12-30 23:52 ` Daniel Barkalow
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).