| Hudson SVN credential exceptions [message #893592] |
Wed, 04 July 2012 14:10  |
Matthias Bünger Messages: 6 Registered: July 2012 |
Junior Member |
|
|
Hi,
I'm trying to set the credentials for my SVN-Project in Hudson. It's the first time I Hudson and I'm not very used to linux at all.
First I was using Hudson 2.2.0 with SVN-Plugin 2.3.0. For anonymous public SVN-1.6 procets I had no problems to check out the SVN and run a build. But when I tried to set the credentials for my project (SVN 1.7) I always get the Error below. After using google about it I came to the point that it's because my procet uses SVN 1.7 and the SVNKit of Hudson was not updated.
When Hudson 2.2.1 was released with the new SVNKit version for 1.7 I updated Hudson, so my configuration now is:
Hudsion 2.2.1 (Debian VM)
SVNPlugin 2.3.0 (there's no newer one in the plugin list of Hudson)
My SVN-Project is 1.7 and is secured through an .htaccess as SVN has no "usermanagement". On my windows client I use Tortoise SVN without any probs since ever, so yeah my username & password are correct.
When I try to enter the credentials in Hudson I still get the same error as listed below.
Does anyone can help me with this problem? Obviously it has nothing to do with SVN 1.7 as Hudsion 2.2.1 should support these SVNprojects.
Thank you
Passing user name bish and password you entered
Authentication was not acknowledged.
FAILED: svn: Operation cancelled
org.tmatesoft.svn.core.SVNCancelException: svn: Operation cancelled
at hudson.scm.UserProvidedCredential$AuthenticationManagerImpl.checkIfProtocolCompleted(UserProvidedCredential.java:283)
at hudson.scm.SubversionSCM$DescriptorImpl.postCredential(SubversionSCM.java:1885)
at hudson.scm.SubversionSCM$DescriptorImpl.doPostCredential(SubversionSCM.java:1822)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:282)
at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149)
at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88)
at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:103)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:573)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658)
at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:233)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:573)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658)
at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:233)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:573)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:489)
at org.kohsuke.stapler.Stapler.service(Stapler.java:160)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
at winstone.ServletConfiguration.execute(ServletConfiguration.java:249)
at winstone.RequestDispatcher.forward(RequestDispatcher.java:335)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
at org.hudsonci.servlets.internal.ServletRegistrationFilterAdapter.doFilter(ServletRegistrationFilterAdapter.java:180)
at org.hudsonci.servlets.internal.ServletRegistrationFilterAdapter.doFilter(ServletRegistrationFilterAdapter.java:148)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
at org.hudsonci.servlets.internal.ServletRegistrationFilterAdapter.doFilter(ServletRegistrationFilterAdapter.java:180)
at org.hudsonci.servlets.internal.ServletRegistrationFilterAdapter.doFilter(ServletRegistrationFilterAdapter.java:148)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:52)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
at java.lang.Thread.run(Thread.java:636)
|
|
|
| Re: Hudson SVN credential exceptions [message #893596 is a reply to message #893592] |
Wed, 04 July 2012 14:17   |
|
Please upgrade to the subversion plugin 2.3.2. I accidentally introduced a bug that caused this. Subversion plugin 2.3.2 should fix that issue. Also subversion plugin 2.3.2 provides better support for svn by using svnkit 1.7.4, 2.3.0 has an older "beta" version of svnkit which provides some support for subversion 1.7.
Update: Actually I just noticed your comment about how you can't see a version beyond 2.3.0. What does your update site look like under plugin manager > update site?
/**
* @author Steven Christou
* @dev Hudson-ci
*/
[Updated on: Wed, 04 July 2012 14:21] Report message to a moderator
|
|
|
|
| Re: Hudson SVN credential exceptions [message #893645 is a reply to message #893635] |
Thu, 05 July 2012 01:13   |
|
Download the latest plugin from maven central, see like:
search.maven.org/#artifactdetails%7Corg.hudsonci.plugins%7Csubversion%7C2.3.2%7Chpi
What does your Update Site say? It should say
hudson-ci.org/udpate-center.json
See image:
xs.to/u/schristou88/albums/9083/photo/35720
/**
* @author Steven Christou
* @dev Hudson-ci
*/
[Updated on: Thu, 05 July 2012 01:15] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03515 seconds