Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tortoise won't connect to subversion server

I'm trying to setup my home server with a Subversion repo on it (after some changes).

I uninstalled-reinstalled VisualSVN Server on the Windows Server 2003 server box and the address (i.e. URL) to the repo is https://server.network.local/svn/.

I can browse via IE to that address, and get the repository list (I do have to click past the certificate error though), but when I point tortoise to it as well, I get

OPTIONS of 'https://server.network.local/svn': Could not resolve hostname
'server.network.local': No such host is known.
(https://server.network.local)

I can ping and tracert to the server no problem though, so I'm not sure what the deal is.

like image 946
Steven Evers Avatar asked Nov 19 '09 04:11

Steven Evers


People also ask

Does TortoiseSVN include Subversion?

TortoiseSVN comes with everything you need to access a repository. Only if you want to set up a server then you will need the Subversion package.

What port does TortoiseSVN use?

The default PORT address which SVN uses is 80 or 81 these are ports that sometimes cannot be reopened for security reasons.


4 Answers

I had the same problem, as far as I can tell you can’t go straight to the SVN folder you need to include a repository file name in the path example:

https://server.network.local:8443/svn/MyNewRepository

Hope that helps

like image 122
Anthony Avatar answered Oct 16 '22 06:10

Anthony


You have to clear your local DNS cache (and if you have a DNS on your LAN, you'll also have to do that with that DNS cache).

like image 24
Stefan Avatar answered Oct 16 '22 08:10

Stefan


There is a note at the very bottom of the VisualSVN Server Getting Started guide and it answers the question. The note reads:

Unlike web browsers, Subversion clients are unable to access the content of the Repositories node in the VisualSVN Server Manager. In other words, you are unable to access https://svn.example.com/svn/ URL using Subversion clients such as TortoiseSVN or svn.exe.

I.e. Subversion client can access a repository but the URL https://server.network.local/svn/ points not to a repository, but to a repository root collection which you can view only with a web browser.

I also want to note that the error stated in the question can be different with newer Subversion clients. It can be:

XML parse error at line 1 no element found
like image 2
bahrep Avatar answered Oct 16 '22 06:10

bahrep


You might want to make your link 'https://server.network.local:8443/svn' and see if that makes a difference. I have that port on a tortise installation that I use.

Rick Strahl has a pretty good article on how to setup and run VisualSVN.

Hope this works for you.

like image 1
Chris Avatar answered Oct 16 '22 08:10

Chris