Rclone to webdav docker fails

Hi I am running a webdav docker on unraid for remote access of a directory for offsite backups. After setting up the docker I used the http address in chrome and cyberduck to make a connection. In both cases I can use my username and password to copy and pull files from the docker. But when trying to make a connection with rclone It fails. I’m not sure what the issue is.

2018/12/25 14:39:06 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2018/12/25 14:39:06 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018/12/25 14:39:06 DEBUG : HTTP RESPONSE (req 0xc0000cb800)
2018/12/25 14:39:06 DEBUG : HTTP/1.1 401 Unauthorized
Content-Length: 381
Content-Type: text/html; charset=iso-8859-1
Date: Tue, 25 Dec 2018 20:39:08 GMT
Server: Apache/2.4.37 (Unix)
Www-Authenticate: Digest realm=“WebDAV”, nonce=“xwOLtN59BQA=fbe3e27c9feba0feeaa7b2affebf5d58e6f08c57”, algorithm=MD5, qop=“auth”

401 Unauthorized


This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.

2018/12/25 14:39:06 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 2018/12/25 14:39:06 ERROR : : error listing: couldn't list files: 401 Unauthorized 2018/12/25 14:39:06 Failed to ls: couldn't list files: 401 Unauthorized

Seems this was due to the type of authentication the docker was using. AUTH_TYPE=Digest, i change it to AUTH_TYPE=Basic and it all works.

Yes rclone doesn’t support digest auth yet.