Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-44085

Unable to access WebDAV with Cyberduck: 401 response for HEAD request

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 6.1.20 EE GA2
    • Fix Version/s: 6.1.X EE
    • Component/s: DM, DM > WebDAV
    • Labels:
      None

      Description

      Hi, I am trying to access Liferay document library via WebDAV with Cyberduck. 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."

      I already reported this issue to Cyberduck, but they answered:
      "Please report this bug to Liferay to properly support HEAD requests. It looks like 401 is returned even if the request is properly authorized with HTTP Digest user credentials"

      Is there a workaround for this?

      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

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 36 weeks, 1 day ago

                Packages

                Version Package
                6.1.X EE