maindavfs2 - Support: sr #110459, /sbin/mount.davfs: Mounting...

 
 

sr #110459: /sbin/mount.davfs: Mounting failed. 302 Found

Submitter:  Jan Rhebergen <jayberaybeargun>
Submitted:  Mon 15 Mar 2021 12:43:11 AM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  _71007
Open/Closed:  Open Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 16 Mar 2021 11:26:36 AM UTC, comment #2: 

I did not notice the attached logs.

You already have set option follow_redirect.

davfs2 only supports redirects for files. What happens here is that the server redirects the first request to a special login page. davfs2 does not support redirects for the base URL. But it most probably would not help anyway. The server probably uses some authentication method that is not supported by davfs2.

Werner

- <_71007>
Tue 16 Mar 2021 11:14:47 AM UTC, comment #1: 

302 Found is an HTTP status code. It says that the requested resource is temporarily redirected to another URL (which is in the Location header).

davfs2 has minimal support for redirects which is by default off. You can enable it with option "follow_redirect 1". This option is not much tested. Please report whether it works or what new kind of error you get.

Werner

- <_71007>
Mon 15 Mar 2021 12:43:11 AM UTC, original submission:  

Been trying to mount nextcloud over webdav using davfs2 without success for day now. Tried various version of both davfs2 and nextcloud. Followed the documentation to the letter and tried various configuration changes to no avail.

So I nevertheless suspect some config error on either side (but which?) Attached some logs which might shed some light on the matter (change some identifying credentials to be sure ;)

Any idea?

Jan Rhebergen <jayberaybeargun>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #51066:  davfs2_error.log added by jayberaybeargun (11KiB - text/x-log - syslog output)

 

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 jayberaybeargun (Submitted the item)
  • -email is unavailable- added by jayberaybeargun (davfs2 issue)
  •  

    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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-03-16 _71007 StatusIn Progress Done
    2021-03-16 _71007 StatusNone In Progress
        Assigned toNone _71007
    2021-03-15 jayberaybeargun Attached File- Added davfs2_error.log, #51066
        Carbon-Copy- Added jayberaybeargun

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code