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

svn: E200015: authentication cancelled when accessing a repository via https

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Low
    • None
    • 4.0.4, 4.1.2
    • None
    • None

    Description

      When accessing some SVN repositories via https:// the following error occurs:

      2016-09-14 06:52:06,642 INFO  [InitPing1 trilead.ssh2 ] fisheye noClassMethodInfo - Starting slurp of trilead.ssh2
      2016-09-14 06:52:06,643 DEBUG [InitPing1 trilead.ssh2 ] fisheye noClassMethodInfo - Checking repository:  trilead.ssh2:https://svn.svnkit.com/repos/3rdparty/com.trilead.ssh2
      2016-09-14 06:52:06,643 DEBUG [SvnExecution280 trilead.ssh2 ] fisheye noClassMethodInfo - Executing (InitPing1 trilead.ssh2) svn info -r HEAD https://svn.svnkit.com/repos/3rdparty/com.trilead.ssh2@HEAD
      (...)
      2016-09-14 06:52:07,077 WARN  [InitPing1 trilead.ssh2 ] fisheye noClassMethodInfo - Unable to get info for the repository root for trilead.ssh2
      com.cenqua.fisheye.rep.RepositoryClientException: java.lang.IllegalStateException: Can't overwrite cause with org.tmatesoft.svn.core.SVNCancelException: svn: E200015: authentication cancelled
              at com.cenqua.fisheye.svn.SvnThrottledClient.executeNoThrottle(SvnThrottledClient.java:189)
              at com.cenqua.fisheye.svn.SvnThrottledClient.execute(SvnThrottledClient.java:158)
              at com.cenqua.fisheye.svn.SvnThrottledClient.info(SvnThrottledClient.java:110)
              at com.cenqua.fisheye.svn.SvnRepositoryTester.getServerRootURL(SvnRepositoryTester.java:91)
              at com.cenqua.fisheye.svn.SvnRepositoryTester.checkRepoSettings(SvnRepositoryTester.java:74)
              at com.cenqua.fisheye.svn.SvnRepositoryTester.testConnection(SvnRepositoryTester.java:67)
              at com.atlassian.fisheye.svn.Svn2Scanner.validateRepository(Svn2Scanner.java:132)
              at com.atlassian.fisheye.svn.Svn2Scanner.doSlurpTransaction(Svn2Scanner.java:180)
              at com.cenqua.fisheye.rep.BaseRepositoryScanner.ping(BaseRepositoryScanner.java:72)
              at com.cenqua.fisheye.rep.BaseRepositoryEngine.doSlurp(BaseRepositoryEngine.java:85)
              at com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:419)
              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:210)
              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: java.lang.IllegalStateException: Can't overwrite cause with org.tmatesoft.svn.core.SVNCancelException: svn: E200015: authentication cancelled
              at java.lang.Throwable.initCause(Throwable.java:457)
              at org.tmatesoft.svn.core.javahl17.SVNClientImpl.getClientException(SVNClientImpl.java:1536)
              at org.tmatesoft.svn.core.javahl17.SVNClientImpl.info(SVNClientImpl.java:1734)
              at org.tmatesoft.svn.core.javahl17.SVNClientImpl.info2(SVNClientImpl.java:1710)
              at org.apache.subversion.javahl.SVNClient.info2(SVNClient.java:307)
              at com.cenqua.fisheye.svn.SvnThrottledClient$1.call(SvnThrottledClient.java:116)
              at com.cenqua.fisheye.svn.SvnThrottledClient$1.call(SvnThrottledClient.java:111)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at com.cenqua.fisheye.svn.SvnTask.access$101(SvnTask.java:13)
              at com.cenqua.fisheye.svn.SvnTask$1.run(SvnTask.java:35)
              at com.cenqua.fisheye.util.NamedExecution.run(NamedExecution.java:27)
              at com.cenqua.fisheye.svn.SvnTask.run(SvnTask.java:30)
              ... 3 more
      Caused by: org.apache.subversion.javahl.ClientException: svn: E200015: authentication cancelled
              at org.apache.subversion.javahl.ClientException.fromException(ClientException.java:117)
              at org.tmatesoft.svn.core.javahl17.SVNClientImpl.getClientException(SVNClientImpl.java:1535)
              ... 13 more
      

      Trying to access this repository via jsvn command line client we get a prompt for a client certificate (CA certificate warning is most probably a red herring as accepting the certificate gets rid of the warning and leaves only client certificate prompt):

      $ ./jsvn info https://svn.svnkit.com/repos/3rdparty
      Error validating server certificate for 'https://svn.svnkit.com:443':
       - The certificate is not issued by a trusted authority. Use the
         fingerprint to validate the certificate manually!
      Certificate information:
       - Subject: CN=svn.sqljet.com
       - Valid: from Fri Sep 09 22:07:00 UTC 2016 until Thu Dec 08 22:07:00 UTC 2016
       - Issuer: CN=Let's Encrypt Authority X3, O=Let's Encrypt, C=US
       - Fingerprint: a5:20:06:38:69:8b:7c:14:f3:a2:17:21:de:5e:8e:60:bb:1d:f8:75
      (R)eject, accept (t)emporarily or accept (p)ermanently? t
      Authentication realm: <https://svn.svnkit.com:443>
      Client certificate filename or 'MSCAPI': 
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            mzyromski Mikolaj Zyromski
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: