Fwd: difficulties with http proxy

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <git@...>
Date: Wednesday, June 18, 2008 - 5:09 am

Hi Bruce

Short version:
0. Using git on WinXP from
http://msysgit.googlecode.com/files/Git-1.5.5-preview20080413.exe
1. When a proxy is required, the error message isn't very helpful:
     Cannot get remote repository information.
     Perhaps git-update-server-info needs to be run there?
2. I can't get git config to set the proxy
3. When I use a shell variable, I can set the proxy, but I still have
trouble cloning git over http.

John.

Long version:
I'm back behind my proxy.
I've tried
$ git config --global http.proxy http://proxyname:80
and
$ git config --global http.proxy proxyname:80
but neither seems to work:

$ git clone http://www.kernel.org/pub/scm/git/git.git git2
Initialized empty Git repository in c:/[path]/git2/.git/
Cannot get remote repository information.
Perhaps git-update-server-info needs to be run there?

When I try
$ export http_proxy=http://proxyname:80
then the following at least starts to work:
$ git clone http://www.kernel.org/pub/scm/git/git.git git

$ git clone http://www.kernel.org/pub/scm/git/git.git git2
Initialized empty Git repository in c:/[path]/git2/.git/
got 7562b87f6fcfb31a5fa52d2edfe866b5f1ee08d5
walk 7562b87f6fcfb31a5fa52d2edfe866b5f1ee08d5
got d47c7c24b429eac4bacc107c0b5e2987db40f04a
got 71910874a081be5196ae122c8d0b6024ec3afa5e
walk d47c7c24b429eac4bacc107c0b5e2987db40f04a
Getting alternates list for http://www.kernel.org/pub/scm/git/git.git
Getting pack list for http://www.kernel.org/pub/scm/git/git.git
Getting index for pack f7be43530c5b167d6eff8e1d4ee72d7c98aa6710
Getting index for pack 38b949b3b9446f6ef31fe3bc5a70b09cf8cc5c82
Getting index for pack 535070eccfdc5b080d4b38e682f66b357f3cb4bd
got 89fa6d03bc038d6210e94d7fe9fbbffdbc84d883
Getting index for pack fb9e204382bfea5b1821f19b7a9e82d0e5be8498
got 02823413987d5a10364d936327e3a1cfb38cbac2

[snip]

Getting pack 17d608d0bea63b7c5b68bccd1515e9c5ac0961c5
 which contains 859d67990a62049c2f328dfd676cf21da8ff9a27
got 1afd0c69ed823f419f52951c3c02dcc50f1a44d1
got c824d887420754f98db0553a006865d31d01cf1d
got 0b8b0ebba758871ac9c79e729664b5057128e9ac
got 18330cdcd2cda94c9c16c02d70229fa16d4aeb33
got d8e0a5b843d8c8d02df2150a05f4d9c5928596f4
got e051903352f06b0ac9ba1594cd9451baf215bdc5
error: Unable to find a2e23c928a11bf526a3c63b34c9a00a94aac6b49 under
http://www.kernel.org/pub/scm/git/git.git
Cannot obtain needed blob a2e23c928a11bf526a3c63b34c9a00a94aac6b49
while processing commit 69cd7c5f72da62a221a740c4d454b29da15186f3.
rm: cannot remove directory `c:/[path]/git2/.git/clone-tmp': Directory not empty
rm: cannot remove directory `c:/[path]/git2/.git': Directory not empty
rm: cannot remove directory `c:/[path]/git2': Directory not empty

If I try to clone it again, I get a similar, but not identical failure:
...
Getting pack 1dbb69127c8efb2534f925b7cf031b0a2428e8b4
 which contains cb4b83de1eb48d163480185da54a828c5bb20941
got f1875d3b3de72c1834867ac4d6afe5243f54513e
got 347af19febc25fd47db2d11a634c2b38dbfe2c06
got 1f405709e7341c27e20c0159fb7c17efbf85975c
got 1df4bbf7263a22a2f8c94e0d8bd1d5fbcbab2152
got 345943a26466dab73034b41698c54ca317cc4d75
got b26b4e34bdfedbe7111dea48b4e5176d10555a76
got d6c44a5ed1cd8768a30f9e0e2339bbc49e8fa57e
error: Unable to find d69b20549bf956a5c7c3f64f5315a17ec71af038 under
http://www.kernel.org/pub/scm/git/git.git
Cannot obtain needed blob d69b20549bf956a5c7c3f64f5315a17ec71af038
while processing commit d47c7c24b429eac4bacc107c0b5e2987db40f04a.
rm: cannot remove directory `c:/[path]/git2/.git/clone-tmp': Directory not empty
rm: cannot remove directory `c:/[path]/git2/.git': Directory not empty
rm: cannot remove directory `c:/[path]/git2': Directory not empty


On Sat, Jun 14, 2008 at 6:29 PM, J. Bruce Fields <bfields@fieldses.org> wrote:
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Fwd: difficulties with http proxy, John Yesberg, (Wed Jun 18, 5:09 am)