------------------------------------------------------------------------------
To reply, visit https://hellosplat.com/s/beanbag/tickets/4503/
------------------------------------------------------------------------------

New ticket #4503 by sknyazhentsev
For Beanbag, Inc. > Review Board

Status: New
Tags: Priority:Medium, Type:Defect


------------------------------------------------------------------------------
Unable to add subversion repository (SVN+SSH and custom port)
==============================================================================

# What version are you running?
2.5.7

# What's the URL of the page containing the problem?
r/new/

# What steps will reproduce the problem?
1. Add subversion repository through admin interface. Specifically one with 
svn+ssh, username, and custom port - svn+ssh://<username>@<domain>:<custom 
port>/path/to/repo
2. Repository is added successfully.
3. Go to  new review request page. Error appears: Unable to connect to a 
repository at URL 'svn+ssh://<username>@<domain>:<custom port>/path/to/repo'
To better debug SSH connection problems, remove the -q option from 'ssh' in the 
[tunnels] section of your Subversion configuration file.
Network connection closed unexpectedly


# What is the expected output? What do you see instead?
I would like to add new review request


# What operating system are you using? What browser?
Ibelieve this is not browser issue


# Please provide any additional information below.
Trying to debug this I attempted many things:
- specifying username in username field - same result, repo is added 
successfully, but it is impossible to add new review request
- tried adding repo URL to mirror URL - didn't help
- specified port in  <app dir>/data/.subversion/config -  I was still unable to 
add repo in administration area without specifying port anyway
- adding settings to .ssh/config - same result
- enabled debug settings in reviewboard.wsgi
os.environ['DEBUG_RBSSH'] = "1"
os.environ['RBSSH_LOG_DIR'] = "/tmp"

then monitored logs
01-03 18:09 root               DEBUG    ['/usr/local/bin/rbssh', 
'<username>@<domain>:<custom port>', 'svnserve', '-t']
01-03 18:09 root               DEBUG    PID 29036
01-03 18:09 root               DEBUG    !!! <domain>:<custom port>, <username>, 
['svnserve', '-t']
01-03 18:09 root               ERROR    Unknown exception during connect: 
[Errno -2] Name or service not known (<class 'socket.gaierror'>)

can't understand much by this. Same errors appear if I run rbssh from command 
line
 PYTHONPATH=/var/www/html/reviewboard/conf DEBUG_RBSSH=1 
DJANGO_SETTINGS_MODULE=reviewboard.settings rbssh 
svn+ssh://<username>@<domain>:<custom port>/path/to/repo
Unknown exception during connect: [Errno -2] Name or service not known (<class 
'socket.gaierror'>)


I'm out of options. What should I do to be able to add this repo to reviewboard 
and be able to add review requests?

------------------------------------------------------------------------------

-- 
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.

Reply via email to