Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot connect to repo with TortoiseSVN

I've been running a project for some months now using the same TortoiseSVN repository without much hassle, until now.

I need to add another box to the project but it seems to be impossible for TSVN to connect to the repository. This is the stuff I've discovered or tried out:

I have two client boxes: the "old" one and the "new" one...

  1. Setting up and checking out a second folder on the "old" box works fine.
  2. Browsing to the repo via Chrome/IE on the "new" box also works fine.
  3. The browsers on my "new" box does not use a proxy (the same goes for the "old" box).
  4. I am running TSVN 1.7.4, Build 22459 - 64 Bit on both boxes
  5. When I attempt to connect to the repo from the "new" box using repo browser or checking out to a new folder I get this error message:

    Unable to connect to a repository at URL 'https://(ip-address omitted)/usvn/svn/(project omitted)' OPTIONS of 'https://(ip-address omitted)/usvn/svn/(project omitted)': could not connect to server (ip-address omitted)

  6. I have compared all TSVN settings between the "new" and "old" boxes and they all appear to match

  7. According to the people running the server there's no certificates in use
  8. The Windows firewall on the "new" box is down
  9. I'm running both "old" and "new" box from the same network. The "old" is connected via WIFI however whereas the "new" one is on wire.

I'm at my wits end on what to check so any hints would be greatly appreciated.

Thanks

like image 924
Jonas Rembratt Avatar asked Jan 24 '12 16:01

Jonas Rembratt


People also ask

How do I access my TortoiseSVN repository?

You can either store your repositories locally and access them using the file:// protocol or you can place them on a server and access them with the http:// or svn:// protocols. The two server protocols can also be encrypted. You use https:// or svn+ssh:// , or you can use svn:// with SASL.

What does red exclamation mark mean in TortoiseSVN?

As soon as you start editing a file, the status changes to modified and the icon overlay then changes to a red exclamation mark. That way you can easily see which files were changed since you last updated your working copy and need to be committed.

How do I access TortoiseSVN from command line?

Locate TortoiseSVN and click on it. Select "Change" from the options available. Refer to this image for further steps. After completion of the command line client tools, open a command prompt and type svn help to check the successful install.


1 Answers

You need to determine whether this is a problem with TortoiseSVN, your Subversion repository, or your network connection.

  • First of all, check your URL. I never used User-Friendly SVN, so I don't know what it does to the Apache httpd configuration. However, the standard Apache configuration for multiple repositories is usually http://<server>/svn/<module> and not http://<server>/svn/usvn/<module>. Is that /usvn/ directory suppose to be there?
    • By the way, how was Apache configured? Does User-Friendly SVN do that too, or does it merely allow you to configure the repositories? Are you using Visual-SVN, or did someone manually configure Apache httpd?
  • If the URL is correct, try pinging your Subversion server. Can you ping it from your Windows box? If not, you have a network issue. For some reason that IP address isn't even reachable from your client box.
  • Try opening a browser, and putting the URL of the Subversion repository into the window. This should work. If it does, the issue is probably with TortoiseSVN. Download a command line Subversion client, and see if you can checkout with that.
  • Try using the same URL on another box. Can you checkout from there? If so, it points to a problem with the network.
like image 193
David W. Avatar answered Sep 21 '22 08:09

David W.