Unable to connect to subversion
Asked by Rumceisz:

Hi All,

I try to configure a Subversion source to Fisheye but whenever I click the Test Connection I get the following error.

The problem is that I added the SVN URL and the path but somehow the Fisheye added this URL to the Fisheye Home directory URL!

Can you please help?

Thanks  

Unable to get info for the repository root for XXXXX  
svn: E155007: '/opt/jira/fisheye/fisheyeHome/182.33.6.333/xxxxx/trunk' is not a working copy  
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)  
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)  
at org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.parseDir(SVNWCDb.java:1491)  
at org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.obtainWcRoot(SVNWCDb.java:4760)  
at org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.readInfo(SVNWCDb.java:2536)

Unable to get Repository Root URL for xxxxx:182.33.6.333/xxxxx/trunk

Exception getting FishEye access control  
svn: E155007: '/opt/jira/fisheye/fisheyeHome/182.33.6.333/xxxxx/trunk' is not a working copy  
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)  
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)  
at org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.parseDir(SVNWCDb.java:1491)  
at org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.obtainWcRoot(SVNWCDb.java:4760)  
at org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.readInfo(SVNWCDb.java:2536)

Error testing connection.  
svn: E155007: '/opt/trackspace/fisheye/fisheyeHome/182.33.6.333/xxxxx/trunk' is not a working copy  
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)  
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)  
at org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.parseDir(SVNWCDb.java:1491)  
at org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.obtainWcRoot(SVNWCDb.java:4760)  
at org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.readInfo(SVNWCDb.java:2536)

Connection failed.


Answers:
author: Bhushan Nagaraj
body: <https://confluence.atlassian.com/display/FISHKB/Unable+to+get+Repository+Root+URL>

comments: author: Rumceisz
body: Hi,

no, it's on a different server.


author: Bhushan Nagaraj
body: Then,

First make sure your svn is accessible using the command

svn info url

Example:

```
svn info http://svn.example.com/svn5/
```


author: Rumceisz
body: Hi Bhushan,

I saw this command in the documentation but we couldn't run it. You mean in command prompt?


author: Bhushan Nagaraj
body: Hi Rumceisz,

Yes that command can be run through command prompt if you have a svn command line client installed. Or if you are using Tortoise SVN client, try accessing it through the repo browser.

What client are you using?

I would recommend taking a look at the different protocols your svn server can be served through. There is information available here:

<http://www.howtoforge.com/installing-subversion-and-configuring-access-through-different-protocols-on-ubuntu-11.10>

As long as your repository is being served properly and you are able to access it on a remote system, it must be really simple to add it to fisheye.


author: Venu Madhav
body: Hi Bhushan,

Even I to have the same problem and when I ttry to configure I got below error.

Then I tried svn info svn+ssh://user@10.10.X.X/home/svnroot and it is able to give info. I have taken

Repository Root: svn+ssh://user@10.10.X.X/home/svnroot and given as URL while configuration but still no luck and showing below error.

Unable to get info for the repository root for Reop  
svn: E215003: Host key ('10.10.X.X:22 \<ssh-rsa\>') can not be verified.  
at org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.verifyHostKey(DefaultSVNAuthenticationManager.java:567)  
at org.tmatesoft.svn.core.internal.io.svn.SVNSSHConnector$1.verifyServerHostKey(SVNSSHConnector.java:117)  
at org.tmatesoft.svn.core.internal.io.svn.ssh.SshHost$1.verifyServerHostKey(SshHost.java:228)  
at com.trilead.ssh2.transport.KexManager.handleMessage(KexManager.java:534)  
at com.trilead.ssh2.transport.TransportManager.receiveLoop(TransportManager.java:765)

Unable to get Repository Root URL for Reop:svn+ssh://user@10.10.X.X/home/svnroot/

Exception getting FishEye access control  
svn: E215003: Host key ('10.10.10.3:22 \<ssh-rsa\>') can not be verified.  
at org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.verifyHostKey(DefaultSVNAuthenticationManager.java:567)at com.trilead.ssh2.transport.TransportManager.receiveLoop(TransportManager.java:765)

Connection failed.

Very Much appreciated if I get solution.


author: Rumceisz
body: Now we configured with IP address and doesn't work.

Then I tried it by using: svn://sxf/xxxxx/trunk - same problem.

comments: author: Bhushan Nagaraj
body: Hi Rumceisz,

If your SVN server is located on the same server as your fisheye, try 'file://' protocol.

For example, if you are using a Windows system and your repository is located in C:\\csvn\\data\\repositories\\testrepo

You can add the repository using

file:\\\\\\C:\\csvn\\data\\repositories\\testrepo


author: Sergey Svishchev
body: which URL did you actually enter?


Tags: fisheye-crucible-administration