TortoiseSVN will not connect to subversion on Windows Vista 64

12,045

Solution 1

I have found the problem. I posted answer at Tigris.org http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2700618 But here is the answer also.

Alright everyone, I found the dang file that was killing me.

Environment Windows Vista 64 HP also Win 7 64 TortoiseSVN 1.6.6

  • I turned off the windows feature that hides all protected files and folders.
  • Found a folder in root called 'C:\ProgramData\'. Inside of this folder was a folder 'Subversion' with a file called 'servers'. No file extension on the file. So the path was C:\ProgramData\Sub​version\servers
  • I used notepad to look in it and saw all my projects listed under proxy- entries. I changed the file to bkup.server (so i could revert just in case).
  • Then right clicked in Windows Explorer window did an update and POOF, magic, it worked.

I hope this spares someone else out there a lot of misery. Thank you all for your help in this.

Solution 2

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.

Solution 3

I had the same problem, but my solution was inspired on yours. My subversion folder was in C:\Users\\AppData\Roaming\Subversion, but the 'servers' file looked normal.

In the same parent directory, I also noticed the 'TortoiseSVN' directory. So at C:\Users\\AppData\Roaming\TortoiseSVN . I changed the name of that folder to xTortoiseSVN to make it unreachable for TortoiseSVN and POOF that fixed the problem. There probably was a corruption in one of the files.

Thanks for the inspiration :)

Share:
12,045
edjm
Author by

edjm

I've been doing full development professionally since 2000. Started out with HTML & Javascript which lead into learning Coldfusion & SQL. Got into some system administration doing deployments and setting up tape backups. A few years later got back into doing Java (which I had done a little back in college) and started using JSP. Picked up use of Postgresql, MySql, MS Sql server as well as Oracle DB. Learned Flash and Actionscripting. Back to Coldfusion in 2009-2012 and ExtJS. Learned some ETL software and use with Java processing of large data. Jira exposure with Jenkins. Then stuck in Java land for many years with Spring and some horrible hibernate environments. Last couple years have gotten the pleasure of learning Angular. Certified in Google Cloud but never got to do anything with that. Hard to chase new tech when projects have you stuck in old tech.

Updated on June 04, 2022

Comments

  • edjm
    edjm over 1 year

    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.

  • edjm
    edjm almost 13 years
    I have found the problem. I posted answer at Tigris.org tortoisesvn.tigris.org/ds/… But here is the answer also.
  • edjm
    edjm almost 13 years
    I never had the proxy set in the past. Not even too sure what a proxy is and would not know what to set them to.
  • mliebelt
    mliebelt about 12 years
    Could you accept your answer as the right one, so everyone knows there is nothing left to do?