DAVDroid endless requests the server informations after I have given all credentials.
Maybe a server-side timeout or something like that?
If you can fetch logs, we could have a look at what’s actually happening.
I got the calendar sync fully working but I don’t manage to sync contacts between owncloud and android. I read configurations, faq and also searched for related topics in this forum, but I am still clueless.
Steps to reproduce:
See log here:
I am running ownCloud 9.0.1 (stable) and Contacts app in owncloud is the latest version (184.108.40.206)
What exactly does this error mean?
Any help would be appreciated. Thanks a lot.
@dav–noob Seems like OwnCloud serves unparsable VCards:
java.lang.IllegalStateException: [Error 15] PREF parameter value is malformed and could not be parsed. Retrieve its raw text values instead by calling property.getParameters().get(“PREF”).
To see the actual VCard, we would require logs.
I guess it’s because OwnCloud sends a VCard3-style
PREF in a VCard 4, although
PREF is an integer between 1 and 100 in VCard 4.
I have verified the problem:
Accept: text/vcard; version=4.0and OwnCloud serves a VCard 4 with this line:
TEL;CELL=;PREF=:+12345. The missing value for
PREFis not allowed and thus causes problems.
I have created an OwnCloud Contacts bug report for this problem, please follow up there.
Hello, thanks a lot for your answer.
You were right about the wrong vcard format and it pointed me in the direction to temporarily solve the issue.
I exported all contacts again using another app: https://f-droid.org/wiki/page/am.ed.exportcontacts
I can’t see which vcard format this app uses, but it worked okay with Owncloud.
@dav–noob Interesting. I deleted all contacts on Owncloud, exported with
am.ed.exportcontacts, imported to Owncloud, tried sync and got the same error 15.
Please see also: ez-vcard [Feature] Ignore invalid PREF parameter #76
From vcard4android/628ef73f, DAVdroid will ignore invalid
DAVdroid 1.3.6 now ignores invalid
PREF values. Please update to the latest DAVdroid version and synchronize again.