User ID/Passwords not used

I installed GitStack 1.4.1 on my file server (Windows 2008 R2) and on my client PC I installed 1.7.10.msysgit.1 and TortoiseGit (Windows 7 32-bit). I followed the instructions ( to import an existing repository. I also created a few empty repositories. Finally, I created a few users and groups and assigned permission to the repositories to the users and groups.

When I attempt to access the repositories on the file server, I get an error similar to:

git clone http://serverName/repo.git
Cloning into 'repo'...
error: Couldn't resolve proxy '(null)' while access http://serverName/repo.git/info/refs
fatal: HTTP request failed

I expected to be prompted for the user ID and password. I even tried:

git clone http://userId:password@serverName/repo.git
Cloning into 'repo'...
error: Couldn't resolve proxy '(null)' while access http://userId:password@serverName/repo.git/info/refs
fatal: HTTP request failed

If I access the repository on the server via a shared directory it works:

On the file server:

net share git=e:\GitStack\repositories

On the client:

net use g: \\serverName\git
md t
cd t
git clone g:\repo.git
Cloning into 'repo'...

At this point, I have a repo directory that contains a clone of the repo.git repository.

Why is http: access to the repositories not working?
Tags: asked April 30, 2012

2 Answers

It seems that the issues comes from your Git 1.7.10 client. Could you check this discussion ?
Thanks. I used "git config --unset --global http.proxy" to remove the variable and it now works.

Your Answer

Please login to post questions.