Git fatal: unable to connect a socket (Connection timed out)

1,264 views
Skip to first unread message

cha...@pinteq.co.za

unread,
Aug 26, 2010, 9:54:18 AM8/26/10
to Android Building
Hi There,

I am trying to setup my local repo for Android.

I am behind a proxy, which is un-authenticated run on Clear OS. We
have opened the required port for git on our Clear OS box.

Here is the problem:

chadley@JHB-WILSONCUBUNTU:~/mydroid$ repo init -u
git://android.git.kernel.org/platform/manifest.git
Getting repo ...
from git://android.git.kernel.org/tools/repo.git
android.git.kernel.org[0: 130.239.17.12]: errno=Connection timed out
android.git.kernel.org[0: 199.6.1.176]: errno=Connection timed out
fatal: unable to connect a socket (Connection timed out) chadley@JHB-
WILSONCUBUNTU:~/mydroid$



My Distro is Ubuntu 10.04 LTS lucid etc... I have followed the
documentation to the letter and this is where I am stuck.

How does I use Git via the proxy? There is Zero chance in a million
years that I will be allowed to connect directly to the router as the
are over 700 users using the line here.

Would anyone beable to assist me with some suggestions on how to
figure out what is going wrong? I have tried looking for log files and
monitoring ports. I can't find any valid reason why it should not
work.
Yet if I go to the website the site is responding nicely.

Regards

Chadley

cha...@pinteq.co.za

unread,
Aug 27, 2010, 12:39:28 AM8/27/10
to Android Building
I suppose no-one has ever solved this problem before! :( I am aware it
has something to do with the proxy. But is there no small possibility
that someone here can give me a heads up that is not related to the
port.
Obviously Git uses higher ports on the return traffic. Maybe I need to
know which ports to open. Is it possible that another protocol like
skype is blocking UDP requests.
I can't figure it out on my own Guys. I need support from a community.

Which list should I use for solving proxy related issues?


On Aug 26, 3:54 pm, "chad...@pinteq.co.za" <chad...@pinteq.co.za>
wrote:

amol verule

unread,
Aug 27, 2010, 4:44:58 AM8/27/10
to android-...@googlegroups.com
Hi,
git uses         9418/tcp           port.



--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en



--
Thanks & Regards,
Verule Amol R.


meodou

unread,
Aug 27, 2010, 7:09:45 AM8/27/10
to Android Building
Hi,
I had this problem in the past and I still have it when I use a 3G usb
modem connection, When I got an ADSL internet connection the problem
disappeared. I ll be really interested in understanding what is
failing too.
BR,
meodou

On Aug 27, 10:44 am, amol verule <aver...@gmail.com> wrote:
> Hi,
> git uses         9418/tcp           port.
>
> On Fri, Aug 27, 2010 at 10:09 AM, chad...@pinteq.co.za <chad...@pinteq.co.za
> > android-buildi...@googlegroups.com<android-building%2Bunsubscrib e...@googlegroups.com>

amol verule

unread,
Aug 27, 2010, 7:14:51 AM8/27/10
to android-...@googlegroups.com
may be issue in netprovider ..
if 9418/tcp port is open then it should work..

amol verule

unread,
Aug 27, 2010, 7:36:28 AM8/27/10
to Chadley Wilson, android-...@googlegroups.com
That is Hardware/Software Firewall rule configuration problem.
i to was having same problem even by keeping port open at proxy server & hardware firewall ,i was not able to use git. after doing changes in firewall rules by administrator it worked.

On Fri, Aug 27, 2010 at 4:53 PM, Chadley Wilson <chad...@pinnacle.co.za> wrote:
Sorry for replying directly to you,

For some reason I can't post from my outlook. My post gets rejected by the server.
What do mean by net provider? As in the company that provides us with internet?

Do I need to have the port open on both incoming and outgoing?
We have already had incoming and outgoing opened and on top of that we also added rules for TCP and UDP.
Still no joy?



Chadley Wilson | Engineer
Research and Development | Pinnacle Africa
Direct: (011) 265 3150| Mobile: 083 295 4995 | Fax: (011) 265 3277
www.pinnacleafrica.co.za


From: android-...@googlegroups.com [mailto:android-...@googlegroups.com] On Behalf Of amol verule
Sent: 27 August 2010 01:15 PM
To: android-...@googlegroups.com
Subject: Re: [android-building] Re: Git fatal: unable to connect a socket (Connection timed out)

may be issue in netprovider ..
if 9418/tcp port is open then it should work..
On Fri, Aug 27, 2010 at 4:39 PM, meodou <meo...@gmail.com> wrote:
Hi,
I had this problem in the past and I still have it when I use a 3G usb
modem connection, When I got an ADSL internet connection the problem
disappeared. I ll be really interested in understanding what is
failing too.
BR,
meodou

On Aug 27, 10:44 am, amol verule <aver...@gmail.com> wrote:
> Hi,
> git uses         9418/tcp           port.
>
> On Fri, Aug 27, 2010 at 10:09 AM, chad...@pinteq.co.za <chad...@pinteq.co.za

Pinnacle Technology Holdings E-Mail Disclaimer:

This e-mail is confidential and intended solely for the use of the individual(s) to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of Pinnacle Technology Holdings any of it's divisions or affiliates. If you are not the intended recipient, be advised that you have this e-mail in error and that any use, dissemination, forwarding, printing, or copying of it is strictly prohibited.

Chad

unread,
Aug 31, 2010, 5:25:42 AM8/31/10
to Android Building
No Solution was found other than to point directly at the router..
Sorry Guys... :(


On Aug 27, 1:36 pm, amol verule <aver...@gmail.com> wrote:
> That is Hardware/Software Firewall rule configuration problem.
> i to was having same problem even by keeping port open at proxy server &
> hardware firewall ,i was not able to use git. after doing changes in
> firewall rules by administrator it worked.
>
Reply all
Reply to author
Forward
0 new messages