Cant connect to SVN repository using RB 1.1 alpa 2

36 views
Skip to first unread message

pk

unread,
Nov 25, 2009, 9:21:39 AM11/25/09
to reviewboard
Hi all,

I installed Review Board 1.1 alpha 2 on Ubuntu m/c, a couple of days
back, installation went okay
but since I'm trying to add a remote svn repository to ReviewBoard
through
the admin UI.


The Path i use to enter is what i get from the "svn info" command, its
something like this

svn+ssh://pankaj@build1/svn


I have tried all combinations of with and without the username.

Error I get is: "A repository was not found at the specified path."
I have entered correct credential and I did see the trust message
coming which
i accepted but i see the above error then.

I have tried connecting to some other repositories as well (using svn
+ssh), but with no success.
I'm able to connect to the same locations from the server on the
command terminal I'm running Review Board on.

I'm stuck because after a lot of googling and and also lookin at
review board logs, there was not a lot of progress.

Can some one help me. Thanks in advance !

Regards,
Pankaj

Christian Hammond

unread,
Nov 26, 2009, 9:05:49 PM11/26/09
to revie...@googlegroups.com
Hi,

Is this hosted on a Windows or Linux install?

What happens if you check out that repo on the same box?

Did it ever prompt you for confirmation on the host key?

Christian
> --
> Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~----------~----~----~----~------~----~------~--~---
> To unsubscribe from this group, send email to reviewboard...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en

--
--
Christian Hammond - chi...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com

pk

unread,
Nov 27, 2009, 12:25:22 AM11/27/09
to reviewboard
Hi Christian,

Is this hosted on a Windows or Linux install?
- Its hosted on a Ubuntu m/c.

What happens if you check out that repo on the same box?
The repository is on a remote m/c which is accessed over VPN,
I dont wont to have a local copy of the repository !


Did it ever prompt you for confirmation on the host key?
Yes, it did I accepted the confirmation but after that it lead to
Error : "A repository was not found at the specified path."

I'm able to connect to the same repository to the same path
thr' the command prompt/terminal


Also, the reviewboard logs i have configured for "Allow code
profiling" option
but there are no logs for the failure, I do see logs for the
successful authentication

I'm stuck now, we have a couple project repositories which we wanted
to use the tool
with most of them use SVN i.e. svn+ssh access !!


Appreciate your help in advance !!

- Pankaj

Dregel

unread,
Dec 16, 2009, 2:46:50 PM12/16/09
to reviewboard
Hi,

I hit the same error today. Did you ever solve this?

On Nov 27, 6:25 am, pk <pankaj.khar...@gmail.com> wrote:
> Hi Christian,
>
> Is this hosted on a Windows or Linux install?
> - Its hosted on a Ubuntu m/c.
>
> What happens if you check out that repo on the same box?
> Therepositoryis on a remote m/c which is accessed over VPN,

Pankaj Kharode

unread,
Dec 17, 2009, 12:14:00 PM12/17/09
to revie...@googlegroups.com
No i haven't been able to do so, I can connect to local svn rep though. 

-Pankaj

--
Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to reviewboard...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en



--
TGO

Nadia

unread,
Dec 21, 2009, 1:30:23 PM12/21/09
to reviewboard
Hi,

I'm having the exact same issue as well, any planned fix?

-Nadia

> > Happy user? Let us know athttp://www.reviewboard.org/users/


> > -~----------~----~----~----~------~----~------~--~---
> > To unsubscribe from this group, send email to

> > reviewboard...@googlegroups.com<reviewboard%2Bunsubscribe@googlegr oups.com>

Christian Hammond

unread,
Dec 21, 2009, 7:56:38 PM12/21/09
to revie...@googlegroups.com
Are you guys able to perform a checkout with that exact repository path on the server?

Did it prompt you for SSH host verification?

Christian


--
Christian Hammond - chi...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


Happy user? Let us know at http://www.reviewboard.org/users/

-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to reviewboard...@googlegroups.com

Nadia Alramli

unread,
Dec 21, 2009, 8:32:17 PM12/21/09
to revie...@googlegroups.com

Are you guys able to perform a checkout with that exact repository path on the server?

Yes, I'm able to use the exact same repository url from command line without problems.

 
Did it prompt you for SSH host verification?

Yes, and I clicked OK to add the host, the host was added to the .ssh directory as expected.

-Nadia

Christian Hammond

unread,
Dec 21, 2009, 8:37:39 PM12/21/09
to revie...@googlegroups.com
Can you edit your reviewboard/scmtools/svn.py and, in check_repository, replace each "print ..." statement with: logging.info(...) ? Then try again and see what the log file says.

(Those prints should have been log statements originally. I'll fix that probably tonight.)


Christian

--
Christian Hammond - chi...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


Christian Hammond

unread,
Dec 21, 2009, 8:38:13 PM12/21/09
to revie...@googlegroups.com
Oh, you will also need to add "import logging" to the top of the file.


Christian

--
Christian Hammond - chi...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


Nadia Alramli

unread,
Dec 21, 2009, 8:48:24 PM12/21/09
to revie...@googlegroups.com

Can you edit your reviewboard/scmtools/svn.py and, in check_repository, replace each "print ..." statement with: logging.info(...) ? Then try again and see what the log file says.
Sure, I'll try this tomorrow at work.

Thanks for looking into this

Nadia 

Nadia Alramli

unread,
Dec 22, 2009, 11:31:18 AM12/22/09
to revie...@googlegroups.com
I edited svn.py and got the following logs:

2009-12-22 07:34:46,157 - DEBUG - Ciphers agreed: local=aes128-ctr, remote=aes128-ctr
2009-12-22 07:34:46,157 - DEBUG - using kex diffie-hellman-group1-sha1; server key type ssh-rsa; cipher: local aes128-ctr, remote aes128-ctr; mac: local hmac-sha1, remote hmac-sha1; compression: local none, remote none
2009-12-22 07:34:46,247 - DEBUG - Switch to new keys ...
2009-12-22 07:34:46,285 - DEBUG - userauth is OK
2009-12-22 07:34:46,289 - INFO - Authentication (password) successful!
2009-12-22 07:34:46,390 - DEBUG - EOF in transport thread
2009-12-22 07:34:46,547 - INFO - Connection closed unexpectedly
2009-12-22 07:34:47,309 - INFO - Logging to /var/www/reviews/logs/reviewboard.log with a minimum level of DEBUG
2009-12-22 07:34:47,309 - INFO - Log file for Review Board v1.1 alpha 2 (PID 23590)

I also tried to run pysvn in the interactive shell to see if it works. It worked:
>>> import pysvn
>>> client = pysvn.Client()
>>> client.set_default_username('username')
>>> client.set_default_password('password')
>>> client.info2('svn+ssh://svn.example.com/path/to/trunk/', recurse=False)
[('trunk', <PysvnInfo ''>)]

- Nadia

Dregel

unread,
Jan 20, 2010, 3:59:21 PM1/20/10
to reviewboard
I still havent been able to complete the installation... any news on
this?

Christian Hammond

unread,
Jan 20, 2010, 4:10:57 PM1/20/10
to revie...@googlegroups.com
Can you look at my previous posts in this thread and answer those questions as well? That'll help narrow this down for your setup.


Christian

--
Christian Hammond - chi...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


Reply all
Reply to author
Forward
0 new messages