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: Wed, 23 Nov 2016 12:57:13 +0000

Greg Chicares wrote:

> On 2016-11-23 11:54, Murphy, Kimberly wrote:
> > Greg Chicares wrote:
> [...git clone: HTTP redirect failing...]
> >>
> >> But is the redirection simply mapping nongnu.org to gnu.org ?
> >> Both of these commands work for me:
> >>
> >> $git clone http://git.savannah.nongnu.org/r/lmi.git
> >> $git clone http://git.savannah.gnu.org/r/lmi.git
> >>
> >> Kim, does the second one work for you?
> >
> > Unfortunately it does not. I observe the same error message:
> >
> > [0]$git clone http://git.savannah.gnu.org/r/lmi.git
> > Cloning into 'lmi'...
> > fatal: http://git.savannah.gnu.org/r/lmi.git/info/refs not valid: is
> this
> > a git repository?
> 
> Kim, do you still get the same error message if you simply 'git pull' to
> update an existing repository? 

Yes:

/opt/lmi/src/lmi[0]$GIT_TRACE=1 GIT_CURL_VERBOSE=1 git pull
12:40:23.062732 git.c:348           trace: built-in: git 'pull'
12:40:23.078331 run-command.c:343   trace: run_command: 'fetch' 
'--update-head-ok'
12:40:23.140731 exec_cmd.c:128      trace: exec: 'git' 'fetch' 
'--update-head-ok'
12:40:23.296729 git.c:348           trace: built-in: git 'fetch' 
'--update-head-ok'
12:40:23.312328 run-command.c:343   trace: run_command: 'git-remote-http' 
'origin' 'http://git.savannah.nongnu.org/r/lmi.git'
* STATE: INIT => CONNECT handle 0x800820e0; line 1103 (connection #-5000)
* Couldn't find host git.savannah.nongnu.org in the .netrc file; using defaults
* Added connection 0. The cache now contains 1 members
*   Trying 208.118.235.72...
* STATE: CONNECT => WAITCONNECT handle 0x800820e0; line 1156 (connection #0)
* Connected to git.savannah.nongnu.org (208.118.235.72) port 80 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x800820e0; line 1253 
(connection #0)
* STATE: SENDPROTOCONNECT => DO handle 0x800820e0; line 1271 (connection #0)
> GET /r/lmi.git/info/refs?service=git-upload-pack HTTP/1.1
Host: git.savannah.nongnu.org
User-Agent: git/2.7.0
Accept: */*
Accept-Encoding: gzip
Pragma: no-cache

* STATE: DO => DO_DONE handle 0x800820e0; line 1350 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x800820e0; line 1477 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x800820e0; line 1487 (connection #0)
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK
< Cache-Control: no-cache
< Pragma: no-cache
< Content-Type: text/html; charset=utf-8
< Connection: Keep-Alive
< Content-Length: 6907
<
* STATE: PERFORM => DONE handle 0x800820e0; line 1645 (connection #0)
* Curl_done
* Connection #0 to host git.savannah.nongnu.org left intact
* Expire cleared
fatal: http://git.savannah.nongnu.org/r/lmi.git/info/refs not valid: is this a 
git repository?

> Either way, please post the full output of
>   GIT_TRACE=1 GIT_CURL_VERBOSE=1 git clone
> http://git.savannah.gnu.org/r/lmi.git
> I've pasted mine below for comparison, which I hope will show that
> we've fixed the redirection problem and then indicate what remaining
> problem we need to fix next.
> 
> /tmp/tmp[0]$rm -rf lmi
> /tmp/tmp[0]$GIT_TRACE=1 GIT_CURL_VERBOSE=1 git clone
> http://git.savannah.gnu.org/r/lmi.git
> 12:24:03.477909 git.c:349               trace: built-in: git 'clone'
> 'http://git.savannah.gnu.org/r/lmi.git'
> Cloning into 'lmi'...
> 12:24:03.482673 run-command.c:341       trace: run_command: 'git-remote-
> http' 'origin' 'http://git.savannah.gnu.org/r/lmi.git'
> * Couldn't find host git.savannah.gnu.org in the .netrc file; using
> defaults
> * Hostname was NOT found in DNS cache
> *   Trying 208.118.235.72...
> * Connected to git.savannah.gnu.org (208.118.235.72) port 80 (#0)
> > GET /r/lmi.git/info/refs?service=git-upload-pack HTTP/1.1
> User-Agent: git/2.1.4
> Host: git.savannah.gnu.org
> Accept: */*
> Accept-Encoding: gzip
> Pragma: no-cache
> 
> < HTTP/1.1 200 OK
> < Date: Wed, 23 Nov 2016 12:24:03 GMT
> * Server Apache/2.2.16 (Debian) is not blacklisted
> < Server: Apache/2.2.16 (Debian)
> < Expires: Fri, 01 Jan 1980 00:00:00 GMT
> < Pragma: no-cache
> < Cache-Control: no-cache, max-age=0, must-revalidate
> < Transfer-Encoding: chunked
> < Content-Type: application/x-git-upload-pack-advertisement
> <
> * Connection #0 to host git.savannah.gnu.org left intact
> 12:24:03.800959 run-command.c:341       trace: run_command: 'fetch-pack'
> '--stateless-rpc' '--stdin' '--lock-pack' '--thin' '--check-self-
> contained-and-connected' '--cloning'
> 'http://git.savannah.gnu.org/r/lmi.git/'
> 12:24:03.801719 exec_cmd.c:134          trace: exec: 'git' 'fetch-pack'
> '--stateless-rpc' '--stdin' '--lock-pack' '--thin' '--check-self-
> contained-and-connected' '--cloning'
> 'http://git.savannah.gnu.org/r/lmi.git/'
> 12:24:03.803560 git.c:349               trace: built-in: git 'fetch-pack'
> '--stateless-rpc' '--stdin' '--lock-pack' '--thin' '--check-self-
> contained-and-connected' '--cloning'
> 'http://git.savannah.gnu.org/r/lmi.git/'
> * Couldn't find host git.savannah.gnu.org in the .netrc file; using
> defaults
> * Found bundle for host git.savannah.gnu.org: 0x1da5910
> * Re-using existing connection! (#0) with host git.savannah.gnu.org
> * Connected to git.savannah.gnu.org (208.118.235.72) port 80 (#0)
> > POST /r/lmi.git/git-upload-pack HTTP/1.1
> User-Agent: git/2.1.4
> Host: git.savannah.gnu.org
> Accept-Encoding: gzip
> Content-Type: application/x-git-upload-pack-request
> Accept: application/x-git-upload-pack-result
> Content-Length: 174
> 
> * upload completely sent off: 174 out of 174 bytes
> < HTTP/1.1 200 OK
> < Date: Wed, 23 Nov 2016 12:24:03 GMT
> * Server Apache/2.2.16 (Debian) is not blacklisted
> < Server: Apache/2.2.16 (Debian)
> < Expires: Fri, 01 Jan 1980 00:00:00 GMT
> < Pragma: no-cache
> < Cache-Control: no-cache, max-age=0, must-revalidate
> < Transfer-Encoding: chunked
> < Content-Type: application/x-git-upload-pack-result
> <
> remote: Counting objects: 33916, done.
> remote: Compressing objects: 100% (6570/6570), done.
> 12:24:04.771684 run-command.c:341       trace: run_command: 'index-pack'
> '--stdin' '-v' '--fix-thin' '--keep=fetch-pack 30120 on turgon' '--check-
> self-contained-and-connected' '--pack_header=2,33916'
> 12:24:04.772198 exec_cmd.c:134          trace: exec: 'git' 'index-pack'
> '--stdin' '-v' '--fix-thin' '--keep=fetch-pack 30120 on turgon' '--check-
> self-contained-and-connected' '--pack_header=2,33916'
> 12:24:04.774285 git.c:349               trace: built-in: git 'index-pack'
> '--stdin' '-v' '--fix-thin' '--keep=fetch-pack 30120 on turgon' '--check-
> self-contained-and-connected' '--pack_header=2,33916'
> remote: Total 33916 (delta 27326), reused 33879 (delta 27305)
> * Connection #0 to host git.savannah.gnu.org left intact
> Receiving objects: 100% (33916/33916), 7.34 MiB | 929.00 KiB/s, done.
> Resolving deltas: 100% (27326/27326), done.
> Checking connectivity... 12:24:15.301194 run-command.c:341       trace:
> run_command: 'rev-list' '--objects' '--stdin' '--not' '--all'
> 12:24:15.301605 exec_cmd.c:134          trace: exec: 'git' 'rev-list' '--
> objects' '--stdin' '--not' '--all'
> 12:24:15.303378 git.c:349               trace: built-in: git 'rev-list'
> '--objects' '--stdin' '--not' '--all'
> done.

[0]$GIT_TRACE=1 GIT_CURL_VERBOSE=1 git clone 
http://git.savannah.gnu.org/r/lmi.git
12:43:05.565848 git.c:348               trace: built-in: git 'clone' 
'http://git.savannah.gnu.org/r/lmi.git'
Cloning into 'lmi'...
12:43:05.706246 run-command.c:343       trace: run_command: 'git-remote-http' 
'origin' 'http://git.savannah.gnu.org/r/lmi.git'
* STATE: INIT => CONNECT handle 0x80081d98; line 1103 (connection #-5000)
* Couldn't find host git.savannah.gnu.org in the .netrc file; using defaults
* Added connection 0. The cache now contains 1 members
*   Trying 208.118.235.72...
* STATE: CONNECT => WAITCONNECT handle 0x80081d98; line 1156 (connection #0)
* Connected to git.savannah.gnu.org (208.118.235.72) port 80 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x80081d98; line 1253 
(connection #0)
* STATE: SENDPROTOCONNECT => DO handle 0x80081d98; line 1271 (connection #0)
> GET /r/lmi.git/info/refs?service=git-upload-pack HTTP/1.1
Host: git.savannah.gnu.org
User-Agent: git/2.7.0
Accept: */*
Accept-Encoding: gzip
Pragma: no-cache

* STATE: DO => DO_DONE handle 0x80081d98; line 1350 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x80081d98; line 1477 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x80081d98; line 1487 (connection #0)
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 200 OK
< Cache-Control: no-cache
< Pragma: no-cache
< Content-Type: text/html; charset=utf-8
< Connection: Keep-Alive
< Content-Length: 6904
<
* STATE: PERFORM => DONE handle 0x80081d98; line 1645 (connection #0)
* Curl_done
* Connection #0 to host git.savannah.gnu.org left intact
* Expire cleared
fatal: http://git.savannah.gnu.org/r/lmi.git/info/refs not valid: is this a git 
repository?




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]