Repository settings problem
Asked by TamasS:

Dear All,

we try to configure a SVN repo to our Fisheye. The test connection fails everytime however:

1. The repo URL, user/pass are correct - we tested it via web browser

2. The same URL host is set to a different repo in our Fisheye and it's running so there is no firewall or proxy issue here

We have no idea what is it behind the problem...:(

The URL is: <http://xxx.xxx.xxx.xx/svn/xxx>

How can we set it?

Can you please help?

Thanks, in advance,

Rumi


Answers:
author: Conor
body: Subversion is refusing permission to access the repo. You should check the following:

1. You have configured a username and password for the repository in the repository configuration
2. The operating system user that is running FishEye does not have any cached Subversion credentials. Look in .subversion/auth.

comments: author: TamasS
body: hi Conor,

for the repository there are user/pw configured - if this is what you mena in point 1.

For the 2nd point: there is an "svn.ssl.server" folder under the .subversion/auth folder. What should we check here?

Thanks in advance for help!

Tamas


author: Richard Kiefer
body: We are currently evaluating Crucible 4.6. We also got this error. We identified the root cause. Our setting:

\* different projects unter the same svn root, i.e. they all share the same revision counter, or, put differently, they are all subfolders of the same repository

\* we add repository http://svn/project1 to Crucible, with user user1. That user has only access to project1, not to project2.

\* we add repository http://svn/project2 with a different user2, which has access to project2 only.

We get the above mentioned forbidden error on repository with project2.

Root cause, as it seems: Crucible uses the user1 from project1 to access project2, and neglects the user2 completely. This seems to be a caching issue/bug with user credentials, maybe caused by the fact that both projects reside in the same svn-repository, namely http://svn/

Workaround: configure the svn-URL of project2 to be http://user2@svn/project2. Then, Crucible does use the specified user credentials.


author: Luis Alberto Rojas Rojas
body: Try add

    SecRule REQUEST_METHOD "^(PROPFIND|PROPPATCH)$" allowSecRule REQUEST_METHOD "^(REPORT|OPTIONS)$" allowSecRule REQUEST_METHOD "^(MKACTIVITY|CHECKOUT)$" allowSecRule REQUEST_METHOD "^(PUT|DELETE|MERGE)$" allow

to modsecurity_crs_10_config.conf then restart httpd


author: Software Asset Management
body: Hi Guys,

Kindly provide the solution for this. I am getting the same error while changing the svn repository password in fisheye.

Unable to get info for the repository root for Luxor  
svn: E170001: OPTIONS of '/svn/xxx/xxx/cache/aaa': 403 Forbidden ([https://subversion.apps.com)\<br\< a=""\>\>at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:62)
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:731)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:362)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:350)
Unable to g...
<br />](https://subversion.apps.com%29%3Cbr)[https://subversion.apps.com)\<br\< a=""\>\>at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:62)
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:731)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:362)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:350)
Error testi...](https://subversion.apps.com%29%3Cbr)[https://subversion.apps.com)\<br\< a=""\>\>at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:62)
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:731)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:362)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:350)
Connection ...](https://subversion.apps.com%29%3Cbr)


author: TamasS
body: Unable to get info for the repository root for XXX  
svn: E170001: OPTIONS of '/svn/XXX': 403 Forbidden ([http://xxxx.xxx.xxx.xxx.xx)
at](http://xxxx.xxx.xxx.xxx.xx%29%3Cbr%3Eat) org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:62)  
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)  
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:731)  
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:362)  
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:350)

Unable to get Repository Root URL for XXX:http://xxxx.xxx.xxx.xxx.xx/

Exception getting FishEye access control  
svn: E170001: PROPFIND of '/svn/xxx': 403 Forbidden ([http://xxxx.xxx.bud.xxx.xx)
at](http://xxxx.xxx.bud.xxx.xx%29%3Cbr%3Eat) org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:62)  
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)  
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:731)  
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:362)  
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:350)

Error testing connection.  
svn: E170001: PROPFIND of '/svn/xxx': 403 Forbidden ([http://xxxx.xxx.bud.xxx.xx)
at](http://xxxx.xxx.bud.xxx.xx%29%3Cbr%3Eat) org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:62)  
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)  
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:731)  
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:362)  
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:350)

Connection failed.


author: Foong
body: Hi Rumi,

Please at least give us the test connection failure message so that we can check on it.


Tags: fisheye-crucible-administration