Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding new contact (from iphone) does not work (new item isnt in iphone nor nc) #3863

Open
githubcmb opened this issue Apr 2, 2024 · 6 comments
Assignees
Labels

Comments

@githubcmb
Copy link

Describe the bug

contacts sync is in place for over 1 year through the various versions and worked 2 weeks back.
I add a new contact on iphone (17.4.1) with fist-name = David and last-name=Pipapo, not supplying additional info.
Press save. The contact is not in the iphone.And not in NC either.
Adding same in NC (web access with FFox Browser on Mac) in the contacts app works well.

Steps to reproduce

  1. Go to iphone contacs app. in the list "all XXX-contacts" (the default in the iphone)
  2. Click on '+'
  3. Scroll down to 'Vorname' (first-name), enter David
  4. Next field "Nachname" (last-name), enter Pipapo
  5. press top right "Fertig" (not sure how that button is called in engl., maybe "add", not sure)

Expected behavior

Contact is added on iphone and in NC instance under default "contacts".

Actual behavior

not added, neither on iphone nor NC contacts anywhere

Contact version

5.5.3

Operating system

FreeBSD13.2-p11

PHP engine version

PHP 8.1

Web server

Apache (supported)

Database

MariaDB

Additional info

iphone 17.4.1
Webserver log:
212.XX.151.59 - - [02/Apr/2024:13:31:01 +0200] "PROPFIND /nc/remote.php/dav/principals/users/myuser/ HTTP/2.0" 207 200 469 TLSv1.3 TLS_AES_256_GCM_SHA384 "-" "iOS/17.4.1 (21E236) dataaccessd/1.0"
212.XX.151.59 - - [02/Apr/2024:13:31:02 +0200] "PROPFIND /nc/remote.php/dav/addressbooks/users/myuser/ HTTP/2.0" 401 200 557 TLSv1.3 TLS_AES_256_GCM_SHA384 "-" "iOS/17.4.1 (21E236) dataaccessd/1.0"
212.XX.151.59 - - [02/Apr/2024:13:31:02 +0200] "PROPFIND /nc/remote.php/dav/addressbooks/users/myuser/ HTTP/2.0" 207 200 635 TLSv1.3 TLS_AES_256_GCM_SHA384 "-" "iOS/17.4.1 (21E236) dataaccessd/1.0"
212.XX.151.59 - - [02/Apr/2024:13:31:02 +0200] "REPORT /nc/remote.php/dav/addressbooks/users/myuser/contacts/ HTTP/2.0" 401 200 557 TLSv1.3 TLS_AES_256_GCM_SHA384 "-" "iOS/17.4.1 (21E236) dataaccessd/1.0"
212.XX.151.59 - - [02/Apr/2024:13:31:03 +0200] "REPORT /nc/remote.php/dav/addressbooks/users/myuser/contacts/ HTTP/2.0" 207 200 274 TLSv1.3 TLS_AES_256_GCM_SHA384 "-" "iOS/17.4.1 (21E236) dataaccessd/1.0"
212.XX.151.59 - - [02/Apr/2024:13:31:03 +0200] "PROPFIND /nc/remote.php/dav/addressbooks/users/myuser/z-app-generated--contactsinteraction--recent/ HTTP/2.0" 401 200 557 TLSv1.3 TLS_AES_256_GCM_SHA384 "-" "iOS/17.4.1 (21E236) dataaccessd/1.0"
212.XX.151.59 - - [02/Apr/2024:13:31:03 +0200] "PROPFIND /nc/remote.php/dav/addressbooks/users/myuser/z-app-generated--contactsinteraction--recent/ HTTP/2.0" 207 200 307 TLSv1.3 TLS_AES_256_GCM_SHA384 "-" "iOS/17.4.1 (21E236) dataaccessd/1.0"

@SebastianKrupinski
Copy link
Contributor

Hi @githubcmb

Is there any errors in the NC log?

@githubcmb
Copy link
Author

githubcmb commented May 1, 2024 via email

@SebastianKrupinski
Copy link
Contributor

Okay, I can test this with the information you provided, but what is the use case to create a contact with no phone, email or address?

@githubcmb
Copy link
Author

githubcmb commented May 9, 2024 via email

@SebastianKrupinski SebastianKrupinski pinned this issue May 27, 2024
@dimitrij2k
Copy link

dimitrij2k commented Jun 4, 2024

Issue like githubcmb is here...

create contact over WhatsApp or Telefonapp -> contact lost / not on iphone & macbbok

create contact over Contact App -> synced to NC and all Devices (but im sure, last time it dont work, too)
create contact on macbook -> synced to NC and all Devices

change contact on iphone -> synced to NC and all Devices
change contact on macbook -> synced to NC and all Devices

@SebastianKrupinski SebastianKrupinski self-assigned this Jun 28, 2024
@SebastianKrupinski
Copy link
Contributor

@githubcmb i just tested creating a vcard using the CardDav protocol with only the FN (Full Name) parameter and N (structured name; first name; last name; etc) parameter, using a testing tool, in both cases this resulted in a contact being created in NC, which was then properly displayed in the interface.

This might be an issue with how iDevices handle contact creating with only a name and not actually an issue with NC.

The one thing I have noticed in your log output is that there is no PUT command being sent to the NC instance, only PROPFIND commands. Can you confirm that you see a PUT command in the logs when you create a contact with only a name?

@dimitrij2k can you also confirm that you see a PUT command in your logs when you create a contact from WhatsApp or Telefonapp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants