Ubuntu – svn: Unable to connect / No repository found

svn

I'm going mad with this issue, that came out of all a sudden!
Briefly, if I try to connect my svn server, I receive the following:

$ svn list svn://host
svn: E170013: Unable to connect to a repository at URL 'svn://host'
svn: E210005: No repository found in 'svn://host'

Of course svnserve is running on the default port (3690) and

telnet host 3690

is regularly working.

No firewalls, server nor client-side.

svn projects and repos are regularly working locally.

Best Answer

another thing to check:

I setup a new svnserve and was connecting for the first time, but I got an error:

svn: E170013: Unable to connect to a repository at URL 'svn://host/path'  
svn: E210005: No repository found in 'svn://host/path'

(aside normal client nmap -Pn host -p3690 being open, the server itself gave same error with svn list -v file:///path, where it should list at least a revision zero)

SO, for me, turned out to be a leading whitespace in my /path/conf/svnserve.conf (i.e. I only removed the pound sign, and left a single space before anon-access and auth-access); and sorry, I forget which command gave me the clue, but I got an error

svn: E200002: line 20: Option expected

which was the anon-access line in svnserve.conf.

Related Question