'why Curcible+FishEye fail to Index my SVN repository with a "connection timeout error: connect" when the test connection is working well?
Asked by Jeannie Boffel:

I can add a repository and test the connection and I get the change set without any problem, but when come the indexing phase, it fail after 30 or 60 seconds with a connction timeout message.

Why?


Answers:
author: Jeannie Boffel
body: Command visible in the repository activity summary which is related to the indexing failure:

|------------------------------------------|----------------------------------|-------------|
| svn info -R -r 1000 http://SOME_URI@1000 | Wed Mar 25 11:10:26 GMT+900 2015 | **27219**ms |


author: Jeannie Boffel
body: Here is the Java error trace:

Caused by: org.tmatesoft.svn.core.SVNException: svn: E175002: connection refused by the server  
svn: E175002: PROPFIND request failed on '...(removed for privacy)...'  
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:106)  
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:90)  
at [org.tmatesoft.svn.core.internal.io](http://org.tmatesoft.svn.core.internal.io).dav.http.HTTPConnection.request(HTTPConnection.java:764)  
at [org.tmatesoft.svn.core.internal.io](http://org.tmatesoft.svn.core.internal.io).dav.http.HTTPConnection.request(HTTPConnection.java:371)  
at [org.tmatesoft.svn.core.internal.io](http://org.tmatesoft.svn.core.internal.io).dav.http.HTTPConnection.request(HTTPConnection.java:359)  
at [org.tmatesoft.svn.core.internal.io](http://org.tmatesoft.svn.core.internal.io).dav.DAVConnection.performHttpRequest(DAVConnection.java:710)  
at [org.tmatesoft.svn.core.internal.io](http://org.tmatesoft.svn.core.internal.io).dav.DAVConnection.doPropfind(DAVConnection.java:131)  
at [org.tmatesoft.svn.core.internal.io](http://org.tmatesoft.svn.core.internal.io).dav.DAVUtil.getProperties(DAVUtil.java:73)  
at [org.tmatesoft.svn.core.internal.io](http://org.tmatesoft.svn.core.internal.io).dav.DAVRepository.getDir(DAVRepository.java:360)  
at [org.tmatesoft.svn.core.io](http://org.tmatesoft.svn.core.io).SVNRepository.getDir(SVNRepository.java:1313)  
at org.tmatesoft.svn.core.internal.wc2.remote.SvnRemoteGetInfo.pushDirInfo(SvnRemoteGetInfo.java:183)  
at org.tmatesoft.svn.core.internal.wc2.remote.SvnRemoteGetInfo.pushDirInfo(SvnRemoteGetInfo.java:199)  
at org.tmatesoft.svn.core.internal.wc2.remote.SvnRemoteGetInfo.pushDirInfo(SvnRemoteGetInfo.java:199)  
at org.tmatesoft.svn.core.internal.wc2.remote.SvnRemoteGetInfo.pushDirInfo(SvnRemoteGetInfo.java:199)  
at org.tmatesoft.svn.core.internal.wc2.remote.SvnRemoteGetInfo.pushDirInfo(SvnRemoteGetInfo.java:199)  
at org.tmatesoft.svn.core.internal.wc2.remote.SvnRemoteGetInfo.pushDirInfo(SvnRemoteGetInfo.java:199)  
at org.tmatesoft.svn.core.internal.wc2.remote.SvnRemoteGetInfo.run(SvnRemoteGetInfo.java:177)  
at org.tmatesoft.svn.core.internal.wc2.remote.SvnRemoteGetInfo.run(SvnRemoteGetInfo.java:31)  
at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:20)  
at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1258)  
at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294)  
at org.tmatesoft.svn.core.javahl17.SVNClientImpl.info2(SVNClientImpl.java:1671)  
... 12 more  
Caused by: [java.net](http://java.net).ConnectException: Connection timed out: connect  
at [java.net](http://java.net).DualStackPlainSocketImpl.waitForConnect(Native Method)  
at [java.net](http://java.net).DualStackPlainSocketImpl.socketConnect(Unknown Source)  
at [java.net](http://java.net).AbstractPlainSocketImpl.doConnect(Unknown Source)  
at [java.net](http://java.net).AbstractPlainSocketImpl.connectToAddress(Unknown Source)  
at [java.net](http://java.net).AbstractPlainSocketImpl.connect(Unknown Source)  
at [java.net](http://java.net).PlainSocketImpl.connect(Unknown Source)  
at [java.net](http://java.net).SocksSocketImpl.connect(Unknown Source)  
at [java.net](http://java.net).Socket.connect(Unknown Source)  
at org.tmatesoft.svn.core.internal.util.SVNSocketConnection.run(SVNSocketConnection.java:57)  
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)  
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)  
at java.util.concurrent.FutureTask.run(Unknown Source)  
... 3 more


author: Jeannie Boffel
body: Hello,

My problem is definitly not a timeout due to "longer than an hour time out". As I said in my post the timeout is a connection timeout and occure randomly within 30 to 100 seconds even if the connection test does not report any problem and the first phase that retrieve the change set works well.

Regards.


author: Felipe Kraemer
body: Hello Jeannie,

Can you please try the suggestions given in the knowledge base article below:

<https://confluence.atlassian.com/display/FISHKB/SVN+Operations+Taking+Longer+than+an+Hour+Time+Out>

If this answer was helpful, please allow me to ask you to mark my answer as accepted in order to have it in the top of the thread, also helping other customers.

Thanks in advance!

Kind regards,  
Felipe Kraemer


Tags: fisheye-crucible-administration