Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TortoiseSVN Error: "OPTIONS of 'https://...' could not connect to server (...)"

I'm trying to setup a new computer to synchronize with my SVN repository that's hosted with cvsdude.com.

I get this error:

![SVN Error][1] - removed image shack image that had been replaced by an advert

Here's what I did (these have worked in the past):

  1. Downloaded and installed TortoiseSVN

  2. Created a new folder C:\aspwebsite

  3. Right-clicked, chose SVN Checkout...

  4. Entered the following information, clicked OK:

    • URL of repository: https://<reponame>-svn.cvsdude.com/aspwebsite
    • Checkout directory: C:\aspwebsite
    • Checkout depth: Fully recursive
    • Omit externals: Unchecked
    • Revision: HEAD revision
  5. Got TortoiseSVN error:

    • OPTIONS of 'https://<reponame>-svn.cvsdude.com/aspwebsite': could not connect to server (https://<reponame>-svn.cvsdude.com)

Rather than getting the error, TortoiseSVN should have asked for my username and password and then downloaded about 90MB.

Why can't I checkout from my Subversion repository?


Kent Fredric wrote:

Either their security certificate has expired, or their hosting is broken/down.

Contact CVSDude and ask them whats up.

It could also be a timeout, because for me their site is exhaustively slow..

It errors after only a couple seconds. I don't think it's a timeout.

Matt wrote:

Try visiting https://[redacted]-svn.cvsdude.com/aspwebsite and see what happens. If you can visit it in your browser, you ought to be able to get the files in your SVN client and we can work from there. If it fails, then there's your answer.

I can access the site in a web browser.

like image 552
Zack Peterson Avatar asked Sep 21 '08 17:09

Zack Peterson


People also ask

What does red exclamation mark mean in TortoiseSVN?

That means the Subversion status is normal. 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 get rid of TortoiseSVN?

How do I uninstall TortoiseSVN? Simply uninstall from Add/Remove Programs in the Windows control panel. This does not affect your repositories or working copies at all.

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.


2 Answers

Check you proxy settings in TortoiseSVN->Settings->Network.

Maybe they are configured differently than in your web browser.

like image 120
Palmin Avatar answered Sep 20 '22 17:09

Palmin


Late reaction, but I've struggled with this for a while so maybe I can save somebody some time by showing my solution.

My problem showed a bit different, but the cause might be the same.

In my situation, TortoiseSVN kept on trying to connect via a proxy server. I could access SVN via chrome, firefox and IE fine.

Turns out that there is a configuration file that has a different configuration than the GUI in TortoiseSVN shows.

Mine was located here: C:\Documents and Settings\[username]\Application Data\Subversion\, but you can also open the file via the TortoiseSVN gui.

TortoiseSVN

In my file, http-proxy-exceptions was empty. After I specified it, everything worked fine.

[global] http-proxy-exceptions = 10.1.1.11 http-proxy-host = 197.132.0.223 http-proxy-port = 8080 http-proxy-username = defaultusername http-proxy-password = defaultpassword http-compression = no 
like image 33
Wouter van Nifterick Avatar answered Sep 21 '22 17:09

Wouter van Nifterick