Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-578

Subversion private key authentication doesn't work in 1.108 (works in 1.106)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: subversion-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      With hudson 1.108 subversion authentication with user name, empty passphrase and
      private key doesn't work. It works with hudson 1.106.

      This is exception is thrown:

      8.06.2007 00:37:28 hudson.scm.SubversionSCM$DescriptorImpl$2 check
      INFO: Failed to access subversion repository svn+ssh://myserver/var/

      org.tmatesoft.svn.core.SVNCancelException: svn: authentication cancelled
      at
      org.tmatesoft.svn.core.internal.wc.SVNErrorManager.cancel(SVNErrorManager.java:30)
      at
      org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.getFirstAuthentication(DefaultSVNAuthenticationManager.java:155)
      at
      org.tmatesoft.svn.core.internal.io.svn.SVNGanymedConnector.open(SVNGanymedConnector.java:89)
      at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.open(SVNConnection.java:60)
      at
      org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.openConnection(SVNRepositoryImpl.java:998)
      at
      org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.testConnection(SVNRepositoryImpl.java:68)
      at hudson.scm.SubversionSCM$DescriptorImpl$2.check(SubversionSCM.java:814)
      at hudson.util.FormFieldValidator.process(FormFieldValidator.java:40)
      at
      hudson.scm.SubversionSCM$DescriptorImpl.doSvnRemoteLocationCheck(SubversionSCM.java:788)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:95)
      at org.kohsuke.stapler.Function.bindAndinvoke(Function.java:51)
      at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:63)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:270)
      at org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:240)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:270)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:207)
      at org.kohsuke.stapler.Stapler.service(Stapler.java:72)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:367)
      at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
      at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
      at
      org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
      at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
      at org.mortbay.jetty.Server.handle(Server.java:285)
      at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)
      at
      org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:821)
      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208)
      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378)
      at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:368)
      at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)

        Attachments

          Activity

          Hide
          kohsuke Kohsuke Kawaguchi added a comment -

          This is for svn+ssh?

          Show
          kohsuke Kohsuke Kawaguchi added a comment - This is for svn+ssh?
          Hide
          jeduden jeduden added a comment -

          yes, for svn+ssh

          Show
          jeduden jeduden added a comment - yes, for svn+ssh
          Hide
          kohsuke Kohsuke Kawaguchi added a comment -

          I believe 1.151 fixed this.

          Show
          kohsuke Kohsuke Kawaguchi added a comment - I believe 1.151 fixed this.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jeduden jeduden
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: