Repo init failed on local repo

126 views
Skip to first unread message

frank.sposaro

unread,
Aug 31, 2011, 12:18:54 PM8/31/11
to Repo and Gerrit Discussion
Hi all,

I am trying to do a repo init -u from my local server.
However, I keep getting the following error.
My keys should be correct because I was able to create the project
over SSH and verify that it shows up in Gerrit.
I've tried opening up port 9418 for git, but I'm not sure if it is
working. Does this seem like it could be the issue? If so any advice
on the best way to open that port for this purpose?
I've tried iptables --append INPUT --in-interface eth0 -p tcp --dport
9418 -j ACCEPT then rebooting, but that doesn't seem to work.

Thanks.

remote: Counting objects: 88, done.
remote: Compressing objects: 100% (32/32), done.
remote: Total 75 (delta 49), reused 68 (delta 42)
Unpacking objects: 100% (75/75), done.
From /home/sposaro/source/repo/
* [new tag] v1.7.4 -> v1.7.4
* [new tag] v1.7.4.1 -> v1.7.4.1
* [new tag] v1.7.4.2 -> v1.7.4.2
* [new tag] v1.7.4.3 -> v1.7.4.3
* [new tag] v1.7.5 -> v1.7.5

info: Ignoring branch 'master'; using tagged release 'v1.7.3.1'

Getting manifest ...
from git://mobiserve/apps/lab.git
mobiserve[0: 192.168.1.101]: errno=Connection refused
fatal: unable to connect a socket (Connection refused)
fatal: cannot obtain manifest git://mobiserve/apps/lab.git

Martin Fick

unread,
Aug 31, 2011, 12:32:02 PM8/31/11
to repo-d...@googlegroups.com, frank.sposaro
On Wednesday 31 August 2011 10:18:54 am frank.sposaro wrote:
> I've tried opening up port 9418 for git, but I'm not sure

Try 29418

-Martin

frank.sposaro

unread,
Aug 31, 2011, 12:40:14 PM8/31/11
to Repo and Gerrit Discussion
Gerrit's is listening on this port.
This was the port I used in the ssh when I created a new project.

I'm not sure exactly what you mean by try 29418.
Something like,

./repo/repo init -u git://mobiserve:29418/apps/lab.git

Martin Fick

unread,
Aug 31, 2011, 12:44:26 PM8/31/11
to repo-d...@googlegroups.com, frank.sposaro
On Wednesday 31 August 2011 10:40:14 am frank.sposaro wrote:
> Gerrit's is listening on this port.
> This was the port I used in the ssh when I created a new
> project.
>
> I'm not sure exactly what you mean by try 29418.
> Something like,

I just meant that 29418 is the standard Gerrit port, I
thought that perhaps you got that wrong. I you changed
that, then ignore my message.

> ./repo/repo init -u git://mobiserve:29418/apps/lab.git
>
> On Aug 31, 12:32 pm, Martin Fick <mf...@codeaurora.org>
wrote:
> > On Wednesday 31 August 2011 10:18:54 am frank.sposaro
wrote:
> > > I've tried opening up port 9418 for git, but I'm not
> > > sure
> >
> > Try 29418

--
Employee of Qualcomm Innovation Center, Inc. which is a
member of Code Aurora Forum

frank.sposaro

unread,
Aug 31, 2011, 5:32:21 PM8/31/11
to Repo and Gerrit Discussion
When I list my ports I have nothing listening on 9418.
Is there suppose to be some sort of git-daemon running to handle
these requests?
Reply all
Reply to author
Forward
0 new messages