Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-6718

After upgrading to 4.2, indexing SVN repositories with HTTPS protocol fails with error "svn: E175002: SSL peer shut down incorrectly"

    XMLWordPrintable

Details

    Description

      Summary

      After upgrading to 4.2 or newer version FishEye fails to index Subversion repositories that use HTTPS protocol.

      Steps to Reproduce

      1. Configure a Subversion repository that uses HTTPS protocol in an older FishEye version, like 4.0.3
      2. Make sure to be using SVNKit instead of a native client
      3. See that FishEye is able to index this repository
      4. Upgrade this instance to 4.2 or later
      5. FishEye is unable to index the repository

      Expected Results

      1. FishEye should be able to index the repository with HTTPS protocol

      Actual Results

      The following is written in the logs:

      2016-11-09 11:55:40,523 DEBUG [InitPing1 SVNRepo ] fisheye RepositoryStatus-setMessage - Status change [SVNRepo]: Expanding paths of changeset 8183
      2016-11-09 11:55:40,524 DEBUG [InitPing1 SVNRepo ] fisheye Svn2Infill2Processor$1-perform - Adding CSID for innfilling: 8183
      2016-11-09 11:55:40,525 DEBUG [SvnExecution429 SVNRepo ] fisheye SvnTask$1-run - Executing (InitPing1 SVNRepo) svn diff --summarize -r 8182:8183 https://example.com/svn/SOME/PATH/SVNRepo@8183
      ...
      2016-11-09 11:56:51,116 DEBUG [InitPing1 SVNRepo ] fisheye BaseRevisionCache-withDbWriteLock - Rolling back for priority 40
      2016-11-09 11:56:51,120 WARN  [InitPing1 SVNRepo ] fisheye BaseRepositoryScanner-handleSlurpException - Problem processing revisions from repository SVNRepo (SVNRepo) due to class com.cenqua.fisheye.rep.RepositoryClientException - java.lang.IllegalStateException: Can't overwrite cause with org.tmatesoft.svn.core.SVNException: svn: E175002: SSL peer shut down incorrectly
          svn: E175002: REPORT request failed on '/svn/PATH/!svn/vcc/default'
      com.cenqua.fisheye.rep.RepositoryClientException: java.lang.IllegalStateException: Can't overwrite cause with org.tmatesoft.svn.core.SVNException: svn: E175002: SSL peer shut down incorrectly
          svn: E175002: REPORT request failed on '/svn/PATH/!svn/vcc/default'
      	at com.cenqua.fisheye.svn.SvnThrottledClient.executeNoThrottle(SvnThrottledClient.java:189) [fisheye.jar:?]
      	at com.cenqua.fisheye.svn.SvnThrottledClient.execute(SvnThrottledClient.java:158) [fisheye.jar:?]
      	at com.cenqua.fisheye.svn.SvnThrottledClient.diffSummarize(SvnThrottledClient.java:228) [fisheye.jar:?]
      	at com.atlassian.fisheye.svn.Svn2Infill2Processor.summarizeDiff(Svn2Infill2Processor.java:312) [fisheye.jar:?]
      	at com.atlassian.fisheye.svn.Svn2Infill2Processor.createDiffSummary(Svn2Infill2Processor.java:294) [fisheye.jar:?]
      	at com.atlassian.fisheye.svn.Svn2Infill2Processor.infillChangeSet(Svn2Infill2Processor.java:210) [fisheye.jar:?]
      	at com.atlassian.fisheye.svn.Svn2Infill2Processor.access$100(Svn2Infill2Processor.java:90) [fisheye.jar:?]
      	at com.atlassian.fisheye.svn.Svn2Infill2Processor$1.perform(Svn2Infill2Processor.java:141) [fisheye.jar:?]
      	at com.atlassian.fisheye.svn.Svn2Infill2Processor$1.perform(Svn2Infill2Processor.java:125) [fisheye.jar:?]
      	at com.cenqua.fisheye.cache.BaseRevisionCache.withDbWriteLock(BaseRevisionCache.java:1066) [fisheye.jar:?]
      	at com.atlassian.fisheye.svn.Svn2Infill2Processor.process(Svn2Infill2Processor.java:125) [fisheye.jar:?]
      	at com.atlassian.fisheye.svn.Svn2Scanner.infillRepository(Svn2Scanner.java:233) [fisheye.jar:?]
      	at com.atlassian.fisheye.svn.Svn2Scanner.slurpRepository(Svn2Scanner.java:219) [fisheye.jar:?]
      	at com.atlassian.fisheye.svn.Svn2Scanner.doSlurpTransaction(Svn2Scanner.java:184) [fisheye.jar:?]
      	at com.cenqua.fisheye.rep.BaseRepositoryScanner.ping(BaseRepositoryScanner.java:73) [fisheye.jar:?]
      	at com.cenqua.fisheye.rep.BaseRepositoryEngine.doSlurp(BaseRepositoryEngine.java:85) [fisheye.jar:?]
      	at com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:419) [fisheye.jar:?]
      	at com.cenqua.fisheye.rep.ping.IndexingPingRequest.doRequest(IndexingPingRequest.java:28) [fisheye.jar:?]
      	at com.cenqua.fisheye.rep.ping.IncrementalPingRequest.doRequest(IncrementalPingRequest.java:30) [fisheye.jar:?]
      	at com.cenqua.fisheye.rep.ping.PingRequest$1.run(PingRequest.java:55) [fisheye.jar:?]
      	at com.cenqua.fisheye.util.NamedExecution.run(NamedExecution.java:27) [fisheye.jar:?]
      	at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:52) [fisheye.jar:?]
      	at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:211) [fisheye.jar:?]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_91]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_91]
      	at java.lang.Thread.run(Unknown Source) [?:1.8.0_91]
      Caused by: java.lang.IllegalStateException: Can't overwrite cause with org.tmatesoft.svn.core.SVNException: svn: E175002: SSL peer shut down incorrectly
          svn: E175002: REPORT request failed on '/svn/PATH/!svn/vcc/default'
      	at java.lang.Throwable.initCause(Unknown Source) [?:1.8.0_91]
      	at org.tmatesoft.svn.core.javahl17.SVNClientImpl.getClientException(SVNClientImpl.java:1536) [svnkit-javahl16-1.9.0-r10609-atlassian-hosted.jar:?]
      	at org.tmatesoft.svn.core.javahl17.SVNClientImpl.diffSummarize(SVNClientImpl.java:1249) [svnkit-javahl16-1.9.0-r10609-atlassian-hosted.jar:?]
      	at org.apache.subversion.javahl.SVNClient.diffSummarize(SVNClient.java:211) [svnkit-javahl16-1.9.0-r10609-atlassian-hosted.jar:?]
      	at com.cenqua.fisheye.svn.SvnThrottledClient$4.call(SvnThrottledClient.java:234) [fisheye.jar:?]
      	at com.cenqua.fisheye.svn.SvnThrottledClient$4.call(SvnThrottledClient.java:229) [fisheye.jar:?]
      	at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_91]
      	at com.cenqua.fisheye.svn.SvnTask.access$101(SvnTask.java:13) [fisheye.jar:?]
      	at com.cenqua.fisheye.svn.SvnTask$1.run(SvnTask.java:35) [fisheye.jar:?]
      	at com.cenqua.fisheye.util.NamedExecution.run(NamedExecution.java:27) [fisheye.jar:?]
      	at com.cenqua.fisheye.svn.SvnTask.run(SvnTask.java:30) [fisheye.jar:?]
      	... 3 more
      Caused by: org.apache.subversion.javahl.ClientException: svn: E175002: SSL peer shut down incorrectly
          svn: E175002: REPORT request failed on '/svn/PATH/!svn/vcc/default'
      	at org.apache.subversion.javahl.ClientException.fromException(ClientException.java:117) [svnkit-javahl16-1.9.0-r10609-atlassian-hosted.jar:?]
      	at org.tmatesoft.svn.core.javahl17.SVNClientImpl.getClientException(SVNClientImpl.java:1535) [svnkit-javahl16-1.9.0-r10609-atlassian-hosted.jar:?]
      	... 12 more
      
      Atlassian status as of May 2018

      Until today, we have not been able to reproduce this issue in our environments.

      Based on our experience, the root cause for the svn: E175002: SSL peer shut down incorrectly message is a timeout interrupting the communication between Fisheye and the SVN server.

      Review the following two articles for details on how to troubleshoot and address this problem:

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              fkraemer Felipe Kraemer
              Votes:
              11 Vote for this issue
              Watchers:
              19 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: