TortoiseSVN will not connect to subversion on Windows Vista 64

Elijah picture Elijah · Jan 25, 2011 · Viewed 12k times · Source

The server is running Subversion version 1.5.2 (r32768).

For the past year that I have had Tortoise installed on my works Vista 64bit laptop it NEVER connected to the remote repository. However using IntelliJ IDE I can connect to the repository just fine.

At home I am running / was running up until an hour ago TortoiseSVN 1.6.10. This was working just fine for the past few months but then after some software updates to my system and rebooting something change and now Tortoise will not connect to the remote repository either. I updated Tortoise to 1.6.12 and still it wont work.

I'm beyond frustrated with this and could use some assistance. Nobody where I work knows how to exactly setup the connections. It's either it works or not and unfortunately for me it's not.

I went into the registry and deleted all the URL entries under the tortoise setting (yeah maybe I should not have but, damn i'm just fed up at this point.) After all I have been dealing with this on and off for a year searching for answers and trying different things I run across.

So question is simply this WHAT do I need to set and where do I need to set it to get my connections working on my systems. I'm sick of having to use my IDE to do things especially when I have several projects that I need to work with updating and pushing data to.

Thank you all for whatever aid you can provide.

Here are also some log statements from bashing on tortoise to get it working.

1/24/2011 - 8:06:15 PM Command : Update Error : OPTIONS of 'ip/folder';: Could not resolve hostname Error : `ip/folder/proj1';: The requested name is valid, but no Error : data of the requested type was found. Error : (ip) Finished! :

1/24/2011 - 8:09:18 PM Command : Update Error : OPTIONS of 'ip/folder';: could not connect to server (ip) Finished! :

This was trying to pull a new copy of a project

1/24/2011 - 10:59:42 PM Command : Checkout from ip/folder, revision HEAD, Fully recursive, Externals included Error : OPTIONS of 'ip/folder';: could not connect to server (ip) Finished! :

Yes I can view the repository in Internet Explorer. Yes I can pull and push data to the repository with my IntelliJ IDE.

Answer

eckes picture eckes · Jan 26, 2011

It seems like you need to specify a proxy server to access your repository. The proxy server is a – more or less – central access point for all computers of a corporate network to access the internet or other network resources.

If you set a proxy server in IntelliJ, copy the information from there and enter it into the TortoiseSVN proxy settings as described here.

To see the proxy settings for IE, open the Internet Options, then go to the Connections tab and click on LAN Settings. There shall be some information in the Proxy Server field that you can copy and enter it in Tortoise's proxy settings.

If there's no explicit proxy specified in the LAN Settings but an automatic configuration script, download the script (e.g. using wget or some other client that doesn't evaluate the script) and search a proxy in the downloaded script.

If neither a proxy configuration script nor an explicit proxy is given in IE, it's no proxy-related issue.

Another difference between accessing the repo with IE and accessing it with TortoiseSVN is that the IE always uses the HTTP(S) protocol to access the repo whereas Tortoise can also deal with the svn:// protocol. Are you absolutely sure that you specified http://server.company.com/path/to/repo when checking out with Tortoise and not svn://server.company.com/path/to/repo (and is the URL that you're going to check out really the same as in IntelliJ? Which protocol is set in IntelliJ?)? The svn:// protocol could be blocked by corporate firewalls while http:// and https:// will surely not be blocked by the firewall.