Issue Details (XML | Word | Printable)

Key: BAM-911
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: kent lam
Votes: 4
Watchers: 4
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Bamboo

Cannot authenticate with Svn repository

Created: 23/Feb/07 12:51 PM   Updated: 18/Apr/07 11:24 PM
Component/s: Repository (Subversion)
Affects Version/s: 1.0
Fix Version/s: 1.0.5

Time Tracking:
Not Specified

Environment: Windows XP
Issue Links:
Reference
 

Participants: Ajay Sridhar [Atlassian], Anthony Whitford, chris richmond, Edwin Wong [Atlassian], kent lam and Mark Chaimungkalanont [Atlassian]
Since last comment: 1 year, 32 weeks, 4 days ago
Number of comments: 6
Internal Work Bucket: Investigating
Labels:


 Description  « Hide
On the Specify Source Repository screen, I have entered the subversion repository url(http://scm.fftw.com), userid and password, when it tries to connect, an error of: 'This is not a valid Subversion Repository: svn: PROPFIND of '/svn/active': 500 Internal Server Error (http://scm.fftw.com)'
Our subversion server uses the Windows Domain Authentication(mod_auth_sspi, http://www.subversionary.org/sspidomainauth), our subversion server authentication works fine with other tools such as subclipse, tortoise svn, and we are able to browse our repository via a browser. It just doesn't work with Bamboo for some reason.

Here is the stack trace from Bamboo:
INFO | jvm 2 | 2007/02/23 13:40:37 | 2007-02-23 13:40:37,317 INFO [SocketListener0-1] [SvnRepository] Failed to validate the subversion url
INFO | jvm 2 | 2007/02/23 13:40:37 | org.tmatesoft.svn.core.SVNException: svn: PROPFIND of '/svn/active': 500 Internal Server Error (http://scm.fftw.com)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:48)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.findStartingProperties(DAVUtil.java:124)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.fetchRepositoryUUID(DAVConnection.java:88)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.testConnection(DAVRepository.java:78)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.atlassian.bamboo.repository.svn.SvnRepository.validate(SvnRepository.java:477)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.atlassian.bamboo.ww2.actions.build.admin.config.ConfigureBuildRepository.validate(ConfigureBuildRepository.java:60)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:123)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor.doIntercept(BambooWorkflowInterceptor.java:33)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:81)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:115)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.atlassian.bamboo.ww2.interceptors.BambooValidationInterceptor.doIntercept(BambooValidationInterceptor.java:33)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:81)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:171)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.atlassian.bamboo.ww2.interceptors.BasePermissionCheckInterceptor.intercept(BasePermissionCheckInterceptor.java:38)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:151)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.atlassian.bamboo.ww2.interceptors.PaginationAwareInterceptor.intercept(PaginationAwareInterceptor.java:68)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.atlassian.bamboo.ww2.interceptors.StatisticsAwareInterceptor.intercept(StatisticsAwareInterceptor.java:42)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.atlassian.bamboo.ww2.interceptors.ResultsListAwareInterceptor.intercept(ResultsListAwareInterceptor.java:43)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.atlassian.bamboo.ww2.interceptors.TestCaseAwareInterceptor.intercept(TestCaseAwareInterceptor.java:43)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.atlassian.bamboo.ww2.interceptors.BuildAwareInterceptor.intercept(BuildAwareInterceptor.java:40)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:100)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.atlassian.bamboo.ww2.interceptors.BuildConfigurationInterceptor.intercept(BuildConfigurationInterceptor.java:132)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.atlassian.bamboo.ww2.interceptors.BuildConfigurationFromSessionInterceptor.intercept(BuildConfigurationFromSessionInterceptor.java:46)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:113)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:233)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:198)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:78)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.atlassian.bamboo.filter.SeraphLoginFilter.doFilter(SeraphLoginFilter.java:56)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:191)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:90)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.atlassian.bamboo.filter.BambooAcegiProxyFilter.doFilter(BambooAcegiProxyFilter.java:25)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.atlassian.bamboo.filter.LicenseFilter.doFilter(LicenseFilter.java:71)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:91)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:182)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:177)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.atlassian.spring.filter.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:29)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.atlassian.bamboo.filter.CompressingFilter.doFilter(CompressingFilter.java:69)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823)
INFO | jvm 2 | 2007/02/23 13:40:37 | at com.atlassian.bamboo.filter.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:26)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:635)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.mortbay.jetty.plus.PlusWebAppContext.handle(PlusWebAppContext.java:158)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.mortbay.http.HttpServer.service(HttpServer.java:954)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.mortbay.http.HttpConnection.service(HttpConnection.java:814)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
INFO | jvm 2 | 2007/02/23 13:40:37 | at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
kent lam added a comment - 23/Feb/07 04:46 PM
By looking at my apache and subversion logs, it seems Bamboo is not passing the username and password to subversion for authentication, I see this in my svn log file:
[error] [client 127.0.0.1] (OS 1326)Logon failure: unknown user name or bad password. : authentication failure for "/svn/active": user unknown

Mark Chaimungkalanont [Atlassian] added a comment - 26/Feb/07 06:36 PM
Kent,

At this moment, using passed through passwords is not supported. It's something that we're looking into right at the moment.

To be perfectly honest, I'm not sure if will be able to support the SSPI Auth specifically, but we'll try and give you any updates on this issue.

Cheers,

Mark C


Anthony Whitford added a comment - 27/Feb/07 09:54 AM
This issue is a deal killer for me... How is it that tools like Subclipse and Continuum can do this, but Bamboo can not? There has to be a way...

chris richmond added a comment - 20/Mar/07 07:18 PM
At this point, this is the deal breaker for not buying Bamboo. How big of an effort would this be?

Chris


Edwin Wong [Atlassian] added a comment - 20/Mar/07 11:36 PM
HI guys,

Thanks for all the comments and feedback.

An update to this area (SVN authentication):

We have implemented default cached pass through authentication as outlined in BAM-935. So if Bamboo runs under a user who has cached svn authentication, connection to SVN will work without a password/passkey put into Bamboo.

Also related, Bamboo now supports svn+ssh so you can authenticate via a passkey/passphrase.

We are currently looking into the windows domain authentication method, and will post an update on this ASAP.

Regards,
Edwin


Ajay Sridhar [Atlassian] added a comment - 18/Apr/07 11:23 PM
Hi guys,

Thank you for your patience.

Bamboo now supports authentication with SSPI enabled, Please upgrade to Bamboo 1.0.5.

Cheers,
Ajay