Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uploads fail with digest access authentication #2268

Closed
cyberduck opened this issue Jul 1, 2008 · 10 comments
Closed

Uploads fail with digest access authentication #2268

cyberduck opened this issue Jul 1, 2008 · 10 comments
Assignees
Labels
bug fixed version:3.0.1 webdav
Milestone

Comments

@cyberduck
Copy link
Collaborator

@cyberduck cyberduck commented Jul 1, 2008

884ac20 created the issue

I can browse allright, but when uploading a file, I get the following error at the end of the transfer: "unbuffered entity enclosing request can not be repeated".

Note that all kinds of file fail, even with small sizes, so this is probably not the same as #2144

Also, this error message appears

Server specs:

  • lighttpd and lighttpd mod_webdav 1.4.13-4etch8
  • SSL with certificate signed by custom CA
  • digest auth

I'll take advantage of reporting this to say thanks for this nice app !

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jul 15, 2008

@dkocher commented

#2144 looks like a duplicate.

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jul 15, 2008

anonymous commented

Thanks for looking at this ! I can provide a test account on this server if necessary.

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jul 18, 2008

@dkocher commented

Replying to [comment:3 anonymous]:

Thanks for looking at this ! I can provide a test account on this server if necessary.

A test account would be very welcome.

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jul 18, 2008

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Aug 23, 2008

@dkocher commented

#2492 is probably a duplicate.

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Dec 10, 2008

71ef436 commented

We just had two customers report this error to us against our BingoDisk product. We have a demo account setup where you are able to test against. http://demo.bingodisk.com/bingo/ password bingo

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Dec 10, 2008

@dkocher commented

Replying to [comment:9 linda@…]:

We just had two customers report this error to us against our BingoDisk product. We have a demo account setup where you are able to test against. http://demo.bingodisk.com/bingo/ password bingo

What is the username for this demo account?

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Dec 10, 2008

71ef436 commented

username is demo

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Dec 15, 2008

@dkocher commented

This has been resolved using the Use of the 100 (Continue) Status feature of HTTP 1.1. Before sending the entity request body, we check if the server accepts the authentication credentials and only continue if 100 Continue is returned. It looks like this running against Apache2:

PUT /dav/digest/DSC01446.JPG HTTP/1.1[\r][\n]
Content-Type: application/octet-stream[\r][\n]
User-Agent: Cyberduck/_VERSION_ (_REVISION_)[\r][\n]
Host: sudo.ch[\r][\n]
Expect: 100-continue[\r][\n]
Content-Length: 3061257[\r][\n]
[\r][\n]
HTTP/1.1 401 Authorization Required[\r][\n]
HTTP/1.1 401 Authorization Required[\r][\n]
Date: Mon, 15 Dec 2008 22:22:26 GMT[\r][\n]
Server: Apache/2.2.9 (FreeBSD) mod_ssl/2.2.9 OpenSSL/0.9.7e-p1 mod_python/3.3.1 Python/2.5.2 DAV/2 PHP/5.2.6 with Suhosin-Patch SVN/1.5.4[\r][\n]
WWW-Authenticate: Digest realm="DAV Access Digest", nonce="HqASRx1eBAA=dd9bc6679274a1d2f53bd30600ebdeb07b6b2207", algorithm=MD5, qop="auth"[\r][\n]
Content-Length: 581[\r][\n]
Content-Type: text/html; charset=iso-8859-1[\r][\n]
[\r][\n]
PUT /dav/digest/DSC01446.JPG HTTP/1.1[\r][\n]
Content-Type: application/octet-stream[\r][\n]
User-Agent: Cyberduck/_VERSION_ (_REVISION_)[\r][\n]
Expect: 100-continue[\r][\n]
Content-Length: 3061257[\r][\n]
Authorization: Digest username="dkocher", realm="DAV Access Digest", nonce="HqASRx1eBAA=dd9bc6679274a1d2f53bd30600ebdeb07b6b2207", uri="/dav/digest/DSC01446.JPG", response="44556a020fcf61f3cb1c5a2cf13f932b", qop=auth, nc=00000001, cnonce="ac25dbf481fd659a01a6965daf173268", algorithm="MD5"[\r][\n]
Host: sudo.ch[\r][\n]
[\r][\n]
HTTP/1.1 100 Continue[\r][\n]
HTTP/1.1 100 Continue[\r][\n]
[\r][\n]
HTTP/1.1 204 No Content[\r][\n]
HTTP/1.1 204 No Content[\r][\n]

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Dec 15, 2008

@dkocher commented

Fix commited in 48bd049.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fixed version:3.0.1 webdav
Projects
None yet
Development

No branches or pull requests

2 participants