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

Repository pauses when clicking 'View as Patch'

    XMLWordPrintable

Details

    Description

      FishEye attempts to detect an incorrectly configured svn password by measuring the number of svn requests for a password within a 10 second window. If this exceeds 10, the password attempt is rejected which fails the svn operation. This is normally not a problem but when viewing the patch, the UI launches a number of svn cat operations in separate UI requests. These execute in parallel which causes the count to exceed the limit. The limit needs to be applied per thread.

      The following appears in the logs:

      ERROR [IncrPing2 danateq_svn ] fisheye BaseRepositoryScanner-handleSlurpException - Problem processing revisions from repo danateq_svn due to class com.cenqua.fisheye.rep.RepositoryClientException - o
      rg.apache.subversion.javahl.ClientException: Authorization failed
      svn: Unable to connect to a repository at URL 'https://repository/url'
      svn: User canceled dialog
      
      com.cenqua.fisheye.rep.RepositoryClientException: org.apache.subversion.javahl.ClientException: Authorization failed
      svn: Unable to connect to a repository at URL 'https://repository/url'
      svn: User canceled dialog
      
              at com.cenqua.fisheye.svn.SvnThrottledClient.executeNoThrottle(SvnThrottledClient.java:186)
              at com.cenqua.fisheye.svn.SvnThrottledClient.execute(SvnThrottledClient.java:155)
              at com.cenqua.fisheye.svn.SvnThrottledClient.info(SvnThrottledClient.java:110)
              at com.atlassian.fisheye.svn.Svn2RepositoryClient.getLatestRevision(Svn2RepositoryClient.java:97)
              at com.atlassian.fisheye.svn.Svn2Scanner.doChangesetScan(Svn2Scanner.java:251)
              at com.atlassian.fisheye.svn.Svn2Scanner.slurpRepository(Svn2Scanner.java:205)
              at com.atlassian.fisheye.svn.Svn2Scanner.doSlurpTransaction(Svn2Scanner.java:182)
              at com.cenqua.fisheye.rep.BaseRepositoryScanner.ping(BaseRepositoryScanner.java:73)
              at com.cenqua.fisheye.rep.BaseRepositoryEngine.doSlurp(BaseRepositoryEngine.java:86)
              at com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:414)
              at com.cenqua.fisheye.rep.ping.IndexingPingRequest.doRequest(IndexingPingRequest.java:27)
              at com.cenqua.fisheye.rep.ping.IncrementalPingRequest.doRequest(IncrementalPingRequest.java:30)
              at com.cenqua.fisheye.rep.ping.PingRequest$1.run(PingRequest.java:55)
              at com.cenqua.fisheye.util.NamedExecution.run(NamedExecution.java:27)
              at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:52)
              at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:213)
              at com.cenqua.fisheye.rep.RepositoryHandle.access$100(RepositoryHandle.java:57)
              at com.cenqua.fisheye.rep.RepositoryHandle$2.run(RepositoryHandle.java:169)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at java.lang.Thread.run(Thread.java:745)
      Caused by: org.apache.subversion.javahl.ClientException: Authorization failed
      svn: Unable to connect to a repository at URL 'https://repository/url'
      svn: User canceled dialog
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            pkoczan Peter Koczan (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: