Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Hudson » Hudson SVN credential exceptions(Always getting exceptions when entering credentials)
Hudson SVN credential exceptions [message #893592] Wed, 04 July 2012 18:10 Go to next message
Matthias Bünger is currently offline Matthias BüngerFriend
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 18:17 Go to previous messageGo to next message
Steve Christou is currently offline Steve ChristouFriend
Messages: 125
Registered: June 2012
Location: Milwaukee, Wisconsin
Senior Member

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 18:21]

Report message to a moderator

Re: Hudson SVN credential exceptions [message #893635 is a reply to message #893596] Thu, 05 July 2012 03:58 Go to previous messageGo to next message
Matthias Bünger is currently offline Matthias BüngerFriend
Messages: 6
Registered: July 2012
Junior Member
Hey,
the plugin manager looks like this:

one picture is the update-site the other one from the installed plugins with the SVN-entry


updates available:
www.
ishit.at
/i9774f220.png


SVN-entry:
www.
ishit.at
/i6b0c7aeb.png



p.s. have to use a free imagehoster as attachments are not allowed. but the links are not accepted because I have less than 25 messages, so plz concat the links yourself :/
Re: Hudson SVN credential exceptions [message #893645 is a reply to message #893635] Thu, 05 July 2012 05:13 Go to previous messageGo to next message
Steve Christou is currently offline Steve ChristouFriend
Messages: 125
Registered: June 2012
Location: Milwaukee, Wisconsin
Senior Member

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 05:15]

Report message to a moderator

Re: Hudson SVN credential exceptions [message #893841 is a reply to message #893645] Thu, 05 July 2012 16:18 Go to previous messageGo to next message
Matthias Bünger is currently offline Matthias BüngerFriend
Messages: 6
Registered: July 2012
Junior Member
Steve Christou wrote on 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



Thank you, the manually update of the svn plugin helped so that I could update the credentials and they where saved by hudson Smile

the update site looked the same as on your image
Re: Hudson SVN credential exceptions [message #893843 is a reply to message #893841] Thu, 05 July 2012 16:25 Go to previous message
Steve Christou is currently offline Steve ChristouFriend
Messages: 125
Registered: June 2012
Location: Milwaukee, Wisconsin
Senior Member

I actually just noticed that the svn plugin on the update-center is not updated. I will talk with someone to get that updated.

/**
 * @author Steven Christou
 * @dev    Hudson-ci
 */
Previous Topic:No Tests found
Next Topic:Exceeding memory usage logged by MemoryUsageMonitor
Goto Forum:
  


Current Time: Tue Apr 16 12:06:31 GMT 2024

Powered by FUDForum. Page generated in 1.75713 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top