org.tmatesoft.svn.core.SVNAuthenticationException: svn: OPTIONS of '/svn- public/xxx/trunk': 403 Forbidden (http://yyy) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:62 ) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51 ) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnectio n.java:595) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnectio n.java:257) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnectio n.java:245) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVCon nection.java:454) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:97) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepositor y.java:665) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.testConnection(DAVRepositor y.java:96) at hudson.scm.SubversionSCM$DescriptorImpl.checkRepositoryPath(SubversionSCM.java:1 520) at hudson.scm.SubversionSCM$DescriptorImpl.doSvnRemoteLocationCheck(SubversionSCM.j ava:1463)

Jenkins JIRA | fbucci1 | 8 years ago
  1. 0

    I am getting the following error message trying to configure a project to be checked out using SVN: Unable to access http://xxx/svn-public/yyy/trunk : svn: OPTIONS of '/svn- public/yyy/trunk': 403 Forbidden (http://xxx) org.tmatesoft.svn.core.SVNAuthenticationException: svn: OPTIONS of '/svn- public/xxx/trunk': 403 Forbidden (http://yyy) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:62 ) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51 ) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnectio n.java:595) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnectio n.java:257) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnectio n.java:245) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVCon nection.java:454) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:97) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepositor y.java:665) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.testConnection(DAVRepositor y.java:96) at hudson.scm.SubversionSCM$DescriptorImpl.checkRepositoryPath(SubversionSCM.java:1 520) at hudson.scm.SubversionSCM$DescriptorImpl.doSvnRemoteLocationCheck(SubversionSCM.j ava:1463) at sun.reflect.GeneratedMethodAccessor383.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav a:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:176) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:92) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:53) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:73) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:486) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:179) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:486) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:404) at org.kohsuke.stapler.Stapler.service(Stapler.java:117) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt erChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain. java:206) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:91) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:83) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt erChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain. java:206) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFi lter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFil ter.java:166) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) I have already gone to Enter Credentials dialog, selected "Username/password authentication", entered them and clicked ok, receiving the "Authentication was successful. Information is stored in Hudson now." confirmation message. I can successfully checkout the project using TortoiseSVN pointing and I can also browse using IE with http://xxx/svn-public/yyy/trunk and the same credentials. hudson.scm.SubversionSCM file has correct username, thought I cannot verify the password is the right one. We are using hudson-core-1.309.jar. Just in case, we are using Hudson with LDAP integrated authentication and also the SVN is integrated with LDAP.

    Jenkins JIRA | 8 years ago | fbucci1
    org.tmatesoft.svn.core.SVNAuthenticationException: svn: OPTIONS of '/svn- public/xxx/trunk': 403 Forbidden (http://yyy) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:62 ) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51 ) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnectio n.java:595) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnectio n.java:257) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnectio n.java:245) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVCon nection.java:454) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:97) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepositor y.java:665) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.testConnection(DAVRepositor y.java:96) at hudson.scm.SubversionSCM$DescriptorImpl.checkRepositoryPath(SubversionSCM.java:1 520) at hudson.scm.SubversionSCM$DescriptorImpl.doSvnRemoteLocationCheck(SubversionSCM.j ava:1463)
  2. 0

    I am getting the following error message trying to configure a project to be checked out using SVN: Unable to access http://xxx/svn-public/yyy/trunk : svn: OPTIONS of '/svn- public/yyy/trunk': 403 Forbidden (http://xxx) org.tmatesoft.svn.core.SVNAuthenticationException: svn: OPTIONS of '/svn- public/xxx/trunk': 403 Forbidden (http://yyy) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:62 ) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51 ) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnectio n.java:595) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnectio n.java:257) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnectio n.java:245) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVCon nection.java:454) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:97) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepositor y.java:665) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.testConnection(DAVRepositor y.java:96) at hudson.scm.SubversionSCM$DescriptorImpl.checkRepositoryPath(SubversionSCM.java:1 520) at hudson.scm.SubversionSCM$DescriptorImpl.doSvnRemoteLocationCheck(SubversionSCM.j ava:1463) at sun.reflect.GeneratedMethodAccessor383.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav a:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:176) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:92) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:53) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:73) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:486) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:179) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:486) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:404) at org.kohsuke.stapler.Stapler.service(Stapler.java:117) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt erChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain. java:206) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:91) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:83) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt erChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain. java:206) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFi lter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFil ter.java:166) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) I have already gone to Enter Credentials dialog, selected "Username/password authentication", entered them and clicked ok, receiving the "Authentication was successful. Information is stored in Hudson now." confirmation message. I can successfully checkout the project using TortoiseSVN pointing and I can also browse using IE with http://xxx/svn-public/yyy/trunk and the same credentials. hudson.scm.SubversionSCM file has correct username, thought I cannot verify the password is the right one. We are using hudson-core-1.309.jar. Just in case, we are using Hudson with LDAP integrated authentication and also the SVN is integrated with LDAP.

    Jenkins JIRA | 8 years ago | fbucci1
    org.tmatesoft.svn.core.SVNAuthenticationException: svn: OPTIONS of '/svn- public/xxx/trunk': 403 Forbidden (http://yyy) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:62 ) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51 ) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnectio n.java:595) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnectio n.java:257) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnectio n.java:245) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVCon nection.java:454) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:97) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepositor y.java:665) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.testConnection(DAVRepositor y.java:96) at hudson.scm.SubversionSCM$DescriptorImpl.checkRepositoryPath(SubversionSCM.java:1 520) at hudson.scm.SubversionSCM$DescriptorImpl.doSvnRemoteLocationCheck(SubversionSCM.j ava:1463)
  3. 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)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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: OPTIONS of '/svn- public/xxx/trunk': 403 Forbidden (http://yyy) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:62 ) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51 ) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnectio n.java:595) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnectio n.java:257) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnectio n.java:245) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVCon nection.java:454) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:97) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepositor y.java:665) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.testConnection(DAVRepositor y.java:96) at hudson.scm.SubversionSCM$DescriptorImpl.checkRepositoryPath(SubversionSCM.java:1 520) at hudson.scm.SubversionSCM$DescriptorImpl.doSvnRemoteLocationCheck(SubversionSCM.j ava:1463)

      at sun.reflect.GeneratedMethodAccessor383.invoke()
    2. Java RT
      GeneratedMethodAccessor383.invoke
      1. sun.reflect.GeneratedMethodAccessor383.invoke(Unknown Source)
      1 frame