Failed to connect to Apple Sever

I’m using the latest version of Duplicati and Mono, downloaded yesterday, with Mac os Sierra 10.12.5 and Server 5.2. I setup a webDAV folder and confirmed I could connect to it from a webDAV iOS App. I tried with Duplicati and received the error: “Failed to connect: The remote server returned an error: (401) Unauthorized”. I checked the Server log and the error there was: “client used wrong authentication scheme ‘Basic’”. Anyone know how to fix this?

The authentication should be automatically detected, but it looks like this is not the case.

You can try to set the advanced option --force-digest-authentication=true to force it to use Digest authentication instead of Basic.