Skip to contentSkip to conversation

Problem of git clone with http

U-Boot Jaehoon Chung 6 participants 10 messages Apr 1, 2016 – Apr 28, 2016

lore
Share & tools
lore
#0 lore raw

Hi all,

I have fetched the u-boot/master with http, not git. url = http://git.denx.de/u-boot.git

When i saw the gitweb, it seems that v2016.03 was released.. But i can't pull and fetch anything with http..

$ git pull
Already up-to-date.
$ git show origin/master
commit 077678eb0c226e52a1f90edabd3369ab26065b32
Merge: e69514c ab971e1
Author: Tom Rini <[email protected]>
Date:   Tue Jan 12 18:12:42 2016 -0500

Merge git://git.denx.de/u-boot-dm

$ git describe
v2016.01-39-g077678e

But on gitweb

Merge branch 'master' of git://git.denx.de/u-boot-tegra master
author Tom Rini <[email protected]>
Wed, 30 Mar 2016 02:33:13 +0900 (13:33 -0400)
committer Tom Rini <[email protected]>
Wed, 30 Mar 2016 02:33:13 +0900 (13:33 -0400)
commit 080c499df689e8c42df70de44502c0d71533dda8

There is difference..Does anybody know this problem? Now, i can't use git protocol. So i need to use the "http".

I didn't test with "git"

Best Regards,
Jaehoon Chung

#1 lore raw

Hi,

On Fri, 01 Apr 2016 09:59:22 +0900
Jaehoon Chung jh80.chung at samsung.com wrote:
...

Quoted 5 lines

I have fetched the u-boot/master with http, not git. url = http://git.denx.de/u-boot.git

When i saw the gitweb, it seems that v2016.03 was released.. But i can't pull and fetch anything with http..

...

Quoted 1 line

There is difference..Does anybody know this problem?

this issue is known, I reported it to our network admin a while ago but it hasn't been resolved yet, sorry.

Quoted 1 line

Now, i can't use git protocol. So i need to use the "http".

for now please try cloning from U-Boot git repo on github:

https://github.com/trini/u-boot.git

Thanks,

Anatolij

#2 lore raw

Hi,

Quoted 13 lines · Anatolij Gustschin

Hi,

On Fri, 01 Apr 2016 09:59:22 +0900
Jaehoon Chung jh80.chung at samsung.com wrote:
...

Quoted 5 lines

I have fetched the u-boot/master with http, not git. url = http://git.denx.de/u-boot.git

When i saw the gitweb, it seems that v2016.03 was released.. But i can't pull and fetch anything with http..

...

Quoted 1 line

There is difference..Does anybody know this problem?

Quoted 8 lines

this issue is known, I reported it to our network admin a while ago but it hasn't been resolved yet, sorry.

Quoted 1 line

Now, i can't use git protocol. So i need to use the "http".

for now please try cloning from U-Boot git repo on github:

https://github.com/trini/u-boot.git

Thanks for sharing information. this information is helpful to me! :)

Best Regards,
Jaehoon Chung

Quoted 6 lines

Thanks,

Anatolij

#3 lore raw
Quoted 25 lines · Jaehoon Chung

Hi,

Quoted 21 lines · Anatolij Gustschin

Hi,

On Fri, 01 Apr 2016 09:59:22 +0900
Jaehoon Chung jh80.chung at samsung.com wrote:
...

Quoted 5 lines

I have fetched the u-boot/master with http, not git. url = http://git.denx.de/u-boot.git

When i saw the gitweb, it seems that v2016.03 was released.. But i can't pull and fetch anything with http..

...

Quoted 1 line

There is difference..Does anybody know this problem?

this issue is known, I reported it to our network admin a while ago but it hasn't been resolved yet, sorry.

Quoted 1 line

Now, i can't use git protocol. So i need to use the "http".

for now please try cloning from U-Boot git repo on github:

https://github.com/trini/u-boot.git

I was just banging my head not being able to fetch the latest U-Boot stuff, running into the same issue, and successfully worked around it by using the git:// URL. However it wasn't until I wanted to post about this on this mailing list that I found this thread :)

Anyways it seems like this issue already persists for one month without a fix. For folks behind draconian corporate firewalls the http:// URLs are often easier to use, so this is a bit of a trap....

Regards,

--
Andreas Dannenberg
Texas Instruments Inc

#4 lore raw
Quoted 27 lines · Andreas Dannenberg
Quoted 25 lines · Jaehoon Chung

Hi,

Quoted 21 lines · Anatolij Gustschin

Hi,

On Fri, 01 Apr 2016 09:59:22 +0900
Jaehoon Chung jh80.chung at samsung.com wrote:
...

Quoted 5 lines

I have fetched the u-boot/master with http, not git. url = http://git.denx.de/u-boot.git

When i saw the gitweb, it seems that v2016.03 was released.. But i can't pull and fetch anything with http..

...

Quoted 1 line

There is difference..Does anybody know this problem?

this issue is known, I reported it to our network admin a while ago but it hasn't been resolved yet, sorry.

Quoted 1 line

Now, i can't use git protocol. So i need to use the "http".

for now please try cloning from U-Boot git repo on github:

https://github.com/trini/u-boot.git

Quoted 8 lines

I was just banging my head not being able to fetch the latest U-Boot stuff, running into the same issue, and successfully worked around it by using the git:// URL. However it wasn't until I wanted to post about this on this mailing list that I found this thread :)

Anyways it seems like this issue already persists for one month without a fix. For folks behind draconian corporate firewalls the http:// URLs are often easier to use, so this is a bit of a trap....

Note that "http://github.com/trini/u-boot.git" should work as well. Or at least I was able to kick off a clone that way locally but I don't know if it's being rewritten under the hood to https.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160427/f8a7f1d0/attachment.sig>
#5 lore raw
In reply to Andreas Dannenberg

Dear Andreas,

Quoted 2 lines · In message <[email protected]> you wrote:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

But i can't pull and fetch anything with http..

...

Quoted 8 lines

I was just banging my head not being able to fetch the latest U-Boot stuff, running into the same issue, and successfully worked around it by using the git:// URL. However it wasn't until I wanted to post about this on this mailing list that I found this thread :)

Anyways it seems like this issue already persists for one month without a fix. For folks behind draconian corporate firewalls the http:// URLs are often easier to use, so this is a bit of a trap....

Agreed. But the first step of getting something fixed is to report it to the responsible admins, or here on the list. I never use HTTP myself to access the repository, as git protocol is so much more efficient. So unless somebody shouts about it, I will never notice any such problems.

I've tweaked things a bit - can you please give it another try? If you still see problems (either now or later) please make sure to report them to me, and I will make sure someone looks into it.

Thanks.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Here's a fish hangs in the net like a poor man's right in  the  law.
'Twill hardly come out."     - Shakespeare, Pericles, Act II, Scene 1
#6 lore raw
Quoted 21 lines · Wolfgang Denk

Dear Andreas,

Quoted 2 lines · In message <[email protected]> you wrote:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

But i can't pull and fetch anything with http..

...

Quoted 8 lines

I was just banging my head not being able to fetch the latest U-Boot stuff, running into the same issue, and successfully worked around it by using the git:// URL. However it wasn't until I wanted to post about this on this mailing list that I found this thread :)

Anyways it seems like this issue already persists for one month without a fix. For folks behind draconian corporate firewalls the http:// URLs are often easier to use, so this is a bit of a trap....

Agreed. But the first step of getting something fixed is to report it to the responsible admins, or here on the list. I never use HTTP myself to access the repository, as git protocol is so much more efficient. So unless somebody shouts about it, I will never notice any such problems.

Quoted 3 lines

I've tweaked things a bit - can you please give it another try? If you still see problems (either now or later) please make sure to report them to me, and I will make sure someone looks into it.

Hallo Wolfgang,
I just did a fresh git clone http://git.denx.de/u-boot.git into a new directory just to verify the current behavior and I can confirm that it now works as expected. Thanks!

Regards,
Andreas

--
Andreas Dannenberg
Texas Instruments Inc

#7 lore raw
In reply to Wolfgang Denk
Quoted 21 lines · Wolfgang Denk

Dear Andreas,

Quoted 2 lines · In message <[email protected]> you wrote:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

But i can't pull and fetch anything with http..

...

Quoted 8 lines

I was just banging my head not being able to fetch the latest U-Boot stuff, running into the same issue, and successfully worked around it by using the git:// URL. However it wasn't until I wanted to post about this on this mailing list that I found this thread :)

Anyways it seems like this issue already persists for one month without a fix. For folks behind draconian corporate firewalls the http:// URLs are often easier to use, so this is a bit of a trap....

Agreed. But the first step of getting something fixed is to report it to the responsible admins, or here on the list. I never use HTTP myself to access the repository, as git protocol is so much more efficient. So unless somebody shouts about it, I will never notice any such problems.

Quoted 3 lines

I've tweaked things a bit - can you please give it another try? If you still see problems (either now or later) please make sure to report them to me, and I will make sure someone looks into it.

This seems to be a widespread thing. It is definitely caused by buggy Cisco firewalls corrupting binary files. I had the same problem in corporate environment (where I have my day job right now) 100% traced to their proxy servers. All traffic is going through some Cisco proxies (don't know what devices/software it is) and it was impossible to clone a git repo because data was corrupted when going through those buggy things.

In my case, as I'm more like a principal engineer here, corporate IT made a hole for my development machines so they go to the Net directly. That solved the issue.

Before that cloning always failed when uncompressing objects. That also applied to _ANY_ compressed files downloaded from the Net if those were big enough. Smaller files were OK and small git repos didn't have any problems but when they were bigger than some threshold all such files arrived corrupted.

---
******************************************************************
* KSI at home KOI8 Net < > The impossible we do immediately. *
* Las Vegas NV, USA < > Miracles require 24-hour notice. *
******************************************************************

#8 lore raw
Quoted 23 lines · Sergey Kubushyn
Quoted 21 lines · Wolfgang Denk

Dear Andreas,

Quoted 2 lines · In message <[email protected]> you wrote:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

But i can't pull and fetch anything with http..

...

Quoted 8 lines

I was just banging my head not being able to fetch the latest U-Boot stuff, running into the same issue, and successfully worked around it by using the git:// URL. However it wasn't until I wanted to post about this on this mailing list that I found this thread :)

Anyways it seems like this issue already persists for one month without a fix. For folks behind draconian corporate firewalls the http:// URLs are often easier to use, so this is a bit of a trap....

Agreed. But the first step of getting something fixed is to report it to the responsible admins, or here on the list. I never use HTTP myself to access the repository, as git protocol is so much more efficient. So unless somebody shouts about it, I will never notice any such problems.

Quoted 6 lines
Quoted 3 lines

I've tweaked things a bit - can you please give it another try? If you still see problems (either now or later) please make sure to report them to me, and I will make sure someone looks into it.

This seems to be a widespread thing. It is definitely caused by buggy Cisco firewalls corrupting binary files.

In my case since I partially work off-site (enjoying unrestricted Internet access during those times), the issue also occurred without any type of firewall in-between (well, except my little home office router). So it seems like there are several things that can go wrong, of course corporate firewalls like you pointed out often being a major culprit.

Regards,
Andreas

Quoted 21 lines

I had the same problem in corporate
environment (where I have my day job right now) 100% traced to their proxy servers. All traffic is going through some Cisco proxies (don't know what devices/software it is) and it was impossible to clone a git repo because data was corrupted when going through those buggy things.

In my case, as I'm more like a principal engineer here, corporate IT made a hole for my development machines so they go to the Net directly. That solved the issue.

Before that cloning always failed when uncompressing objects. That also applied to _ANY_ compressed files downloaded from the Net if those were big enough. Smaller files were OK and small git repos didn't have any problems but when they were bigger than some threshold all such files arrived corrupted.

---
******************************************************************
* KSI at home KOI8 Net < > The impossible we do immediately. *
* Las Vegas NV, USA < > Miracles require 24-hour notice. *
******************************************************************

#9 lore raw
In reply to Sergey Kubushyn

Dear Sergey,

Quoted 3 lines · In message <[email protected]> you wrote:

This seems to be a widespread thing. It is definitely caused by buggy Cisco firewalls corrupting binary files. I had the same problem in corporate

I cannot comment on this. In our case the cause was a different one.

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It's not an optical illusion, it just looks like one.   -- Phil White