[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: encountered error with subversion version 1.8.0

From: Austin Mico <un.f.m.o.j_at_gmail.com>
Date: Thu, 30 Jan 2014 13:02:29 +0800

It keeps prompting for the password and throws the error below afterwards.

svn: E215004: Commit failed (details follow):
svn: E215004: No more credentials or we tried too many times.
Authentication failed

On Thu, Jan 30, 2014 at 12:46 PM, Ben Reser <ben_at_reser.org> wrote:

> On 1/29/14, 8:21 PM, Austin Mico wrote:
> > I have encountered error with subversion. The conf for apache is
> >
> > <LocationMatch "^/repos/endeca/pipeline">
> > DAV svn
> > SVNParentPath /var/repos
> > SVNPathAuthz off
> > AuthBasicProvider file
> > AuthType Basic
> > AuthName "SVN Login"
> > AuthLDAPURL
> > AuthUserFile /etc/httpd/conf/svnuser_local
> > <Limit GET PROPFIND OPTIONS REPORT PROPPATCH POST MKCOL MERGE PUT
> COPY
> > DELETE MKACTIVITY CHECKOUT>
> > require user svnuser
> > </Limit>
> > </LocationMatch>
>
> I think this is being caused by your LocationMatch. Every request is
> going to
> think that the server is rooted at the path you're requesting.
> LocationMatch
> can be used but you have to be really careful about it and in your
> particular
> case I don't think you need it at all.
>
> I also don't understand why you're using a Limit block around the require
> directive. That block is missing the MOVE, LOCK and UNLOCK methods.
> Assuming
> that you don't have "SVNAutoversioning on" turned on somewhere else you
> can't
> really do anything useful with those being open to anonymous users (MOVE
> without auto-versioning requires a transaction/activity which would
> require a
> POST or MKACTIVITY in advance and LOCK/UNLOCK are not allowed for anonymous
> users). So I suspect you really just want all actions against the
> repository
> to require the user. So just removing the Limit blocks and put "Require
> user
> svnuser" directly inside the Location block.
>
> Not sure what the AuthLDAPURL is doing in there with not value either.
>
> With those three things I suspect that your configuration should look like
> this:
> <Location /repos/endeca/pipeline>
> DAV svn
> SVNParentPath /var/repos
> SVNPathAuthz off
> AuthBasicProvider file
> AuthType Basic
> AuthName "SVN Login"
> AuthUserFile /etc/httpd/conf/svnuser_local
> Require user svnuser
> </Location>
>
> > I encountered error is
> >
> > httpd: subversion/libsvn_subr/dirent_uri.c:2543: svn_fspath__join:
> Assertion
> > `svn_fspath__is_canonical(fspath)' failed.
> >
> > [Wed Jan 29 22:43:20 2014] [notice] child pid 2740 exit signal Aborted
> (6)
> >
> > httpd: subversion/libsvn_subr/dirent_uri.c:2543: svn_fspath__join:
> Assertion
> > `svn_fspath__is_canonical(fspath)' failed.
> >
> > [Wed Jan 29 22:43:21 2014] [notice] child pid 2742 exit signal Aborted
> (6)
>
> What were you doing when you got this error? Do you have the error from
> the
> client, it should be returning an error as well.
>
> Even if the above resolves your problem I'd be interested in the above so
> that
> we can improve the error message you're getting in the future.
>
> I'd also encourage you to upgrade the server to a newer version than 1.8.0,
> we've fixed some bugs in the meantime.
>
>
Received on 2014-01-30 06:03:02 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.