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

401 response for HEAD request #7775

Closed
cyberduck opened this issue Feb 5, 2014 · 3 comments
Closed

401 response for HEAD request #7775

cyberduck opened this issue Feb 5, 2014 · 3 comments
Assignees
Labels
bug thirdparty Issue caused by third party webdav WebDAV Protocol Implementation
Milestone

Comments

@cyberduck
Copy link
Collaborator

1af3ce7 created the issue

Hi, we are using Liferay document library, the files can be accessed via WebDAV.
When I try to access the folders with Cyberduck (Version 4.2.1) on Mac, everything works fine. When I try to connect with Cyberduck (Version 4.4.3) on Windows 7, I can't login. It says "Unauthorized. Please contact your web hosting service provider for assistance."

LOG:

HEAD /api/secure/webdav/name/document_library/ HTTP/1.1
Host: some.server.de
Connection: Keep-Alive
User-Agent: Cyberduck/4.4.3 (14140) (Windows 7/6.1) (x86)
Authorization: Basic cHNxyzxyz...xyzxyzdXo2cQ==
HTTP/1.1 401 Unauthorized
Date: Wed, 05 Feb 2014 12:59:36 GMT
Set-Cookie: JSESSIONID=875F8Axyzxyz...xyzxyz29A3E13064; Path=/; Secure; HttpOnly
Set-Cookie: JSESSIONID=875F8Axyzxyz...xyzxyz051329A3E13064; Path=/; Secure
WWW-Authenticate: Digest realm="PortalRealm", nonce="03513fxyzxyz...xyzxyza69f4b90"
Content-Type: text/html;charset=utf-8
Content-Length: 954
Keep-Alive: timeout=20, max=1000
Connection: Keep-Alive
HEAD /api/secure/webdav/name/document_library/ HTTP/1.1
Host: some.server.de
Connection: Keep-Alive
User-Agent: Cyberduck/4.4.3 (14140) (Windows 7/6.1) (x86)
Cookie: JSESSIONID=875F8Axyzxyz...xyzxyzA3E13064
Cookie2: $Version=1
Authorization: Digest username="name@server.de", realm="PortalRealm", nonce="0351xyzxyz...xyzxyza69f4b90", uri="/api/secure/webdav/name/document_library/", response="fa3e272xyzxyz...xyzxyz707e24b995", algorithm="MD5"
HTTP/1.1 401 Unauthorized
Date: Wed, 05 Feb 2014 12:59:36 GMT
WWW-Authenticate: Digest realm="PortalRealm", nonce="aaf0463xyzxyz...xyzxyz49e6621"
Content-Type: text/html;charset=utf-8
Content-Length: 954
Keep-Alive: timeout=20, max=999
Connection: Keep-Alive 
@cyberduck
Copy link
Collaborator Author

@dkocher commented

Please report this bug to the server software vendor Liferay to properly support HEAD requests. It looks like 401 is returned even if the request is properly authorized with HTTP Digest user credentials. Reopen this ticket if you have more information from the vendor that the interoperability issue is on our side.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

#7792 closed as duplicate.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

#7795 closed as duplicate.

@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 thirdparty Issue caused by third party webdav WebDAV Protocol Implementation
Projects
None yet
Development

No branches or pull requests

2 participants