Syncing to Nextcloud via webdav stopped working a while ago for me. Started to look at it now and I tried to disconnect sync from the client and setup sync from the beginning again. I also renamed the Enpass folder in Nextcloud so that a new one would be created.
Setting up sync works fine but when it's supposed to sync it just gives me an error:
Something went wrong while syncing with Webdav. Error code: 0
If I check my logs the client seems to be getting a 401 unauthroized respons:
xxx:1.2.3.4 - - [23/Oct/2020:21:54:13 +0200] "PROPFIND /remote.php/dav/files/xxxx/ HTTP/1.1" 401 557 "-" "Mozilla/5.0"
And if I strace the processes while I try to sync I see this:
<s:exception>Sabre\\DAV\\Exception\\NotAuthenticated</s:exception>\n <s:message>No public access to this resource., No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured, No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured</s:message>\n</d:error>\n"
So Enpass is not sending any authorization information?