http://threebytesfull.com/2008/04/git-with-and-without-proxy.html
Question about that post?

I'm not able to make it work :(

I'm using cntlm http://cntlm.awk.cz/

Can you help me to understand what I'm missing!

I think the problem is in relation with my understanding of
my.socks.server:1080 ?? What should I but there?

thx

[EMAIL PROTECTED] mydroid]$ cat /usr/local/bin/socks-gw
#!/bin/sh
# Filename: ~/bin/socks-gw
# This script connects to a SOCKS proxy using connect.c
/usr/local/bin/connect -S localhost:1080 $@

[EMAIL PROTECTED] mydroid]$ cat /usr/local/bin/socks-ssh
#!/bin/sh
# Filename: ~/bin/socks-ssh
# This script opens an SSH connection through a SOCKS server
ssh -o ProxyCommand="/usr/local/bin/socks-gw %h %p" $@

[EMAIL PROTECTED] mydroid]$ $http_proxy
bash: http://127.0.0.1:3128: No such file or directory
[EMAIL PROTECTED] mydroid]$ ls $GIT_SSH
/usr/local/bin/socks-ssh
[EMAIL PROTECTED] mydroid]$ ls $GIT_PROXY_COMMAND
/usr/local/bin/socks-gw

[EMAIL PROTECTED] mydroid]$ repo init -u 
git://android.git.kernel.org/platform/manifest.git
Getting repo ...
   from git://android.kernel.org/tools/repo.git
ERROR: Got error response from SOCKS server: 1 (general SOCKS server
failure).
FATAL: failed to begin relaying via SOCKS.
fatal: The remote end hung up unexpectedly
[EMAIL PROTECTED] mydroid]$


On Oct 22, 10:48 am, Chris <[EMAIL PROTECTED]> wrote:
> David Given wrote:
> > I've finally managed to get a copy of the source;git.webkit.org was
> > back up, but repo sync would die every couple of minutes, but I just
> > kept repeating it until it worked.   However, I don't have the necessary
> > tools to build it yet, so I don't know if it's complete.
>
> The webkit problem got resolved for me when the team switched over to
> mirrors for some external components 
> (seehttp://source.android.com/known-issues).
>
> From in front of theproxy, I got lucky and had a totally clean "repo
> sync" from in front of theproxywith no socket errors late last
> night.  From behind aproxy, I was able to sync successfully sometime
> last night with a "repo sync" in a loop with a 60 second backoff until
> it succeeded.   I was definately seeing random socket errors too.
> Hopefully it will get better with updates to the servers, repo tool,
> and after the initial hammering of downloads completes...
>
> Now on to trying to build...
>
> David Given wrote:
> > Chris wrote:
> > > I suspect that you are right and these external components and
> > > associatedgitrepositories are getting hammered.  I have yet to see
> > > success getting past thegit.webkit.org stage of repo sync.
> > > Hopefully, repo options will show up to allow it to proceed with other
> > > downloads and/or retry on failure.
>
> > I've finally managed to get a copy of the source;git.webkit.org was
> > back up, but repo sync would die every couple of minutes, but I just
> > kept repeating it until it worked. However, I don't have the necessary
> > tools to build it yet, so I don't know if it's complete.
>
> > --
> > David Given
> > [EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Android Internals" group.
To post to this group, send email to android-internals@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/android-internals?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to