HTTP access via proxy

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

 



Hi,

I'm new to GIT. I've just discovered it recenntly, I found it powerfull.

Actually, I'm trying to "connect" to GIT repositories from office.
There is a proxy. I set the http_proxy varenv. But the cloning failed.

Seems to be a 407 error, but I do not understand what to do. Any help
is welcome.

Here is the output:
$ git-clone http://repo.or.cz/r/cogito.git
Getting alternates list for http://repo.or.cz/r/cogito.git/
Getting pack list for http://repo.or.cz/r/cogito.git/
Getting index for pack 605b6b3b97cd6a8725f9be2c858812646de69340
Getting index for pack fbfa016d2f36e7317c82ccae9ba84f98ee23c232
Getting index for pack 3e83e7bd975592d35f507a83d9d72b8f6fa2f90c
Getting index for pack 3718e548f38e28d2b5c0fa845ecde4fa8011097f
Getting index for pack 2ca93e541574382d920bb2310d774e1c4ce3f097
Getting index for pack ec503789c27cc660192d567defd4d4620e5ff433
Getting index for pack be4d257c2efb91623aeb6031689f348aa897cfd6
Getting index for pack b8d235df7313ca48648dedea9fd059d7fe0fc440
Getting index for pack 05ee5f60265a8cf543e5a42c04af0f7dacdf7ce3
Getting index for pack a33f5335e33bb274e7c838fc0dc6deec5713ca3f
Getting index for pack 8530b481a7f02b3d09fe00c6b6afedc658933dc1
Getting index for pack 4b7808cea29f690eaa10aacff9eac93a38b5ddd3
Getting index for pack f8c8b06fec5010796ce83d3809d022e8e2ac1c16
Getting index for pack 7ddc7c3ff0dc06aefe42ad477ba3be48a54b6c48
Getting index for pack f3e337782d2bf95568a7bd96866c4bdffb2f183f
Getting index for pack 298348359dbe6956c697261eb88b47d9e6c6666e
Getting index for pack 57964c548d649be865d283d6ab3ca10bf302f082
Getting index for pack 78202a8501eff4614d7bb1972902a6c880bb2002
Getting index for pack 51412f3fc46ba6059457a5890369895a96a6b427
Getting index for pack 9b452ef8de67af41587ebb196ca4518280ba1795
Getting index for pack 56df4494fdb935bb2f8de3388c901be086cf9bd7
Getting index for pack cd046245115aa0b088f1b53bba2e68e0000b1c54
Getting index for pack bdf83dd134bd89eca9431f0d6b7601e32d516ae9
Getting index for pack 48baac389492f0071f8713547371eaae5507868d
Getting index for pack 8b4c56b9f2e0d9586b10c24ef87b933f8d3c0d72
Getting index for pack 49e12d13de0cb60255b343c59eeaf61b168fa0de
Getting index for pack 9af7de2760000428a9bb60ea5afc150bb8a60fb8
Getting pack 9af7de2760000428a9bb60ea5afc150bb8a60fb8
which contains b6a6e87cb3e1368ad0f78c18fdb6c29dde4ae83e
walk b6a6e87cb3e1368ad0f78c18fdb6c29dde4ae83e
Getting alternates list for http://repo.or.cz/r/cogito.git/
Getting alternates list for http://repo.or.cz/r/cogito.git/
Getting alternates list for http://repo.or.cz/r/cogito.git/
Getting alternates list for http://repo.or.cz/r/cogito.git/
Getting alternates list for http://repo.or.cz/r/cogito.git/
Getting pack 49e12d13de0cb60255b343c59eeaf61b168fa0de
which contains 18d0bd75adae8c1994373e8e5afdb388268c048c
error: Unable to get pack file
http://repo.or.cz/r/cogito.git//objects/pack/pack-49e12d13de0cb60255b343c59eeaf61b168fa0de.pack
The requested URL returned error: 407
Getting alternates list for http://repo.or.cz/r/cogito.git/
error: Unable to find 18d0bd75adae8c1994373e8e5afdb388268c048c under
http://repo.or.cz/r/cogito.git/
Cannot obtain needed commit 18d0bd75adae8c1994373e8e5afdb388268c048c
while processing commit b6a6e87cb3e1368ad0f78c18fdb6c29dde4ae83e.
Waiting for http://repo.or.cz/r/cogito.git/objects/c2/8d9943e5d8a51088266db92030480602c35fc1


Surprisingly, if I download the pack file directly with curl, it works:
curl http://repo.or.cz/r/cogito.git//objects/pack/pack-49e12d13de0cb60255b343c59eeaf61b168fa0de.pack


I'm using:
- a freshly downloaded GIT tarball.
- curl-7.12.1-5.rhel4
- curl-devel-7.12.1-5.rhel4

--
Guilhem BONNEFILLE
-=- #UIN: 15146515 JID: guyou@xxxxxxxxxxxx MSN: guilhem_bonnefille@xxxxxxxxxxx
-=- mailto:guilhem.bonnefille@xxxxxxxxx
-=- http://nathguil.free.fr/
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]