Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: subversion-plugin
-
Labels:None
-
Environment:Platform: Other, OS: Linux
Description
After a recent upgrade (I do not remember from which version, but the problem
occurs as of release 290), Hudson is unable to connect to our SVN server to
check out the project.
The authentication method is username/password. The project is configured to use
"pangu" as the username, but the administrator of the SVN server reports that
the actual password supplied is "hudson" (which is the owner of the Hudson process).
I've deleted "hudson.scm.SubversionSCM.xml" in an attempt to start again
(restarted Hudson after deletion), and even used a different browser to enter
credentials to avoid caching. The "hudson.scm.SubversionSCM.xml" is recreated,
but yet the wrong username is sent.
It seems that no matter what valid username/password we use for "Enter
Credentials", the username is accepted, "hudson.scm.SubversionSCM.xml" is
updated, and upon building the project the "hudson" username is passed rather
than the configured username.
Activity
| Field | Original Value | New Value |
|---|---|---|
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
A log of the exception:
Mar 11, 2009 11:26:52 AM hudson.scm.SubversionSCM$DescriptorImpl$2 check
INFO: Failed to access subversion repository
https://engsvnhost.tc.fluke.com/repos/fpm.pangu
org.tmatesoft.svn.core.SVNAuthenticationException: svn: OPTIONS of
'/repos/fpm.pangu': 403 Forbidden (https://engsvnhost.tc.fluke.com)
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(HTTPConnection.java:595)
at
org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:257)
at
org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:245)
at
org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.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(DAVRepository.java:664)
at
org.tmatesoft.svn.core.internal.io.dav.DAVRepository.testConnection(DAVRepository.java:96)
at
hudson.scm.SubversionSCM$DescriptorImpl.checkRepositoryPath(SubversionSCM.java:1519)
at hudson.scm.SubversionSCM$DescriptorImpl$2.check(SubversionSCM.java:1460)
at hudson.util.FormFieldValidator.process(FormFieldValidator.java:135)
at
hudson.scm.SubversionSCM$DescriptorImpl.doSvnRemoteLocationCheck(SubversionSCM.java:1437)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:156)
at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:76)
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:438)
at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:181)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:438)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:356)
at org.kohsuke.stapler.Stapler.service(Stapler.java:116)
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:91)
at
org.jvnet.hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:38)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:83)
at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:75)
at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:67)
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:133)
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:619)