Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-7074

Transient errors with WebDAV using a Mac client

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 5.4.2
    • Fix Version/s: 5.7.1
    • Component/s: Live Edit (deprecated)

      Description

      Creating documents in a WebDAV-mounted folder randomly fails with errors such as: "IOError: [Errno 13] Permission denied: '/Volumes/dav/test/4.txt'"

      Here the error in the logs:

      2011-06-07 11:16:17,438 WARN  [org.nuxeo.ecm.ui.web.auth.digest.DigestLoginPlugin] Digest authentication failed for user: Administrator realm: NUXEO
      2011-06-07 11:16:17,439 INFO  [org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter] Login failed for Administrator
      

      It seems the error is an authorization on LOCK (maybe on other methods):

      According to ngrep, here's the trace for the error:

      ##
      T 10.213.3.115:60586 -> 10.213.0.70:8080 [AP]
        LOCK /nuxeo/site/dav/test/4.txt HTTP/1.1..Host: nuxeodom:8080..User-Agent:
        WebDAVFS/1.8.2 (01828000) Darwin/10.7.0 (i386)..Accept: */*..Depth: 0..Time
        out: Second-600..Content-Type: text/xml; charset="utf-8"..Authorization: Di
        gest username="Administrator", realm="NUXEO", nonce="MTMwNzQzNzgyMjkwODo1Nj
        MwMzdjMjhiMjk5NjBjZWZjYzU5NDczMTc3ZTgxNQ==", uri="/nuxeo/site/dav/test/4.tx
        t", response="13aaa045f1fd53e98a4b1a51ab379c20", cnonce="63522fb46192cf1c58
        1fe83258b9f71b", nc=00000043, qop="auth"..Content-Length: 229..Connection:
        keep-alive....
      ##
      T 10.213.3.115:60586 -> 10.213.0.70:8080 [AP]
        <?xml version="1.0" encoding="utf-8"?>.<D:lockinfo xmlns:D="DAV:">.<D:locks
        cope><D:exclusive/></D:lockscope>.<D:locktype><D:write/></D:locktype>.<D:ow
        ner>.<D:href>http://www.apple.com/webdav_fs/</D:href>.</D:owner>.</D:lockin
        fo>.
      ###
      T 10.213.0.70:8080 -> 10.213.3.115:60586 [AP]
        HTTP/1.1 401 Unauthorized..Server: Apache-Coyote/1.1..WWW-Authenticate: Dig
        est realm="NUXEO", qop="auth", nonce="MTMwNzQzOTE3NzQ0MTo0NTk2ZGYyMzc4MjU4N
        jJlY2RjNmRlMWU2YWQ4OWQzOA=="..Content-Type: text/html;charset=utf-8..Conten
        t-Length: 954..Date: Tue, 07 Jun 2011 09:16:16 GMT....<html><head><title>Ap
        ache Tomcat/6.0.20 - Error report</title><style><!--H1 {font-family:Tahoma,
        Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {
        font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;fo
        nt-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;backgrou
        nd-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif
        ;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-seri
        f;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-s
        erif;background:white;color:black;font-size:12px;}A {color : black;}A.name
        {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Stat
        us 401 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</
        p><p><b>message</b> <u></u></p><p><b>description</b> <u>This request requir
        es HTTP authentication ().</u></p><HR size="1" noshade="noshade"><h3>Apache
         Tomcat/6.0.20</h3></body></html
      

      And, for comparison, here's the trace for a successful attempt:

      ###
      T 10.213.3.115:60472 -> 10.213.0.70:8080 [AP]
        LOCK /nuxeo/site/dav/test/0.txt HTTP/1.1..Host: nuxeodom:8080..User-Agent:
        WebDAVFS/1.8.2 (01828000) Darwin/10.7.0 (i386)..Accept: */*..Depth: 0..Time
        out: Second-600..Content-Type: text/xml; charset="utf-8"..Authorization: Di
        gest username="Administrator", realm="NUXEO", nonce="MTMwNzQzNzgyMjkwODo1Nj
        MwMzdjMjhiMjk5NjBjZWZjYzU5NDczMTc3ZTgxNQ==", uri="/nuxeo/site/dav/test/0.tx
        t", response="29a84b090a56f48dd98b5aee3f4911f2", cnonce="63522fb46192cf1c58
        1fe83258b9f71b", nc=00000010, qop="auth"..Content-Length: 229..Connection:
        keep-alive....
      #
      T 10.213.3.115:60472 -> 10.213.0.70:8080 [AP]
        <?xml version="1.0" encoding="utf-8"?>.<D:lockinfo xmlns:D="DAV:">.<D:locks
        cope><D:exclusive/></D:lockscope>.<D:locktype><D:write/></D:locktype>.<D:ow
        ner>.<D:href>http://www.apple.com/webdav_fs/</D:href>.</D:owner>.</D:lockin
        fo>.
      ###
      T 10.213.0.70:8080 -> 10.213.3.115:60472 [AP]
        HTTP/1.1 200 OK..Server: Apache-Coyote/1.1..Set-Cookie: JSESSIONID=BF32B520
        C93FE30CD9B5C1183CE7B814.nuxeo; Path=/nuxeo..Lock-Token: urn:uuid:Administr
        ator..Content-Type: application/xml..Content-Length: 522..Date: Tue, 07 Jun
         2011 09:15:07 GMT....<?xml version="1.0" encoding="UTF-8" standalone="yes"
        ?><ns2:prop xmlns:ns2="DAV:"><ns2:lockdiscovery><ns2:activelock><ns2:locksc
        ope><ns2:exclusive/></ns2:lockscope><ns2:locktype><ns2:write/></ns2:locktyp
        e><ns2:depth>0</ns2:depth><ns2:owner>Administrator</ns2:owner><ns2:timeout>
        Second-10000</ns2:timeout><ns2:locktoken><ns2:href>urn:uuid:Administrator</
        ns2:href></ns2:locktoken><ns2:lockroot><ns2:href>http://nuxeodom:8080/nuxeo
        /site/dav/test/0.txt</ns2:href></ns2:lockroot></ns2:activelock></ns2:lockdi
        scovery></ns2:prop>
      ##
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: