Fisheye repository indexing paused due to svn: E175002: Connection reset

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問


プラットフォームについて: Server と Data Center のみ - この記事は、サーバーおよびデータセンター プラットフォームのアトラシアン製品にのみ適用されます。

要約

A repository is paused while executing a particular command, for example

svn diff --summarize xxx:yyy

This operation is retried but always times out and paused at the same changeset, while expanding paths for that revision.

環境

  • Fisheye/Crucible 4.8.7
  • Repository is SVN and it is accessed with the http(s) protocol
  • Indexed using the bundled SVNKit 1.10


診断

There is no reverse proxy in front of Fisheye.

Fisheye is using the built-in SVNKit, instead of an external Native JavaHL Subversion Client.

The following appears in the atlassian-fisheye.log

date WARN  [IncrPing2 REPOSITORY ] fisheye BaseRepositoryScanner-handleSlurpException - Problem processing revisions from repository REPOSITORY (REPOSITORY) due to class com.cenqua.fisheye.rep.RepositoryClientException - org.apache.subversion.javahl.ClientException: svn: E175002: Connection reset
    svn: E175002: PROPFIND request failed on '/path/to/repository
...
Caused by: java.net.SocketException: Connection reset
	at java.net.SocketInputStream.read(SocketInputStream.java:210) [?:1.8.0_252]
	at java.net.SocketInputStream.read(SocketInputStream.java:141) [?:1.8.0_252]
	at sun.security.ssl.InputRecord.readFully(InputRecord.java:465) [?:1.8.0_252]
	at sun.security.ssl.InputRecord.read(InputRecord.java:503) [?:1.8.0_252]
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:990) [?:1.8.0_252]
	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1388) [?:1.8.0_252]
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1416) [?:1.8.0_252]
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1400) [?:1.8.0_252]
	at org.tmatesoft.svn.core.internal.util.SVNSocketFactory.createSSLSocket(SVNSocketFactory.java:96) [svnkit-1.10.1.jar:?]
	at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.connect(HTTPConnection.java:237) [svnkit-1.10.1.jar:?]
	at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:415) [svnkit-1.10.1.jar:?]
	at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:352) [svnkit-1.10.1.jar:?]
	at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:340) [svnkit-1.10.1.jar:?]
	at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.performHttpRequest(DAVConnection.java:910) [svnkit-1.10.1.jar:?]
	at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.doPropfind(DAVConnection.java:146) [svnkit-1.10.1.jar:?]
	at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getProperties(DAVUtil.java:71) [svnkit-1.10.1.jar:?]
	at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getResourceProperties(DAVUtil.java:77) [svnkit-1.10.1.jar:?]
	at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getStartingProperties(DAVUtil.java:101) [svnkit-1.10.1.jar:?]
	at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.findStartingProperties(DAVUtil.java:123) [svnkit-1.10.1.jar:?]
	... 24 more



原因

The request processing is taking a long time and the server is closing the connection.


ソリューション

HTTP spooling helps to prevent issues with request processing taking a long time and the server closing the connection.

An option was added to SVNKit 1.8.8 to address this: https://svn.svnkit.com/repos/svnkit/trunk/CHANGES.txt

To resolve the issue:

  • Add the -Dsvnkit.http.spoolDirectory=<path_to_a_temporary_folder> in the FISHEYE_OPTS (see Environment variables for reference).  
  • Restart Fisheye/Crucible

(info) We have a feature request to enable spooling from the UI  FE-7358 - Getting issue details... STATUS



最終更新日 2021 年 11 月 2 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.