Re: [android-building] Repo init fails with error "no host given"

1,844 views
Skip to first unread message

Magnus Bäck

unread,
May 13, 2013, 11:44:32 AM5/13/13
to android-...@googlegroups.com
On Monday, May 13, 2013 at 03:15 EDT,
Madhan kumar <suryama...@gmail.com> wrote:

> I am trying to build android source newly.
>
> I am following the steps as given by source.android.com
>
> While doing repo init, I am getting the following error always.
>
> if I set http_proxy to the proxy server address, the error is as:
>
> repo init -u https://android.googlesource.com/platform/manifest
> fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle
> fatal: error [Errno 111] Connection refused

Seems like you're pointing to the wrong proxy server (or the wrong
port). You can always run strace on the repo process to see exactly
what's going on.

> if I unset http_proxy , the error is as:
>
> repo init -u https://android.googlesource.com/platform/manifest
>
> fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle
> fatal: error no host given
>
> And also firewall exception is added for the port 29418(for gerrit).
>
> I also tried changing https to http. but still facing the same errors.

I don't know what this error is about, but if you *do* need to go
through a proxy there's little point in debugging the errors that
occurs when you're not trying to use the proxy.

--
Magnus Bäck
ba...@google.com

NEO

unread,
May 13, 2013, 11:35:17 AM5/13/13
to android-...@googlegroups.com
Hi Madhan

Please use http:// have a try.

在 2013年5月13日星期一,Madhan kumar 写道:
Hi All,

I am trying to build android source newly.

I am following the steps as given by source.android.com

While doing repo init, I am getting the following error always.

if I set http_proxy to the proxy server address, the error is as:

fatal: error [Errno 111] Connection refused

if I unset http_proxy , the error is as:

repo init -u https://android.googlesource.com/platform/manifest                                                                 
fatal: error no host given

And also firewall exception is added for the port 29418(for gerrit).

I also tried changing https to http. but still facing the same errors.

Please help me out of this.


Thanks,
Madhan

--
--
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
 
---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-buildi...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 


--
发自移动版 Gmail
Reply all
Reply to author
Forward
0 new messages