TortoiseSVN Error: “OPTIONS of 'https://…' could not connect to server (…)”

后端 未结 20 1529
走了就别回头了
走了就别回头了 2020-12-09 07:34

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 im

相关标签:
20条回答
  • 2020-12-09 08:09

    remote VisualSVN server 2.5.8 is accessible from at least 3 computers. However on my local computer the url of the repository was not accessible and svn ls https://server-ip:443/svn/project/trunk return error

    OPTIONS of 'https://…' could not connect to server (…)
    

    My local computer used to have access to the server. The only thing that was changed was switching to http connection instead of https for Redmine reasons(certificate issue).

    I tried different things listed above. What actually solved my problem was installing a new the VisualSVN server 2.5.9 using the same repository. And also Redmine recognized the new repository through https.

    0 讨论(0)
  • 2020-12-09 08:13

    I did not have network settings changed in any way and thus most of the stuff presented here did not apply to me. After messing around a lot the comment about the virus scanner got me on the right track: There are some virus scanners like McAfee, that protect certain areas of the system directories and make them read-only. When you connect to a server for the first time, Tortoise SVN tries to write the certificate on one of these files which fails due to the protection. Switch off the protection briefly, start the check out and after the certificate dialog, you can switch it back on. This at least worked for me.

    0 讨论(0)
  • 2020-12-09 08:14

    It sounds like you are almost definitely behind a proxy server.

    Where this does not work for me behind my proxy:

    svn checkout http://v8.googlecode.com/svn/trunk/ v8-read-only
    

    this does:

    svn --config-option servers:global:http-proxy-host=MY_PROXY_HOST --config-option servers:global:http-proxy-port=MY_PROXY_PORT checkout http://v8.googlecode.com/svn/trunk/ v8-read-only
    

    UPDATE I forgot to quote my source :-)

    http://svnbook.red-bean.com/en/1.1/ch07.html#svn-ch-7-sect-1.3.1

    0 讨论(0)
  • 2020-12-09 08:14

    I had a similar issue; turns out it was case-sensitivity issue. So, make sure you use the proper case.

    0 讨论(0)
  • 2020-12-09 08:14

    Try pasting in the SVN URL into your browser's Address bar. You'll likely see that you cannot connect because of some issue with the URL. I had this issue just today and the problem was that I had mistyped the port number, but as others have noted it could also be a case-sensitivity issue, proxy settings, or other connection-level issues.

    0 讨论(0)
  • 2020-12-09 08:15

    It is the problem with your proxy setting in TortoiseSVN. Connect using a network which doesn't use proxy or configure your proxy settings properly.

    0 讨论(0)
提交回复
热议问题