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

The OPTIONS request returned invalid XML ???

From: Manuel Gamito <mag_at_iscte.pt>
Date: 2004-07-10 19:03:35 CEST

Hello,
 
I compiled subversion 1.0.5 on a RedHat 9.0 machine with Apache 2.0.50 and
BerkeleyDB 4.2. When I try to import an initial file tree into subversion
with the http schema I get the following error:
 
svn import xpto http://lablin2.adetti.iscte.pt/svn/mag -m "test"
svn: OPTIONS request failed on '/svn/mag'
svn: The OPTIONS request returned invalid XML in the response: XML parse
error at line 1: Extra content at the end of the document
. (/svn/mag)

If I try to do the same import using the svn standalone server it works
fine.

What I did next what to set up:
neon-debug-mask = 130
in the "servers" configuration file and I repeated the command. I leave the
log at the end of this mail, in case someone can understand what it means.

Hope somebody can tell me what is happening with my setup.
Regards,
Manuel gamito

Creating request...
Running request create hooks.
Request created.
Doing DNS lookup on lablin2.adetti.iscte.pt...
Running pre_send hooks
Sending request headers:
PROPFIND /svn/mag HTTP/1.1
Host: lablin2.adetti.iscte.pt
User-Agent: SVN/1.0.5 (r9954) neon/0.24.6
Keep-Alive:
Connection: TE, Keep-Alive
TE: trailers
Content-Length: 300
Content-Type: text/xml
Depth: 0

Sending request-line and headers:
Connecting to 193.136.190.51
Sending request body...
Body block (300 bytes):
[<?xml version="1.0" encoding="utf-8"?><propfind
xmlns="DAV:"><prop><version-controlled-configuration
xmlns="DAV:"/><resourcetype xmlns="DAV:"/><baseline-relative-path
xmlns="http://subversion.tigris.org/xmlns/dav/"/><repository-uuid
xmlns="http://subversion.tigris.org/xmlns/dav/"/></prop></propfind>]
Request body sent: okay.
Request sent; retry is 0.
[status-line] < HTTP/1.1 401 Authorization Required
[hdr] Date: Sat, 10 Jul 2004 16:58:24 GMT
Header Name: [date], Value: [Sat, 10 Jul 2004 16:58:24 GMT]
[hdr] Server: Apache/2.0.50 (Unix)
Header Name: [server], Value: [Apache/2.0.50 (Unix)]
[hdr] WWW-Authenticate: Basic realm="Subversion Repository"
Header Name: [www-authenticate], Value: [Basic realm="Subversion
Repository"]
[hdr] Vary: accept-language,accept-charset
Header Name: [vary], Value: [accept-language,accept-charset]
[hdr] Accept-Ranges: bytes
Header Name: [accept-ranges], Value: [bytes]
[hdr] Keep-Alive: timeout=15, max=100
Header Name: [keep-alive], Value: [timeout=15, max=100]
[hdr] Connection: Keep-Alive
Header Name: [connection], Value: [Keep-Alive]
[hdr] Transfer-Encoding: chunked
Header Name: [transfer-encoding], Value: [chunked]
[hdr] Content-Type: text/html; charset=iso-8859-1
Header Name: [content-type], Value: [text/html; charset=iso-8859-1]
[hdr] Content-Language: en
Header Name: [content-language], Value: [en]
[hdr]
End of headers.
New chunk.
[Chunk Size] < 1e
Got chunk size: 30
Reading 30 bytes of response body.
Got 30 bytes.
Read block (30 bytes):
[<?xml version="1.0" encoding="]
New chunk.
[Chunk Size] < af
Got chunk size: 175
Reading 175 bytes of response body.
Got 175 bytes.
Read block (175 bytes):
[ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="]
New chunk.
[Chunk Size] < e
Got chunk size: 14
Reading 14 bytes of response body.
Got 14 bytes.
Read block (14 bytes):
[en" xml:lang="]
New chunk.
[Chunk Size] < 13
Got chunk size: 19
Reading 19 bytes of response body.
Got 19 bytes.
Read block (19 bytes):
[en">
<head>
<title>]
New chunk.
[Chunk Size] < 3f
Got chunk size: 63
Reading 63 bytes of response body.
Got 63 bytes.
Read block (63 bytes):
[Authentication required!</title>
<link rev="made" href="mailto:]
New chunk.
[Chunk Size] < 105
Got chunk size: 261
Reading 261 bytes of response body.
Got 261 bytes.
Read block (261 bytes):
[mag@iscte.pt" />
<style type="text/css"><!--/*--><![CDATA[/*><!--*/
    body { color: #000000; background-color: #FFFFFF; }
    a:link { color: #0000CC; }
    p, address {margin-left: 3em;}
    span {font-size: smaller;}
/*]]>*/--></style>
</head>

<body>
<h1>]
New chunk.
[Chunk Size] < 21
Got chunk size: 33
Reading 33 bytes of response body.
Got 33 bytes.
Read block (33 bytes):
[Authentication required!</h1>
<p>]
New chunk.
[Chunk Size] < 52
Got chunk size: 82
Reading 82 bytes of response body.
Got 82 bytes.
Read block (82 bytes):
[

    This server could not verify that you are authorized to access
    the URL "]
New chunk.
[Chunk Size] < a1
Got chunk size: 161
Reading 161 bytes of response body.
Got 161 bytes.
Read block (161 bytes):
[/svn/mag".
    You either supplied the wrong credentials (e.g., bad password), or your
    browser doesn't understand how to supply the credentials required.

  ]
New chunk.
[Chunk Size] < 9
Got chunk size: 9
Reading 9 bytes of response body.
Got 9 bytes.
Read block (9 bytes):
[</p>
<p>
]
New chunk.
[Chunk Size] < 72
Got chunk size: 114
Reading 114 bytes of response body.
Got 114 bytes.
Read block (114 bytes):
[

    In case you are allowed to request the document, please
    check your user-id and password and try again.

]
New chunk.
[Chunk Size] < 9
Got chunk size: 9
Reading 9 bytes of response body.
Got 9 bytes.
Read block (9 bytes):
[</p>
<p>
]
New chunk.
[Chunk Size] < 48
Got chunk size: 72
Reading 72 bytes of response body.
Got 72 bytes.
Read block (72 bytes):
[If you think this is a server error, please contact
the <a href="mailto:]
New chunk.
[Chunk Size] < 1d
Got chunk size: 29
Reading 29 bytes of response body.
Got 29 bytes.
Read block (29 bytes):
[mag@iscte.pt">webmaster</a>.
]
New chunk.
[Chunk Size] < 11
Got chunk size: 17
Reading 17 bytes of response body.
Got 17 bytes.
Read block (17 bytes):
[
</p>

<h2>Error ]
New chunk.
[Chunk Size] < 21
Got chunk size: 33
Reading 33 bytes of response body.
Got 33 bytes.
Read block (33 bytes):
[401</h2>
<address>
  <a href="/">]
New chunk.
[Chunk Size] < 24
Got chunk size: 36
Reading 36 bytes of response body.
Got 36 bytes.
Read block (36 bytes):
[lablin2.adetti.iscte.pt</a><br />
  ]
New chunk.
[Chunk Size] < 9
Got chunk size: 9
Reading 9 bytes of response body.
Got 9 bytes.
Read block (9 bytes):
[
  <span>]
New chunk.
[Chunk Size] < 21
Got chunk size: 33
Reading 33 bytes of response body.
Got 33 bytes.
Read block (33 bytes):
[Sat Jul 10 17:58:24 2004<br />
  ]
New chunk.
[Chunk Size] < 37
Got chunk size: 55
Reading 55 bytes of response body.
Got 55 bytes.
Read block (55 bytes):
[Apache/2.0.50 (Unix)</span>
</address>
</body>
</html>
]
New chunk.
[Chunk Size] < 1
Got chunk size: 1
Reading 1 bytes of response body.
Got 1 bytes.
Read block (1 bytes):
[
]
New chunk.
[Chunk Size] < 0
Got chunk size: 0
Zero-size chunk.
[hdr]
End of headers.
Running post_send hooks
Running pre_send hooks
Sending request headers:
PROPFIND /svn/mag HTTP/1.1
Host: lablin2.adetti.iscte.pt
User-Agent: SVN/1.0.5 (r9954) neon/0.24.6
Keep-Alive:
Connection: TE, Keep-Alive
TE: trailers
Content-Length: 300
Content-Type: text/xml
Depth: 0
Authorization: xxxxxxxxxxxxxxxxxxxxxxxxxx

Sending request-line and headers:
Sending request body...
Body block (300 bytes):
[<?xml version="1.0" encoding="utf-8"?><propfind
xmlns="DAV:"><prop><version-controlled-configuration
xmlns="DAV:"/><resourcetype xmlns="DAV:"/><baseline-relative-path
xmlns="http://subversion.tigris.org/xmlns/dav/"/><repository-uuid
xmlns="http://subversion.tigris.org/xmlns/dav/"/></prop></propfind>]
Request body sent: okay.
Request sent; retry is 1.
[status-line] < HTTP/1.1 207 Multi-Status
[hdr] Date: Sat, 10 Jul 2004 16:58:24 GMT
Header Name: [date], Value: [Sat, 10 Jul 2004 16:58:24 GMT]
[hdr] Server: Apache/2.0.50 (Unix)
Header Name: [server], Value: [Apache/2.0.50 (Unix)]
[hdr] Keep-Alive: timeout=15, max=99
Header Name: [keep-alive], Value: [timeout=15, max=99]
[hdr] Connection: Keep-Alive
Header Name: [connection], Value: [Keep-Alive]
[hdr] Transfer-Encoding: chunked
Header Name: [transfer-encoding], Value: [chunked]
[hdr] Content-Type: text/xml; charset="utf-8"
Header Name: [content-type], Value: [text/xml; charset="utf-8"]
[hdr]
End of headers.
New chunk.
[Chunk Size] < 285
Got chunk size: 645
Reading 645 bytes of response body.
Got 645 bytes.
Read block (645 bytes):
[<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:"
xmlns:ns1="http://subversion.tigris.org/xmlns/dav/" xmlns:ns0="DAV:">
<D:response xmlns:lp1="DAV:"
xmlns:lp3="http://subversion.tigris.org/xmlns/dav/">
<D:href>/svn/mag/</D:href>
<D:propstat>
<D:prop>
<lp1:version-controlled-configuration><D:href>/svn/mag/!svn/vcc/default</D:h
ref></lp1:version-controlled-configuration>
<lp1:resourcetype><D:collection/></lp1:resourcetype>
<lp3:baseline-relative-path/>
<lp3:repository-uuid>71d9afbd-6bdc-0310-9397-8e2640024dbd</lp3:repository-uu
id>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
]
New chunk.
[Chunk Size] < 0
Got chunk size: 0
Zero-size chunk.
[hdr]
End of headers.
Running post_send hooks
Request ends, status 207 class 2xx, error line:
207 Multi-Status
Running destroy hooks.
Request ends.
Creating request...
Running request create hooks.
Request created.
Running pre_send hooks
Sending request headers:
PROPFIND /svn/mag/!svn/vcc/default HTTP/1.1
Host: lablin2.adetti.iscte.pt
User-Agent: SVN/1.0.5 (r9954) neon/0.24.6
Connection: TE
TE: trailers
Content-Length: 111
Content-Type: text/xml
Depth: 0
Authorization: xxxxxxxxxxxxxxxxxxxxxxxxxx

Sending request-line and headers:
Sending request body...
Body block (111 bytes):
[<?xml version="1.0" encoding="utf-8"?><propfind
xmlns="DAV:"><prop><checked-in xmlns="DAV:"/></prop></propfind>]
Request body sent: okay.
Request sent; retry is 1.
[status-line] < HTTP/1.1 207 Multi-Status
[hdr] Date: Sat, 10 Jul 2004 16:58:24 GMT
Header Name: [date], Value: [Sat, 10 Jul 2004 16:58:24 GMT]
[hdr] Server: Apache/2.0.50 (Unix)
Header Name: [server], Value: [Apache/2.0.50 (Unix)]
[hdr] Transfer-Encoding: chunked
Header Name: [transfer-encoding], Value: [chunked]
[hdr] Content-Type: text/xml; charset="utf-8"
Header Name: [content-type], Value: [text/xml; charset="utf-8"]
[hdr]
End of headers.
New chunk.
[Chunk Size] < 18c
Got chunk size: 396
Reading 396 bytes of response body.
Got 396 bytes.
Read block (396 bytes):
[<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:" xmlns:ns0="DAV:">
<D:response xmlns:lp1="DAV:"
xmlns:lp3="http://subversion.tigris.org/xmlns/dav/">
<D:href>/svn/mag/!svn/vcc/default</D:href>
<D:propstat>
<D:prop>
<lp1:checked-in><D:href>/svn/mag/!svn/bln/2</D:href></lp1:checked-in>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
]
New chunk.
[Chunk Size] < 0
Got chunk size: 0
Zero-size chunk.
[hdr]
End of headers.
Running post_send hooks
Request ends, status 207 class 2xx, error line:
207 Multi-Status
Running destroy hooks.
Request ends.
Creating request...
Running request create hooks.
Request created.
Running pre_send hooks
Sending request headers:
PROPFIND /svn/mag/!svn/bln/2 HTTP/1.1
Host: lablin2.adetti.iscte.pt
User-Agent: SVN/1.0.5 (r9954) neon/0.24.6
Connection: TE
TE: trailers
Content-Length: 148
Content-Type: text/xml
Depth: 0
Authorization: xxxxxxxxxxxxxxxxxxxxxxxxxx

Sending request-line and headers:
Sending request body...
Body block (148 bytes):
[<?xml version="1.0" encoding="utf-8"?><propfind
xmlns="DAV:"><prop><baseline-collection xmlns="DAV:"/><version-name
xmlns="DAV:"/></prop></propfind>]
Request body sent: okay.
Request sent; retry is 1.
[status-line] < HTTP/1.1 207 Multi-Status
[hdr] Date: Sat, 10 Jul 2004 16:58:24 GMT
Header Name: [date], Value: [Sat, 10 Jul 2004 16:58:24 GMT]
[hdr] Server: Apache/2.0.50 (Unix)
Header Name: [server], Value: [Apache/2.0.50 (Unix)]
[hdr] Transfer-Encoding: chunked
Header Name: [transfer-encoding], Value: [chunked]
[hdr] Content-Type: text/xml; charset="utf-8"
Header Name: [content-type], Value: [text/xml; charset="utf-8"]
[hdr]
End of headers.
New chunk.
[Chunk Size] < 1bf
Got chunk size: 447
Reading 447 bytes of response body.
Got 447 bytes.
Read block (447 bytes):
[<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:" xmlns:ns0="DAV:">
<D:response xmlns:lp1="DAV:"
xmlns:lp3="http://subversion.tigris.org/xmlns/dav/">
<D:href>/svn/mag/!svn/bln/2</D:href>
<D:propstat>
<D:prop>
<lp1:baseline-collection><D:href>/svn/mag/!svn/bc/2/</D:href></lp1:baseline-
collection>
<lp1:version-name>2</lp1:version-name>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
]
New chunk.
[Chunk Size] < 0
Got chunk size: 0
Zero-size chunk.
[hdr]
End of headers.
Running post_send hooks
Request ends, status 207 class 2xx, error line:
207 Multi-Status
Running destroy hooks.
Request ends.
Creating request...
Running request create hooks.
Request created.
Running pre_send hooks
Sending request headers:
PROPFIND /svn/mag/!svn/bc/2 HTTP/1.1
Host: lablin2.adetti.iscte.pt
User-Agent: SVN/1.0.5 (r9954) neon/0.24.6
Connection: TE
TE: trailers
Content-Length: 300
Content-Type: text/xml
Depth: 0
Authorization: xxxxxxxxxxxxxxxxxxxxxxxxxx

Sending request-line and headers:
Sending request body...
Body block (300 bytes):
[<?xml version="1.0" encoding="utf-8"?><propfind
xmlns="DAV:"><prop><version-controlled-configuration
xmlns="DAV:"/><resourcetype xmlns="DAV:"/><baseline-relative-path
xmlns="http://subversion.tigris.org/xmlns/dav/"/><repository-uuid
xmlns="http://subversion.tigris.org/xmlns/dav/"/></prop></propfind>]
Request body sent: okay.
Request sent; retry is 1.
[status-line] < HTTP/1.1 207 Multi-Status
[hdr] Date: Sat, 10 Jul 2004 16:58:24 GMT
Header Name: [date], Value: [Sat, 10 Jul 2004 16:58:24 GMT]
[hdr] Server: Apache/2.0.50 (Unix)
Header Name: [server], Value: [Apache/2.0.50 (Unix)]
[hdr] Transfer-Encoding: chunked
Header Name: [transfer-encoding], Value: [chunked]
[hdr] Content-Type: text/xml; charset="utf-8"
Header Name: [content-type], Value: [text/xml; charset="utf-8"]
[hdr]
End of headers.
New chunk.
[Chunk Size] < 28f
Got chunk size: 655
Reading 655 bytes of response body.
Got 655 bytes.
Read block (655 bytes):
[<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:"
xmlns:ns1="http://subversion.tigris.org/xmlns/dav/" xmlns:ns0="DAV:">
<D:response xmlns:lp1="DAV:"
xmlns:lp3="http://subversion.tigris.org/xmlns/dav/">
<D:href>/svn/mag/!svn/bc/2/</D:href>
<D:propstat>
<D:prop>
<lp1:version-controlled-configuration><D:href>/svn/mag/!svn/vcc/default</D:h
ref></lp1:version-controlled-configuration>
<lp1:resourcetype><D:collection/></lp1:resourcetype>
<lp3:baseline-relative-path/>
<lp3:repository-uuid>71d9afbd-6bdc-0310-9397-8e2640024dbd</lp3:repository-uu
id>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
]
New chunk.
[Chunk Size] < 0
Got chunk size: 0
Zero-size chunk.
[hdr]
End of headers.
Running post_send hooks
Request ends, status 207 class 2xx, error line:
207 Multi-Status
Running destroy hooks.
Request ends.
Creating request...
Running request create hooks.
Request created.
Running pre_send hooks
Sending request headers:
OPTIONS /svn/mag HTTP/1.1
Host: lablin2.adetti.iscte.pt
User-Agent: SVN/1.0.5 (r9954) neon/0.24.6
Connection: TE
TE: trailers
Content-Length: 104
Content-Type: text/xml
Authorization: xxxxxxxxxxxxxxxxxxxxxxxxxx

Sending request-line and headers:
Sending request body...
Body block (104 bytes):
[<?xml version="1.0" encoding="utf-8"?><D:options
xmlns:D="DAV:"><D:activity-collection-set/></D:options>]
Request body sent: okay.
Request sent; retry is 1.
[status-line] < HTTP/1.1 200 OK
[hdr] Date: Sat, 10 Jul 2004 16:58:24 GMT
Header Name: [date], Value: [Sat, 10 Jul 2004 16:58:24 GMT]
[hdr] Server: Apache/2.0.50 (Unix)
Header Name: [server], Value: [Apache/2.0.50 (Unix)]
[hdr] Allow: GET, HEAD, COPY, MOVE, POST, PUT, OPTIONS, LOCK, UNLOCK, TRACE,
PROPFIND, PROPPATCH, MKCOL, DELETE
Header Name: [allow], Value: [GET, HEAD, COPY, MOVE, POST, PUT, OPTIONS,
LOCK, UNLOCK, TRACE, PROPFIND, PROPPATCH, MKCOL, DELETE]
[hdr] DAV: 1.1
Header Name: [dav], Value: [1.1]
[hdr] MS-Author-Via: DAV
Header Name: [ms-author-via], Value: [DAV]
[hdr] Content-Length: 0
Header Name: [content-length], Value: [0]
[hdr] Content-Type: text/plain; charset=ISO-8859-1
Header Name: [content-type], Value: [text/plain; charset=ISO-8859-1]
[hdr]
End of headers.
Running post_send hooks
Request ends, status 200 class 2xx, error line:
200 OK
Running destroy hooks.
Request ends.
ne_session_destroy called.
ne_session_destroy called.
svn: OPTIONS request failed on '/svn/mag'
svn: The OPTIONS request returned invalid XML in the response: XML parse
error at line 1: Extra content at the end of the document
. (/svn/mag)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jul 10 19:04:35 2004

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