Hi, I'm using ReviewBoard 1.5RC1 nightlies.
When adding a repo, using the svn+ssh method I get a "A repository was not found at the specified path" error. My Repo root is: svn+ssh://svn.example.com/var/lib/svn My username is set to: davidu My password is set to a password that should not be required, but should work, just in case. My mirror path is empty. Trying to debug, here's what I see: On svn.example.com's SSH authentication log: Aug 5 16:34:09 svn sshd[16625]: Accepted publickey for davidu from 10.2.3.4 port 39255 ssh2 Aug 5 16:34:09 svn sshd[16627]: (pam_unix) session opened for user davidu by (uid=0) Aug 5 16:34:09 svn sshd[16627]: (pam_unix) session closed for user davidu Aug 5 16:34:09 svn sshd[16630]: (pam_unix) authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=10.2.3.4 user=www-data Aug 5 16:34:11 svn sshd[16628]: error: PAM: Authentication failure for www-data from 10.2.3.4 Aug 5 16:34:11 svn sshd[16631]: (pam_unix) authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=10.2.3.4 user=www-data Aug 5 16:34:13 svn sshd[16628]: error: PAM: Authentication failure for www-data from 10.2.3.4 Aug 5 16:34:13 svn sshd[16632]: (pam_unix) authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=10.2.3.4 user=www-data Aug 5 16:34:15 svn sshd[16628]: error: PAM: Authentication failure for www-data from 10.2.3.4 I'm not sure why it seems to initially work with my publickey, as I've set it up in conf/.ssh but then it seems to make subsequent connections as user www-data, which will never work. I have no idea where those are coming from. In the ReviewBoard.log I see: 2010-08-05 09:35:14,643 - DEBUG - SVNTool: Attempting ssh connection with host: svn.example.com, username: davidu 2010-08-05 09:35:14,705 - DEBUG - starting thread (client mode): 0x9627eacL 2010-08-05 09:35:14,711 - INFO - Connected (version 2.0, client OpenSSH_4.3p2) 2010-08-05 09:35:14,713 - DEBUG - kex algos:['diffie-hellman-group- exchange-sha1', 'diffie-hellman-group14-sha1', 'diffie-hellman-group1- sha1'] server key:['ssh-rsa'] client encrypt:['aes128-cbc', '3des- cbc', 'blowfish-cbc', 'cast128-cbc', 'arcfour128', 'arcfour256', 'arcfour', 'aes192-cbc', 'aes256-cbc', 'rijndael-...@lysator.liu.se', 'aes128-ctr', 'aes192-ctr', 'aes256-ctr'] server encrypt:['aes128- cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'arcfour128', 'arcfour256', 'arcfour', 'aes192-cbc', 'aes256-cbc', 'rijndael- c...@lysator.liu.se', 'aes128-ctr', 'aes192-ctr', 'aes256-ctr'] client mac:['hmac-md5', 'hmac-sha1', 'hmac-ripemd160', 'hmac- ripemd...@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] server mac: ['hmac-md5', 'hmac-sha1', 'hmac-ripemd160', 'hmac- ripemd...@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] client compress: ['none', 'z...@openssh.com'] server compress:['none', 'z...@openssh.com'] client lang:[''] server lang:[''] kex follows? False 2010-08-05 09:35:14,713 - DEBUG - Ciphers agreed: local=aes128-ctr, remote=aes128-ctr 2010-08-05 09:35:14,713 - 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 2010-08-05 09:35:14,853 - DEBUG - Switch to new keys ... 2010-08-05 09:35:14,857 - DEBUG - Trying discovered key XXX in /var/rb/ rb.dev41.sfo.opendns.com/data/.ssh/id_rsa 2010-08-05 09:35:14,895 - DEBUG - userauth is OK 2010-08-05 09:35:15,421 - INFO - Authentication (publickey) successful! 2010-08-05 09:35:15,523 - DEBUG - EOF in transport thread 2010-08-05 09:35:21,375 - ERROR - SVN: Failed to get repository information for svn+ssh://svn.example.com/var/lib/svn: Connection closed unexpectedly I've also tried using a Repo root of: svn+ssh://dav...@svn.example.com/ var/lib/svn and the result is the same EXCEPT that in the SSH authentication logs on the SVN server, the www-data now always shows davidu, except the connections still fail. I've looked briefly at reviewboard/scmtools/svn.py and added 2 logging notes: logging.debug('SVN: Calling super()') super(SVNTool, cls).check_repository(path, username, password) logging.debug('SVN: super() finished') Those both show up and seem to be error free. the call to client.info2() seems to be where the trouble is caused, but I'm not sure where to go from here. Any help would be greatly appreciated. Thanks, David -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en