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

400 bad request from client

From: Steve Peterson <stevep-hv_at_zpfe.com>
Date: 2006-09-06 00:06:51 CEST

I'm trying to troubleshoot an issue that I'm having both with
Subclipse and RapidSVN that looks to be a lower level protocol
problem in common with both applications.

The errors manifest themselves like this:

RapidSVN:
Execute: Checkout
Error while performing action: REPORT request failed on
'/LNSS/!svn/vcc/default'
REPORT of '/LNSS/!svn/vcc/default': 400 Bad Request (http://svn.lifetouch.net)
Ready

Subclipse
checkout -r HEAD http://svn.lifetouch.net/LNSS/account-management/src
     RA layer request failed
svn: REPORT request failed on '/LNSS/!svn/vcc/default'
svn: REPORT of '/LNSS/!svn/vcc/default': 400 Bad Request
(http://svn.lifetouch.net)

The named URL can be checked out successfully on other machines and
can be browsed via the SVN Repository Exploring view and via the
RapidSVN bookmarks pane.

I sniffed the traffic between the client and server and the error
seems to occur after authentication occurs, during the following
exchange. Note the missing closing > in both hunks of XML. The same
behavior is repeatable and occurs with both clients.

The trace:

...

REPORT /LNSS/!svn/vcc/default HTTP/1.1
Host: svn.lifetouch.net
User-Agent: SVN/1.3.2 (r19776) neon/0.25.5
Connection: TE
TE: trailers
Content-Length: 236
Content-Type: text/xml
Accept-Encoding: gzip
Accept-Encoding: gzip
Authorization: Basic xxx=

<S:update-report send-all="true"
xmlns:S="svn:"><S:src-path>http://svn.lifetouch.net/LNSS/account-management/src</S:src-path><S:target-revision>2310</S:target-revision><S:entry
rev="2310" start-empty="true"></S:entry></S:update-report

HTTP/1.1 400 Bad Request
Date: Tue, 05 Sep 2006 21:32:00 GMT
Server: Apache/2.0.55 (Win32) mod_auth_sspi/1.0.3 SVN/1.3.0 DAV/2
Content-Length: 344
Connection: close
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
<hr>
<address>Apache/2.0.55 (Win32) mod_auth_sspi/1.0.3 SVN/1.3.0 DAV/2
Server at svn.lifetouch.net Port 80</address>
</body></html>

REPORT /LNSS/!svn/vcc/default HTTP/1.1
Host: svn.lifetouch.net
User-Agent: SVN/1.3.2 (r19776) neon/0.25.5
Connection: TE
TE: trailers
Content-Length: 236
Content-Type: text/xml
Accept-Encoding: gzip
Accept-Encoding: gzip
Authorization: Basic xxx=

<S:update-report send-all="true"
xmlns:S="svn:"><S:src-path>http://svn.lifetouch.net/LNSS/account-management/src</S:src-path><S:target-revision>2310</S:target-revision><S:entry
rev="2310" start-empty="true"></S:entry></S:update-report

--
The server is 1.3.0 on Apache 2.0.55 on Win32.  The clients are 
RapidSVN 0.9.3 (based on SVN 1.3.2) and Eclipse 3.1.2 with Subclipse 
1.0.3 on Win32.  The server log seems to indicate that the message is 
malformed as well.  The client and server are one hop apart and 
there's no proxy between them.
Received on Wed Sep 6 00:08:55 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.