You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Paul Simon <pa...@simonway.com> on 2010/11/04 19:40:11 UTC

[users@httpd] WebDav PUT fails with 500 response

Hi All,

I'm hoping somebody might guide me in the right direction. A php
script is using the CURL extension to put files to a webdav server. It
has been working successfully, putting a couple hundred files in the
last few months. However, recently there's a file that fails to be PUT
and is causing apache (2.2.15 Win32 Dav/2) to report the following
error:

[error] ... Could not get next bucket brigade  [500, #0]

I don't know what that means. I switched on CURL's debugging and
here's the result of a failed put:

* About to connect() to 192.168.131.7 port 80 (#0)
*   Trying 192.168.131.7... * connected
* Connected to 192.168.131.7 (192.168.131.7) port 80 (#0)
* Server auth using Digest with user 'can@blah.net'
> PUT /can-folders/Dropbox/TEST/INBOX/0900/p/YYY%20Tally%20K-12%20-%20No%20Alt%20Ed%20%28_6b%29%202010-11.xls HTTP/1.1
Host: 192.168.131.7
Accept: */*
Content-Length: 0

< HTTP/1.1 401 Authorization Required
< Date: Thu, 04 Nov 2010 16:12:00 GMT
< Server: Apache/2.2.15 (Win32) DAV/2
< WWW-Authenticate: Digest realm="DAV",
nonce="MdD/ajyUBAA=a41625d47f33bf3730b340217d986655ea2832cd",
algorithm=MD5, qop="auth"
< Content-Length: 401
< Content-Type: text/html; charset=iso-8859-1
<
* Ignoring the response-body
* Connection #0 to host 192.168.131.7 left intact
* Issue another request to this URL:
'http://192.168.131.7/can-folders/Dropbox/TEST/INBOX/0900/p/YYY%20Tally%20K-12%20-%20No%20Alt%20Ed%20%28_6b%29%202010-11.xls'
* Re-using existing connection! (#0) with host 192.168.131.7
* Connected to 192.168.131.7 (192.168.131.7) port 80 (#0)
* Server auth using Digest with user 'can@blah.net'
> PUT /can-folders/Dropbox/TEST/INBOX/0900/p/YYY%20Tally%20K-12%20-%20No%20Alt%20Ed%20%28_6b%29%202010-11.xls HTTP/1.1
Authorization: Digest username="can@blah.net", realm="DAV",
nonce="MdD/ajyUBAA=a41625d47f33bf3730b340217d986655ea2832cd",
uri="/can-folders/Dropbox/TEST/INBOX/0900/p/YYY%20Tally%20K-12%20-%20No%20Alt%20Ed%20%28_6b%29%202010-11.xls",
cnonce="MjE3NTQx", nc=00000001, qop="auth",
response="f384fc1a6e4bf502917851d9f1b9af00", algorithm="MD5"
Host: 192.168.131.7
Accept: */*
Content-Length: 359936

* Connection died, retrying a fresh connect
* Closing connection #0
* Issue another request to this URL:
'http://192.168.131.7/can-folders/Dropbox/TEST/INBOX/0900/p/YYY%20Tally%20K-12%20-%20No%20Alt%20Ed%20%28_6b%29%202010-11.xls'
* About to connect() to 192.168.131.7 port 80 (#0)
*   Trying 192.168.131.7... * connected
* Connected to 192.168.131.7 (192.168.131.7) port 80 (#0)
* Server auth using Digest with user 'can@blah.net'
> PUT /can-folders/Dropbox/TEST/INBOX/0900/p/YYY%20Tally%20K-12%20-%20No%20Alt%20Ed%20%28_6b%29%202010-11.xls HTTP/1.1
Authorization: Digest username="can@blah.net", realm="DAV",
nonce="MdD/ajyUBAA=a41625d47f33bf3730b340217d986655ea2832cd",
uri="/can-folders/Dropbox/TEST/INBOX/0900/p/YYY%20Tally%20K-12%20-%20No%20Alt%20Ed%20%28_6b%29%202010-11.xls",
cnonce="MjE3NTQx", nc=00000002, qop="auth",
response="4399a5a0cb0660e5ea2cdb6dcbd1ba94", algorithm="MD5"
Host: 192.168.131.7
Accept: */*
Content-Length: 359936

< HTTP/1.1 500 Internal Server Error
< Date: Thu, 04 Nov 2010 16:12:20 GMT
< Server: Apache/2.2.15 (Win32) DAV/2
< Content-Length: 546
< Connection: close
< Content-Type: text/html; charset=iso-8859-1
<
* Closing connection #0

Thanks,
Paul

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org