org.tmatesoft.svn.core.SVNAuthenticationException: svn: Authorization failed at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:47)

Jenkins JIRA | jsbournival | 9 years ago
  1. 0

    We have a couple of projects for which we created Hudson jobs. We are configuring them to pick up source code in SVN, and enter appropriate credentials (Hudson tells us it is saving them in its credential safe). To make sure everything's all right, we fire a build right away. But then, the day after, we have an email from hudson saying our build has failed: ------------------------------------------ started ERROR: svn: Authorization failed org.tmatesoft.svn.core.SVNAuthenticationException: svn: Authorization failed at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:47) at org.tmatesoft.svn.core.internal.io.svn.SVNReader.parse(SVNReader.java:288) at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.read(SVNConnection.java:210) at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.authenticate(SVNConnection.java:93) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.authenticate(SVNRepositoryImpl.java:991) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.checkPath(SVNRepositoryImpl.java:216) at hudson.scm.SubversionSCM$DescriptorImpl.checkRepositoryPath(SubversionSCM.java:1224) at hudson.scm.SubversionSCM.repositoryLocationsExist(SubversionSCM.java:1281) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:336) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:300) at hudson.model.AbstractProject.checkout(AbstractProject.java:558) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:215) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:181) at hudson.model.Run.run(Run.java:659) at hudson.model.Build.run(Build.java:101) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:71) Publishing Javadoc Recording test results So we have to re-enter the credential again each morning.

    Jenkins JIRA | 9 years ago | jsbournival
    org.tmatesoft.svn.core.SVNAuthenticationException: svn: Authorization failed at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:47)
  2. 0

    We have a couple of projects for which we created Hudson jobs. We are configuring them to pick up source code in SVN, and enter appropriate credentials (Hudson tells us it is saving them in its credential safe). To make sure everything's all right, we fire a build right away. But then, the day after, we have an email from hudson saying our build has failed: ------------------------------------------ started ERROR: svn: Authorization failed org.tmatesoft.svn.core.SVNAuthenticationException: svn: Authorization failed at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:47) at org.tmatesoft.svn.core.internal.io.svn.SVNReader.parse(SVNReader.java:288) at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.read(SVNConnection.java:210) at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.authenticate(SVNConnection.java:93) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.authenticate(SVNRepositoryImpl.java:991) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.checkPath(SVNRepositoryImpl.java:216) at hudson.scm.SubversionSCM$DescriptorImpl.checkRepositoryPath(SubversionSCM.java:1224) at hudson.scm.SubversionSCM.repositoryLocationsExist(SubversionSCM.java:1281) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:336) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:300) at hudson.model.AbstractProject.checkout(AbstractProject.java:558) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:215) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:181) at hudson.model.Run.run(Run.java:659) at hudson.model.Build.run(Build.java:101) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:71) Publishing Javadoc Recording test results So we have to re-enter the credential again each morning.

    Jenkins JIRA | 9 years ago | jsbournival
    org.tmatesoft.svn.core.SVNAuthenticationException: svn: Authorization failed at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:47)
  3. 0

    Hudson version 1.227. Stand alone setup running on Winstone. When attempting a tag after selecting 'Tag this build', the tag fails with an error: Tagging http://subversion/svn/XXXXX/web/project/trunk (rev.19085) to http://subversion/svn/XXXXX/web/project/tags/project-30 Failed to tag org.tmatesoft.svn.core.SVNAuthenticationException: svn: Commit failed (details follow): svn: CHECKOUT of '/svn/XXXXX/!svn/ver/19211/web/project/tags': 403 Forbidden (http://subversion) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:84) at org.tmatesoft.svn.core.wc.SVNCopyClient.doCopy(SVNCopyClient.java:354) at hudson.scm.SubversionTagAction$TagWorkerThread.perform(SubversionTagAction.java:167) at hudson.model.TaskThread.run(TaskThread.java:77) Completed The error suggests the user setup within the hudson.scm.SubversionSCM.xml does not have the authority to checkout the subversion tags directory revision. Further investigation found the user being used for the tag is the user that started Hudson in the first instance, and NOT the user declared in the hudson.scm.SubversionSCM.xml file. Thus, if the user account that started Hudson does not have enough permissions for SVN, then the tagging fails with the above error. Regards Matt Gaunt

    Jenkins JIRA | 8 years ago | wymgaz
    org.tmatesoft.svn.core.SVNAuthenticationException: svn: Commit failed (details follow): svn: CHECKOUT of '/svn/XXXXX/!svn/ver/19211/web/project/tags': 403 Forbidden (http://subversion) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:84)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hudson version 1.227. Stand alone setup running on Winstone. When attempting a tag after selecting 'Tag this build', the tag fails with an error: Tagging http://subversion/svn/XXXXX/web/project/trunk (rev.19085) to http://subversion/svn/XXXXX/web/project/tags/project-30 Failed to tag org.tmatesoft.svn.core.SVNAuthenticationException: svn: Commit failed (details follow): svn: CHECKOUT of '/svn/XXXXX/!svn/ver/19211/web/project/tags': 403 Forbidden (http://subversion) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:84) at org.tmatesoft.svn.core.wc.SVNCopyClient.doCopy(SVNCopyClient.java:354) at hudson.scm.SubversionTagAction$TagWorkerThread.perform(SubversionTagAction.java:167) at hudson.model.TaskThread.run(TaskThread.java:77) Completed The error suggests the user setup within the hudson.scm.SubversionSCM.xml does not have the authority to checkout the subversion tags directory revision. Further investigation found the user being used for the tag is the user that started Hudson in the first instance, and NOT the user declared in the hudson.scm.SubversionSCM.xml file. Thus, if the user account that started Hudson does not have enough permissions for SVN, then the tagging fails with the above error. Regards Matt Gaunt

    Jenkins JIRA | 8 years ago | wymgaz
    org.tmatesoft.svn.core.SVNAuthenticationException: svn: Commit failed (details follow): svn: CHECKOUT of '/svn/XXXXX/!svn/ver/19211/web/project/tags': 403 Forbidden (http://subversion) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:84)
  6. 0

    Subclipse + SVNKit keeps asking for credentials when connecting through svn+ssh

    tmatesoft.com | 9 months ago
    org.tmatesoft.svn.core.SVNAuthenticationException: svn: E170001: Authentication required for 'svn+ ' at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.authenticationFailed(SVNErrorManager.java:47) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.authenticationFailed(SVNErrorManager.java:41) at org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.getNextAuthentication(DefaultSVNAuthenticationManager.java:218) at org.tmatesoft.svn.core.internal.io.svn.SVNSSHConnector.open(SVNSSHConnector.java:147) at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.open(SVNConnection.java:77) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.openConnection(SVNRepositoryImpl.java:1252) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.testConnection(SVNRepositoryImpl.java:95)

    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. org.tmatesoft.svn.core.SVNAuthenticationException

      svn: Authorization failed at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:47)

      at org.tmatesoft.svn.core.internal.io.svn.SVNReader.parse()
    2. SVNKit Library
      SVNReader.parse
      1. org.tmatesoft.svn.core.internal.io.svn.SVNReader.parse(SVNReader.java:288)
      1 frame