Hi,
I have problems with downloading Android code from android.googlesource.com.
The error says: fatal: branch stable is not signed
I was trying to figure out what happens and finally came to conclusion
that this is a problem of the git.
When I try to clone the git itself using https
(https://git.kernel.org/pub/scm/git/git.git) I'm getting the follwing
error:
warning: remote HEAD refers to nonexistent ref, unable to checkout.
If I use the http URL (http://git.kernel.org/pub/scm/git/git.git) I
can clone with no problems.
I was also considering that the problem is caused by proxy. But when I
tried to clone the same git source from another host via the same
proxy, it works pretty good. The difference is the git version: on the
first host it is 1.7.5.4 (comes with Ubuntu 11.10), on the second -
1.7.0.4
I was trying to collect some tcpdump and it shows the follwoing sequence
15 1.962132 X.X.X.X Y.Y.Y.Y HTTP 204 CONNECT git.kernel.org:443 HTTP/1.1
17 3.687364 Y.Y.Y.Y X.X.X.X HTTP 105 HTTP/1.0 200 Connection established
19 3.764793 X.X.X.X Y.Y.Y.Y TLSv1 208 Client Hello
21 3.815135 X.X.X.X Y.Y.Y.Y TLSv1 215 Ignored Unknown Record
23 4.045326 Y.Y.Y.Y X.X.X.X TLSv1 2239 Server Hello, Certificate,
Server Key Exchange, Server Hello Done
25 4.055059 Y.Y.Y.Y X.X.X.X TLSv1 73 Alert (Level: Fatal, Description:
Protocol Version)
As you can see, session seems terminated with fatal alert. It looks
like client tries to use TLS 1.2 but server accepts only TLS 1.0. But
this is just assumption.
Also, it is no clear what is that Ignored Unknown Record. But it
contains uncripted text: GET
/pub/scm/git/git.git/info/refs?service=git-upload-pack HTTP/1.1
User-Agent: git/1.7.5.4 Host: git.kernel.org Accept: */* Pragma:
no-cache
So, any suggesstions?
Dmitry
On Tue, Nov 15, 2011 at 05:52, Dmitry Smirnov [off-list ref] wrote:
I have problems with downloading Android code from android.googlesource.com.
The error says: fatal: branch stable is not signed
I was trying to figure out what happens and finally came to conclusion
that this is a problem of the git.
Not likely. This is an error printed by the "repo" tool used by
Android. It typically indicates the repo command you are executing is
pointing to a URL that may be a local mirror and contain additional
patches in it that were not signed by me.
I would suggest starting over by downloading repo per [1] and using
that script to start the process.
[1] http://source.android.com/source/downloading.html
I would suggest starting over by downloading repo per [1] and using
that script to start the process.
Cloning of the repo.git repository produces the same error
warning: remote HEAD refers to nonexistent ref, unable to checkout.
That is why I tried to use another repository...
From: Haitao Li <hidden> Date: 2016-06-15 22:52:29
I was also considering that the problem is caused by proxy. But when I
tried to clone the same git source from another host via the same
proxy, it works pretty good. The difference is the git version: on the
first host it is 1.7.5.4 (comes with Ubuntu 11.10), on the second -
1.7.0.4
The proxy may have some impact.
I see exactly the same error only behind a proxy on my laptop running
Ubuntu 11.10 with libgnutls26/2.10.5-1ubuntu3. The same laptop works fine
at home without proxy.
I have another machine (Ubuntu 11.04 git/1.7.4.1 libgnutls26/2.8.6-1ubuntu2)
works fine behind the same proxy.