export http_proxy=http://domain\\user:pa...@myorg.com:8080
[http]
proxy = http://domain\\user:pa...@myorg.com:8080
android@android-server:~/sources/ics$ repo sync
error: The requested URL returned error: 407 while accessing http://android.googlesource.com/platform/manifest/info/refs
> I am trying to sync to repo from behind my org proxy. I have
> confgirured all possible proxy settings required for repo sync.
>
> 1. http_proxy variable in .bashrc file.
> 2. --global proxy settings in git.
>
> In ~/.bashrc I have configured it like this..
>
> > *export http_proxy=http://domain\\user:pa...@myorg.com:8080*
> >
>
> In ~/.gitconfig it shows like this
>
> > *[http]
> > proxy = http://domain\\user:pa...@myorg.com:8080*
I think the backslash in the username in your problem, or possibly
that your proxy requires NTLM authentication. You can use Wireshark or
similar to see what exactly is sent to the proxy and try replacing the
backslashes with its URL-encoded equivalent (%5C).
> But, when I try to sync to repo I always get 407 (proxy auth missing)
> error message like following,
>
> *android@android-server:~/sources/ics$ repo sync
> > error: The requested URL returned error: 407 while accessing
> > http://android.googlesource.com/platform/manifest/info/refs*
> >
>
> Can someone guide me to get this working? Do I need to set proxy
> anywhere else to configure repo?
See below for a couple of suggestions.
http://superuser.com/questions/395167/configuring-linux-to-use-windows-proxy
--
Magnus Bäck
ba...@google.com
On Wednesday, April 11, 2012 at 09:29 EDT,
Raj Chinna <rajendr...@gmail.com> wrote:
> I am trying to sync to repo from behind my org proxy. I have
> confgirured all possible proxy settings required for repo sync.
>
> 1. http_proxy variable in .bashrc file.
> 2. --global proxy settings in git.
>
> In ~/.bashrc I have configured it like this..
>
> > *export http_proxy=http://domain\\user:pa...@myorg.com:8080*
> >
>
> In ~/.gitconfig it shows like this
>
> > *[http]
> > proxy = http://domain\\user:pass@myorg.com:8080*
> I figured out the exact reason for this... The problem here I found is
> that the password had a $ symbol and that caused the problem...
>
> When you give your password like this test$345 it sends the password
> as test45... so, that problem solved.... :) So, the passwords like
> this should be given with test\$345....
Yes, or the http_proxy variable assignment should be enclosed in single
quotes to avoid the variable expansion.
> For your info, I am tying it in Ubuntu not in windows....
Of course, but the domain\username login name suggested that your proxy
server runs Windows.
--
Magnus Bäck
ba...@google.com