An SVN error (200 OK) when checking out from my online repository

后端 未结 14 1036
自闭症患者
自闭症患者 2020-12-01 07:00

I\'m trying to set up my first repository on my host and am getting this error when I use TortoiseSVN to checkout the project:

Error: OPTIONS of \'htt

相关标签:
14条回答
  • 2020-12-01 07:31

    Apparently, this is more a restriction issue by my host, and I am working with them to resolve it.

    Thanks, 1800.

    BTW, the answer here was that my host, A2 Web Hosting, requires that SVN be handled via SSH using a public_key and configuring, in my case, TortoiseSVN to do the job. It was sort of funky for someone who has just a little experience setting up keys, but it was pretty satisfying once it was done!

    You can find information about SVN on the A2 host in their support wiki.

    0 讨论(0)
  • 2020-12-01 07:31

    Another reason for getting this error (among the many above) is having a proxy set in ~/.subversion/servers when you don't need a proxy to get to the server you are trying to connect to.

    0 讨论(0)
  • 2020-12-01 07:33

    This error is completely generic and just means it couldn't communicate with the SVN server. Use your browser to look at the URL and see what's really being served. It should be a plain black and white page that says Powered by Subversion in the footer. That should help you figure out what the problem is.

    In my case the requests were not ending up at the DAV module because I'm using ProxyPass.

    0 讨论(0)
  • 2020-12-01 07:33

    Make sure SVNPath is set correctly in the Apache configuration!

    0 讨论(0)
  • 2020-12-01 07:34

    I had a different problem (and a solution). I do not understand why it happens, but since some of the repository DID checkout, I tried to checkout various content independently.

    I've found that only a JAR file in the root folder was not checked out and attempting to check it out caused the error. Since the file was a duplicate file of a same JAR file, which was in the "target" folder, I just deleted it from the repository via repo-browser (TortoiseSVN) and checked out the project via NetBeans again - finally it finished without the error.

    0 讨论(0)
  • 2020-12-01 07:36

    For me, the error was on the server side, and it was because I forgot to uncomment

    DAV svn
    

    in the configuration file /etc/apache2/mods-enabled/dav_svn.conf (on Debian).

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