lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] Anonymous git checkout failure


From: Murphy, Kimberly
Subject: Re: [lmi] Anonymous git checkout failure
Date: Tue, 22 Nov 2016 18:18:04 +0000

Vadim Zeitlin wrote:

> On Tue, 22 Nov 2016 12:56:01 +0000 "Murphy, Kimberly"
> <address@hidden> wrote:
> 
> MK> Do my results with GIT_CURL_VERBOSE=1 offer any indication as to what
> may
> MK> be going on?
> 
>  Comparing them with my own results, I see a crucial difference:
> 
> MK> [0]$GIT_CURL_VERBOSE=1 git clone
> http://git.savannah.nongnu.org/r/lmi.git
> MK> Cloning into 'lmi'...
> MK> * STATE: INIT => CONNECT handle 0x80081d88; line 1103 (connection #-
> 5000)
> MK> * Couldn't find host git.savannah.nongnu.org in the .netrc file;
> using defaults
> MK> * Added connection 0. The cache now contains 1 members
> MK> *   Trying 208.118.235.72...
> MK> * STATE: CONNECT => WAITCONNECT handle 0x80081d88; line 1156
> (connection #0)
> MK> * Connected to git.savannah.nongnu.org (208.118.235.72) port 80 (#0)
> MK> * STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x80081d88; line 1253
> (connection #0)
> MK> * STATE: SENDPROTOCONNECT => DO handle 0x80081d88; line 1271
> (connection #0)
> MK> > GET /r/lmi.git/info/refs?service=git-upload-pack HTTP/1.1
> MK> Host: git.savannah.nongnu.org
> MK> User-Agent: git/2.7.0
> MK> Accept: */*
> MK> Accept-Encoding: gzip
> MK> Pragma: no-cache
> MK>
> MK> * STATE: DO => DO_DONE handle 0x80081d88; line 1350 (connection #0)
> MK> * STATE: DO_DONE => WAITPERFORM handle 0x80081d88; line 1477
> (connection #0)
> MK> * STATE: WAITPERFORM => PERFORM handle 0x80081d88; line 1487
> (connection #0)
> MK> * HTTP 1.1 or later with persistent connection, pipelining supported
> MK> < HTTP/1.1 200 OK
> 
>  Instead of getting the 200 reply here, I get the following:
> 
> < HTTP/1.1 301 Moved Permanently
> < Date: Tue, 22 Nov 2016 13:00:58 GMT
> * Server Apache/2.2.16 (Debian) is not blacklisted
> < Server: Apache/2.2.16 (Debian)
> < Location: http://git.savannah.gnu.org/r/lmi.git/info/refs?service=git-
> upload-pack
> < Content-Length: 368
> < Content-Type: text/html; charset=iso-8859-1
> 
>  i.e. the server redirects me to the correct page and then everything
> proceeds correctly instead of exiting with an error as it does in your
> case.
> 
>  I strongly suspect that in your case a proxy sitting between you and the
> external network mangles this redirect somehow. Unfortunately it's not
> really clear what to do about it, all I can suggest is trying to access
> http://git.savannah.nongnu.org/r/lmi.git/info/refs?service=git-upload-
> pack
> from your browser (or, if you prefer, using curl from command line) as it
> should show you the body of the returned document which might contain
> some
> clues about what is going on. 

>From my browser, I can 'Open' or 'Save' the refs from 
git.savannah.nongnu.org. I selected to save the file. Opening the file 
I find four lines:

001e# service=git-upload-pack
000000a339d4821197e50b043331320b9a147c1e869a6cf8 HEAD multi_ack thin-pack 
side-band side-band-64k ofs-delta shallow no-progress include-tag 
multi_ack_detailed no-done
003f39d4821197e50b043331320b9a147c1e869a6cf8 refs/heads/master
0000

> But most likely the only way to make this
> work would be to ask your IT/network administrator to stop doing whatever
> they do that breaks connectivity.

Easier said than done. 

>  BTW, just to check if this problem also appears with the other sites,
> could you please try cloning https://github.com/vadz/lmi.git? If this
> works, perhaps it could be a (temporary?) workaround...

An earlier attempt was unsuccessful since the company was experiencing 
internet problems. I just tried cloning https://github.com/vadz/lmi.git 
-- and it was successful. 

Just for the record, cloning http://git.savannah.nongnu.org/r/lmi.git 
is still not working.






This e-mail transmission may contain information that is proprietary, 
privileged and/or confidential and is intended exclusively for the person(s) to 
whom it is addressed. Any use, copying, retention or disclosure by any person 
other than the intended recipient or the intended recipient's designees is 
strictly prohibited. If you are not the intended recipient or their designee, 
please notify the sender immediately by return e-mail and delete all copies.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]