I am trying to sync contacts in Android using cardDAV-sync and login fails. If I check on Apache logs, it gives 401 error (UNAUTHORIZED):
[27/Jun/2017:12:17:36 -0300] “PROPFIND /remote.php/dav/addressbooks/users/MyUser/contacts/ HTTP/1.1” 401 557 “-” “CardDAV-Sync free/0.4.21 (Xiaomi; kate; Android 6.0.1; es_ES; org.dmfs.carddav.sync/143)”
Testing this with curl command, works just fine. Also tested the recomended DAVdroid, but even when there is no login error, I don’t see calendras either contacts synced.
Currently we are using Nextcloud 12.0.0 in our server (Ubuntu 16.04) and we are migrating out from Google apps entirely, which Calendars and Contacts syncs are very important.
Thanks in advance!