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

Atlassian JIRA | Peter Koczan | 2 years ago
  1. 0

    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: {noformat} 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 {noformat}

    Atlassian JIRA | 2 years ago | Peter Koczan
    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
  2. 0

    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: {noformat} 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 {noformat}

    Atlassian JIRA | 2 years ago | Peter Koczan
    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
  3. 0

    When upgrading Fisheye+Crucible from 2.1.2 to v2.1.3, the following errors were being reported. They stopped once the installation was rolled back to v2.1.2. Please note: I have removed the path to our repository, however it is correct and can be accessed by the Fisheye user via a command line subversion client without issue. {code} ERROR - Exception getting FishEye access control com.cenqua.fisheye.rep.RepositoryClientException: org.tigris.subversion.javahl.ClientException: svn: Unable to open an ra_local session to URL svn: Unable to open repository 'file:///path/to/our/repos' svn: CANTOPEN at com.cenqua.fisheye.svn.SvnThrottledClient.propertyGet(SvnThrottledClient.java:169) at com.cenqua.fisheye.svn.SvnRepositoryTester.pingAndValidateAccess(SvnRepositoryTester.java:144) at com.cenqua.fisheye.svn.SvnRepositoryScanner.validateAccess(SvnRepositoryScanner.java:359) at com.cenqua.fisheye.svn.SvnRepositoryScanner.validateRepo(SvnRepositoryScanner.java:262) at com.cenqua.fisheye.rep.RepositoryScanner.startRepo(RepositoryScanner.java:223) at com.cenqua.fisheye.rep.RepositoryScanner.slurp(RepositoryScanner.java:153) at com.cenqua.fisheye.rep.RepositoryScanner.ping(RepositoryScanner.java:121) at com.cenqua.fisheye.svn.SvnRepositoryEngine.doSlurp(SvnRepositoryEngine.java:72) at com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:319) at com.cenqua.fisheye.rep.ping.OneOffPingRequest.doRequest(OneOffPingRequest.java:30) at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:90) at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:120) at com.cenqua.fisheye.rep.RepositoryHandle.queuePingRequest(RepositoryHandle.java:110) at com.cenqua.fisheye.rep.ping.PingRequest.run(PingRequest.java:57) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: org.tigris.subversion.javahl.ClientException: svn: Unable to open an ra_local session to URL {code}

    Atlassian JIRA | 7 years ago | Sasha Gerrand
    com.cenqua.fisheye.rep.RepositoryClientException: org.tigris.subversion.javahl.ClientException: svn: Unable to open an ra_local session to URL svn: Unable to open repository 'file:///path/to/our/repos' svn: CANTOPEN
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When upgrading Fisheye+Crucible from 2.1.2 to v2.1.3, the following errors were being reported. They stopped once the installation was rolled back to v2.1.2. Please note: I have removed the path to our repository, however it is correct and can be accessed by the Fisheye user via a command line subversion client without issue. {code} ERROR - Exception getting FishEye access control com.cenqua.fisheye.rep.RepositoryClientException: org.tigris.subversion.javahl.ClientException: svn: Unable to open an ra_local session to URL svn: Unable to open repository 'file:///path/to/our/repos' svn: CANTOPEN at com.cenqua.fisheye.svn.SvnThrottledClient.propertyGet(SvnThrottledClient.java:169) at com.cenqua.fisheye.svn.SvnRepositoryTester.pingAndValidateAccess(SvnRepositoryTester.java:144) at com.cenqua.fisheye.svn.SvnRepositoryScanner.validateAccess(SvnRepositoryScanner.java:359) at com.cenqua.fisheye.svn.SvnRepositoryScanner.validateRepo(SvnRepositoryScanner.java:262) at com.cenqua.fisheye.rep.RepositoryScanner.startRepo(RepositoryScanner.java:223) at com.cenqua.fisheye.rep.RepositoryScanner.slurp(RepositoryScanner.java:153) at com.cenqua.fisheye.rep.RepositoryScanner.ping(RepositoryScanner.java:121) at com.cenqua.fisheye.svn.SvnRepositoryEngine.doSlurp(SvnRepositoryEngine.java:72) at com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:319) at com.cenqua.fisheye.rep.ping.OneOffPingRequest.doRequest(OneOffPingRequest.java:30) at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:90) at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:120) at com.cenqua.fisheye.rep.RepositoryHandle.queuePingRequest(RepositoryHandle.java:110) at com.cenqua.fisheye.rep.ping.PingRequest.run(PingRequest.java:57) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: org.tigris.subversion.javahl.ClientException: svn: Unable to open an ra_local session to URL {code}

    Atlassian JIRA | 7 years ago | Sasha Gerrand
    com.cenqua.fisheye.rep.RepositoryClientException: org.tigris.subversion.javahl.ClientException: svn: Unable to open an ra_local session to URL svn: Unable to open repository 'file:///path/to/our/repos' svn: CANTOPEN
  6. 0

    We have around 20 subversion repositories setup on our fisheye instance. When we restart the application however, none of the repositories come back online. All show this error: 014-05-10 00:00:02,786 WARN [SvnExecution491 java_customer_ads java_customer_ads] fisheye SvnPasswordSupplier-prompt - SVN is requesting password too often for realm '<https://svn.edb.com:443> EDB Subversion repository' and user 'continnum' 2014-05-10 00:00:02,787 WARN [IncrPing1 java_customer_ads java_customer_ads] fisheye SvnRepositoryTester-getServerRootURL - Unable to get Repository Root URL for java_customer_ads:https://svn.edb.com/repos/java/customer/ads 2014-05-10 00:00:02,788 WARN [SvnExecution490 java_customer_ads java_customer_ads] fisheye SvnPasswordSupplier-prompt - SVN is requesting password too often for realm '<https://svn.edb.com:443> EDB Subversion repository' and user 'continnum' 2014-05-10 00:00:02,788 ERROR [IncrPing1 java_customer_ads java_customer_ads] fisheye SvnRepositoryTester-pingAndValidateAccess - Exception getting FishEye access control com.cenqua.fisheye.rep.RepositoryClientException: org.apache.subversion.javahl.ClientException: svn: E200015: authentication cancelled at com.cenqua.fisheye.svn.SvnThrottledClient.executeNoThrottle(SvnThrottledClient.java:176) When I go into one of the repos and try "Test connection" it fails ,however if I change the username for the svn conneciton.....it passes; and then strangely enough, all the repos suddenly start working....with the previous username ! So it seems that with the username that was in use during the restart it will not work until a test is performed with another username?!

    Atlassian JIRA | 3 years ago | Christopher Dobbs
    com.cenqua.fisheye.rep.RepositoryClientException: org.apache.subversion.javahl.ClientException: svn: E200015: authentication cancelled

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. com.cenqua.fisheye
      SvnThrottledClient.info
      1. com.cenqua.fisheye.svn.SvnThrottledClient.executeNoThrottle(SvnThrottledClient.java:186)
      2. com.cenqua.fisheye.svn.SvnThrottledClient.execute(SvnThrottledClient.java:155)
      3. com.cenqua.fisheye.svn.SvnThrottledClient.info(SvnThrottledClient.java:110)
      3 frames
    3. com.atlassian.fisheye
      Svn2Scanner.doSlurpTransaction
      1. com.atlassian.fisheye.svn.Svn2RepositoryClient.getLatestRevision(Svn2RepositoryClient.java:97)
      2. com.atlassian.fisheye.svn.Svn2Scanner.doChangesetScan(Svn2Scanner.java:251)
      3. com.atlassian.fisheye.svn.Svn2Scanner.slurpRepository(Svn2Scanner.java:205)
      4. com.atlassian.fisheye.svn.Svn2Scanner.doSlurpTransaction(Svn2Scanner.java:182)
      4 frames
    4. com.cenqua.fisheye
      RepositoryHandle$2.run
      1. com.cenqua.fisheye.rep.BaseRepositoryScanner.ping(BaseRepositoryScanner.java:73)
      2. com.cenqua.fisheye.rep.BaseRepositoryEngine.doSlurp(BaseRepositoryEngine.java:86)
      3. com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:414)
      4. com.cenqua.fisheye.rep.ping.IndexingPingRequest.doRequest(IndexingPingRequest.java:27)
      5. com.cenqua.fisheye.rep.ping.IncrementalPingRequest.doRequest(IncrementalPingRequest.java:30)
      6. com.cenqua.fisheye.rep.ping.PingRequest$1.run(PingRequest.java:55)
      7. com.cenqua.fisheye.util.NamedExecution.run(NamedExecution.java:27)
      8. com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:52)
      9. com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:213)
      10. com.cenqua.fisheye.rep.RepositoryHandle.access$100(RepositoryHandle.java:57)
      11. com.cenqua.fisheye.rep.RepositoryHandle$2.run(RepositoryHandle.java:169)
      11 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames