org.tmatesoft.svn.core.SVNCancelException: svn: No credential to try. Authentication failed at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.cancel(SVNErrorManager.java:30) at org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.getFirstAuthentication(DefaultSVNAuthenticationManager.java:164) at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.authenticate(SVNConnection.java:151) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.authenticate(SVNRepositoryImpl.java:997) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.checkPath(SVNRepositoryImpl.java:216) at hudson.scm.SubversionSCM$DescriptorImpl.checkRepositoryPath(SubversionSCM.java:1225)

Jenkins JIRA | hackerdan | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    On fresh installation of hudson 1.214 when creating a job and configuring the subversion repository URL. When leaving the field I am asked to enter the credentials. I do so specifying user name and password. Clicking OK says: Authentication was successful. Information is stored in Hudson now. But looking into the directory, there is no file: hudson.scm.SubversionSCM.xml Going back to the configuration page, it says always: No credential to try. Authentication failed Installation on Fedora Core 8. Hudson has write access to the directory (there are other files such as config.xml and from various plug-ins). Running with java 1.6.0_06, starting the hudson with: java -jar hudson.war There is no output on the console when configuring, however there are exceptions when trying to authenticate: org.tmatesoft.svn.core.SVNCancelException: svn: No credential to try. Authentication failed at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.cancel(SVNErrorManager.java:30) at org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.getFirstAuthentication(DefaultSVNAuthenticationManager.java:164) at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.authenticate(SVNConnection.java:151) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.authenticate(SVNRepositoryImpl.java:997) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.checkPath(SVNRepositoryImpl.java:216) at hudson.scm.SubversionSCM$DescriptorImpl.checkRepositoryPath(SubversionSCM.java:1225) at hudson.scm.SubversionSCM$DescriptorImpl$2.check(SubversionSCM.java:1159) at hudson.util.FormFieldValidator.process(FormFieldValidator.java:55)

    Jenkins JIRA | 9 years ago | hackerdan
    org.tmatesoft.svn.core.SVNCancelException: svn: No credential to try. Authentication failed at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.cancel(SVNErrorManager.java:30) at org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.getFirstAuthentication(DefaultSVNAuthenticationManager.java:164) at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.authenticate(SVNConnection.java:151) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.authenticate(SVNRepositoryImpl.java:997) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.checkPath(SVNRepositoryImpl.java:216) at hudson.scm.SubversionSCM$DescriptorImpl.checkRepositoryPath(SubversionSCM.java:1225)
  2. 0

    On fresh installation of hudson 1.214 when creating a job and configuring the subversion repository URL. When leaving the field I am asked to enter the credentials. I do so specifying user name and password. Clicking OK says: Authentication was successful. Information is stored in Hudson now. But looking into the directory, there is no file: hudson.scm.SubversionSCM.xml Going back to the configuration page, it says always: No credential to try. Authentication failed Installation on Fedora Core 8. Hudson has write access to the directory (there are other files such as config.xml and from various plug-ins). Running with java 1.6.0_06, starting the hudson with: java -jar hudson.war There is no output on the console when configuring, however there are exceptions when trying to authenticate: org.tmatesoft.svn.core.SVNCancelException: svn: No credential to try. Authentication failed at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.cancel(SVNErrorManager.java:30) at org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.getFirstAuthentication(DefaultSVNAuthenticationManager.java:164) at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.authenticate(SVNConnection.java:151) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.authenticate(SVNRepositoryImpl.java:997) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.checkPath(SVNRepositoryImpl.java:216) at hudson.scm.SubversionSCM$DescriptorImpl.checkRepositoryPath(SubversionSCM.java:1225) at hudson.scm.SubversionSCM$DescriptorImpl$2.check(SubversionSCM.java:1159) at hudson.util.FormFieldValidator.process(FormFieldValidator.java:55)

    Jenkins JIRA | 9 years ago | hackerdan
    org.tmatesoft.svn.core.SVNCancelException: svn: No credential to try. Authentication failed at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.cancel(SVNErrorManager.java:30) at org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.getFirstAuthentication(DefaultSVNAuthenticationManager.java:164) at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.authenticate(SVNConnection.java:151) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.authenticate(SVNRepositoryImpl.java:997) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.checkPath(SVNRepositoryImpl.java:216) at hudson.scm.SubversionSCM$DescriptorImpl.checkRepositoryPath(SubversionSCM.java:1225)

    Root Cause Analysis

    1. org.tmatesoft.svn.core.SVNCancelException

      svn: No credential to try. Authentication failed at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.cancel(SVNErrorManager.java:30) at org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.getFirstAuthentication(DefaultSVNAuthenticationManager.java:164) at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.authenticate(SVNConnection.java:151) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.authenticate(SVNRepositoryImpl.java:997) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.checkPath(SVNRepositoryImpl.java:216) at hudson.scm.SubversionSCM$DescriptorImpl.checkRepositoryPath(SubversionSCM.java:1225)

      at hudson.scm.SubversionSCM$DescriptorImpl$2.check()
    2. Hudson
      FormFieldValidator.process
      1. hudson.scm.SubversionSCM$DescriptorImpl$2.check(SubversionSCM.java:1159)
      2. hudson.util.FormFieldValidator.process(FormFieldValidator.java:55)
      2 frames