Ios contact synchronization problems

I’m running Ubuntu 20.04 with snap NextCloud 20.0.4. Everything looked fine until I tried to connect my Iphone (ios 14.4) to sync contact with CardDAV protocol.

Now, when I create a new contact on Iphone, I can find that some data come from Iphone(IP addr 192.168.200.19) to NextCloud. From apache_access.log:

192.168.200.19 - - [01/Feb/2021:21:54:22 +0100] "PROPFIND /remote.php/dav/addressbooks/users/berko/z-app-generated--contactsinteraction--recent/ HTTP/1.1" 401 5377 "-" "iOS/14.4 (18D52) dataaccessd/1.0"
192.168.200.19 - - [01/Feb/2021:21:54:23 +0100] "OPTIONS /remote.php/dav/principals/users/berko/ HTTP/1.1" 401 5371 "-" "iOS/14.4 (18D52) dataaccessd/1.0"
192.168.200.19 - - [01/Feb/2021:21:54:23 +0100] "OPTIONS /remote.php/dav/principals/users/berko/ HTTP/1.1" 200 5272 "-" "iOS/14.4 (18D52) dataaccessd/1.0"
192.168.200.19 - - [01/Feb/2021:21:54:24 +0100] "PROPFIND /remote.php/dav/principals/users/berko/ HTTP/1.1" 207 2177 "-" "iOS/14.4 (18D52) dataaccessd/1.0"
192.168.200.19 - - [01/Feb/2021:21:54:25 +0100] "PROPFIND /remote.php/dav/addressbooks/users/berko/ HTTP/1.1" 401 1792 "-" "iOS/14.4 (18D52) dataaccessd/1.0"
192.168.200.19 - - [01/Feb/2021:21:54:25 +0100] "PROPFIND /remote.php/dav/addressbooks/users/berko/ HTTP/1.1" 207 5757 "-" "iOS/14.4 (18D52) dataaccessd/1.0"
192.168.200.19 - - [01/Feb/2021:21:54:26 +0100] "PROPFIND /remote.php/dav/addressbooks/users/berko/z-app-generated--contactsinteraction--recent/ HTTP/1.1" 207 1778 "-" "iOS/14.4 (18D52) dataaccessd/1.0"
192.168.200.19 - - [01/Feb/2021:21:54:26 +0100] "REPORT /remote.php/dav/addressbooks/users/berko/contacts/ HTTP/1.1" 207 1529 "-" "iOS/14.4 (18D52) dataaccessd/1.0"

But, there is no contact on the server.

Unfortunately, I did not find any way to analyze data from this traffic. Is there any possibility for that or any suggestion how to fix it?

In other way, when I create a contact on server, it is synchronized and present on Iphone, but with the few problems. Here is my contact downloaded from server:

BEGIN:VCARD
VERSION:3.0
PRODID:-//Sabre//Sabre VObject 4.3.0//EN
UID:770c1b5f-8b62-4acb-8856-9d97ff52a490
FN:Last First
ADR;TYPE=HOME:;;;;;;
EMAIL;TYPE=HOME:flast@blabla.com
TEL;TYPE="HOME,VOICE":+385985556789
TEL;TYPE=CELL:555999222
TEL;TYPE="WORK,VOICE":5557773333
ORG:Blabla
REV;VALUE=DATE-AND-OR-TIME:20210201T173853Z
END:VCARD

As you can see, server does not create N field (only FN), and last and first name remain empty on Iphone. Of course, it is possible to add property Detailed name, but it is very unpractical to add the property and type twice same information for every single contact on the server. It would be much more practical that we had Detailed name in form, and than the FN could be created from this information.

Also, the lines:

TEL;TYPE=“WORK,VOICE”:5557773333 and
TEL;TYPE=“HOME,VOICE”:+385985556789

are not by vCard standard. The quotation marks are not required here, and instead of work and home, I getting the new, custom "work and "home field on Iphone.
Is there any solution to remove it?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.