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

Re: 400 Bad Request error from svn

From: Jean Figarella <jfigarella_at_vecna.com>
Date: 2006-08-24 21:18:27 CEST

Jean Figarella wrote:
>
>
> Jean Figarella wrote:
>>
>>
>> Nico Kadel-Garcia wrote:
>>> Jean Figarella wrote:
>>>> Nico Kadel-Garcia wrote:
>>>
>>>>> Is the directory in the user's home directory, and is actually
>>>>> $HOME/local? Or is it on the local disk, outside the NFS shares? And
>>>>> what is the Subversion version on the old FC3 release and on the
>>>>> CentOS 4.3 release?
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>>>>> For additional commands, e-mail: users-help@subversion.tigris.org
>>>>
>>>>
>>>>
>>>>
>>>> Nico,
>>>>
>>>> /home is a nfs mounted dir. If I am on Fedora and I cd into
>>>> /home/jean/dev/ and then I do svn update everything works fine. If I
>>>> do the same on centos 4.3; cd /home/jean/dev and then svn update, it
>>>> gives me the error. But if I am still on centos and I create a /local
>>>> on the *local drive*, then I can check out code or documents there
>>>> and do everything else. Again, while I am on the nfs mounted dir it
>>>> does not works, once I get out of the nfs dir then it works.
>>>>
>>>> The subversion version on Fedora is 1.2.1 and in centos 4.3 it is
>>>> 1.1.4. I have already tried upgrading to the same subversion version
>>>> and to more recent ones, and that did not work.
>>>>
>>>> Hope this clarifies things up.
>>>
>>> I'm forwarding this to the list.
>>>
>>> It does make things more clear: note that with the available updates
>>> for FC3 and David Summer's RPM's and SRPM's for CentOS 4.x, there is
>>> no reason to stay with such old versions, and a good set of reasons
>>> to upgrade.
>>>
>>> I'm wondering about file ownership under NFS. Do both machines have
>>> the same UID for the same username, or does one of them by some weird
>>> chance have a duplicate entry for your username with a different UID?
>>> I've seen precisely that sort of problem in mixed environments
>>> before, when people were careless about adding machines to NFS services.
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>>> For additional commands, e-mail: users-help@subversion.tigris.org
>>
>>
>>
>>
>> Authentication is done via NIS, so uid and gid is the same under both
>> distributions and computers. I also checked nfs access permision on
>> the /etc/exports files and both computers or hosts have the same set
>> of permissions.
>>
>>
>> I will try to upgrade to the latest version of subversion and see how
>> it goes.
>>
>> Thanks
>> Jean
>>
>
> Here is the output:
>
> As root on the centos 4.3 system:
>
> [root@moody subversion]# rpm -Uvh subversion-1.3.2-1.rhel4.i386.rpm
> Preparing... ###########################################
> [100%]
> 1:subversion ###########################################
> [100%]
> [root@moody subversion]#
>
>
> As a regular user on the same system:
>
> bash-3.00$ cd ~/dev/sysadmin/
> bash-3.00$ svn update
> svn: REPORT request failed on '/svn/code/!svn/vcc/default'
> svn: REPORT of '/svn/code/!svn/vcc/default': 400 Bad Request
> (https://subversion)
> bash-3.00$
> bash-3.00$ cd /local/new_dev/sysadmin/
> bash-3.00$ svn update
> At revision 30009.
> bash-3.00$
>
> -Jean
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org

Here is something new that I found out. Looking at the logs in
/var/log/httpd.

When I svn from the local dir: (svn update)

from ssl_access_log

192.168.3.80 - - "PROPFIND /svn/code/sysadmin HTTP/1.1" 401 478
192.168.3.80 - "PROPFIND /svn/code/sysadmin HTTP/1.1" 207 692
192.168.3.80 - "PROPFIND /svn/code/!svn/vcc/default HTTP/1.1" 207 402
192.168.3.80 - "PROPFIND /svn/code/!svn/bln/30382 HTTP/1.1" 207 461
192.168.3.80 - "PROPFIND /svn/code/sysadmin HTTP/1.1" 207 692
192.168.3.80 - "REPORT /svn/code/!svn/vcc/default HTTP/1.1" 200 647

and from ssl_request_log

192.168.3.80 TLSv1 DHE-RSA-AES256-SHA "PROPFIND /svn/code/sysadmin
HTTP/1.1" 478

192.168.3.80 TLSv1 DHE-RSA-AES256-SHA "PROPFIND /svn/code/sysadmin
HTTP/1.1" 692

192.168.3.80 TLSv1 DHE-RSA-AES256-SHA "PROPFIND
/svn/code/!svn/vcc/default HTTP/1.1" 402

192.168.3.80 TLSv1 DHE-RSA-AES256-SHA "PROPFIND /svn/code/!svn/bln/30382
HTTP/1.1" 461

192.168.3.80 TLSv1 DHE-RSA-AES256-SHA "PROPFIND /svn/code/sysadmin
HTTP/1.1" 692

192.168.3.80 TLSv1 DHE-RSA-AES256-SHA "REPORT /svn/code/!svn/vcc/default
HTTP/1.1" 647

Now to the good part, when I run svn from the nfs mounted dir. (svn update)

from ssl_access_log

192.168.3.80 - -"PROPFIND /svn/code/sysadmin HTTP/1.1" 401 478
192.168.3.80 - "PROPFIND /svn/code/sysadmin HTTP/1.1" 207 692
192.168.3.80 - "PROPFIND /svn/code/!svn/vcc/default HTTP/1.1" 207 402
192.168.3.80 - "PROPFIND /svn/code/!svn/bln/30387 HTTP/1.1" 207 461
192.168.3.80 - "PROPFIND /svn/code/sysadmin HTTP/1.1" 207 692
192.168.3.80 - "REPORT /svn/code/!svn/vcc/default HTTP/1.1" 400 303

from ssl_request_log

192.168.3.80 TLSv1 DHE-RSA-AES256-SHA "PROPFIND /svn/code/sysadmin
HTTP/1.1" 478

192.168.3.80 TLSv1 DHE-RSA-AES256-SHA "PROPFIND /svn/code/sysadmin
HTTP/1.1" 692

192.168.3.80 TLSv1 DHE-RSA-AES256-SHA "PROPFIND
/svn/code/!svn/vcc/default HTTP/1.1" 402

192.168.3.80 TLSv1 DHE-RSA-AES256-SHA "PROPFIND /svn/code/!svn/bln/30387
HTTP/1.1" 461

192.168.3.80 TLSv1 DHE-RSA-AES256-SHA "PROPFIND /svn/code/sysadmin
HTTP/1.1" 692

192.168.3.80 TLSv1 DHE-RSA-AES256-SHA "REPORT /svn/code/!svn/vcc/default
HTTP/1.1" 303

and from the ssl_error_log

[error] [client 192.168.3.80] The request body must specify a report.

Is this an ssl error or is it webdav?
The version of openssl on the Fedora box is actually older than the one
the CentOS box.

Fedora:
-bash-3.00$ rpm -qa | grep ssl
openssl-0.9.7a-42.1
xmlsec1-openssl-1.2.6-3
openssl-devel-0.9.7a-42.1

and CentOS
bash-3.00$ rpm -qa | grep ssl
openssl-0.9.7a-43.8
openssl-devel-0.9.7a-43.8
xmlsec1-openssl-1.2.6-3

Any ideas?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 24 21:22:01 2006

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.