maindavfs2 - Support: sr #110256, Not working on Ubuntu 18.04 or...

 
 

sr #110256: Not working on Ubuntu 18.04 or 20.04

Submitter:  None
Submitted:  Mon 06 Jul 2020 05:06:35 AM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  _71007
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 15 Jul 2020 04:22:51 PM UTC, comment #3: 

Thanks for the information.
Werner

- <_71007>
Mon 06 Jul 2020 04:24:32 PM UTC, comment #2: 

Hello again. I have attached log file with a failed attempt. Then I tried to set ignore_dav_header and mount was successful this time.

My WebDAV server is based on Nginx http_dav_module with an extra module https://github.com/arut/nginx-dav-ext-module. After digging into the issue I realised that my server returns HTTP Header "DAV: 2" while it should be returning "DAV: 1, 2". A small change in my Nginx config seems to have solved the problem.

(file #49443)

Anonymous
Mon 06 Jul 2020 03:20:27 PM UTC, comment #1: 

Message "the server does not support WebDAV" means that the server does not send a proper DAV-header in response to OPTIONS. You canwork around this server bug by setting option "ignore_dav_header" in your davfs2.conf file.

But you also should help to debug this problem. To do this

  • set option "debug most" (without option ignore_dav_header)
  • try to mount
  • when mounting fails get the messages from mount.davfs from one of your log files and append them to this request
  • remove option "debug most"


I will examine the logs to check what the cause of this error is so you can eventually inform the server administrator.

Werner

- <_71007>
Mon 06 Jul 2020 05:06:35 AM UTC, original submission:  

Password-protected WebDAV share fails to mount with the following error: /sbin/mount.davfs: mounting failed; the server does not support WebDAV

During the mount attempt, only two requests are sent to WebDAV server:
aa.bb.cc.dd - - [06/Jul/2020:05:04:03 +0000] "OPTIONS /bookmarks/ HTTP/1.1" 401 172 "-" "davfs2/1.5.4 neon/0.30.2"
aa.bb.cc.dd - myshareuser [06/Jul/2020:05:04:03 +0000] "OPTIONS /bookmarks/ HTTP/1.1" 200 0 "-" "davfs2/1.5.4 neon/0.30.2"

The very share works perfectly with the default macOS client.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #49443:  webdav.txt added by None (9KiB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by _71007 (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-07-15 _71007 StatusNeed Info Done
    2020-07-06 None Attached File- Added webdav.txt, #49443
    2020-07-06 _71007 StatusNone Need Info
        Assigned toNone _71007

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code