0

I have got an issue while updating svn repository from my server. See the error below

SVN: OPTIONS of 'http://ipaddress/svn/folder': could not connect to server (http://ipaddress)

but i can to ping and connect SVN server via ssh.

  • Can you please provide your svn command line? This would appear to be an issue with your SVN server not running or accepting connections. – slm Mar 31 '14 at 5:42
  • 1
    The issue is with the WEB SERVER... http://... means svn is trying to talk to a webserver. – Ricky Beam Mar 31 '14 at 5:47
2

Since you can SSH to your server, you should be using svn+ssh URLs, not http URLs. Try something like this:

$ svn co svn+ssh://myuser@ipaddress/svn/folder checkoutlocation

If your login name is the same on both machines (myuser in this example) and don't need the checkout directory to be named differently, you can shorten the command:

$ svn co svn+ssh://ipaddress/svn/folder

This tells Subversion to tunnel the SVN protocol over SSH. HTTP is an entirely separate protocol, and requires that you set up Subversion to work with Apache.

2

Your Web server is not responding. I would:

  • Check that your Web server is running.
  • Check that it is accepting connections from the local host.

If both of those work, it is likely a firewall issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.