问题
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.
回答1:
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
回答2:
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).
回答3:
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
回答4:
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.
回答5:
Hmm. "Could not resolve hostname" is one layer below SSL, repositories and such. My bet is it's the (personal) firewall not letting Tortoise through.
回答6:
It's possible TSVN isn't happy with a bad SSL certificate, so you'll need to make it good (I assume it's self-signed, so you'll need to manually add the cert into the correct certificate store in Windows).
Before you go ahead and do this, what happens if you point TSVN to a non-secure version (i.e., http://) of the site? Is it happy then? If it is then it's definately pointing to SSL problems.
回答7:
Set the proxy setting of the SVN. Just right click and Tortoise SVN and setting and add the proxy setting. It may work for you.
回答8:
This issue is regarding DNS Server...
See if it gives error like this https://server.xxx.com:435/svn
if you replace server.xxx.com with the appropriate ip (mean ip of svn server computer)
it works..
so just make a AAAA record in forward lookup zone and make PTR in reverse lookup zone and problem is resolved.
来源:https://stackoverflow.com/questions/1760900/tortoise-wont-connect-to-subversion-server