Skip to content

CardDAV Contacts Do Not Always Sync If vCard Photo Is Present #1346

@nraboy

Description

@nraboy

Checklist

  • I have used the search function for OPEN issues to see if someone else has already submitted the same bug report.
  • I have also used the search function for CLOSED issues to see if the problem is already solved and just waiting to be released.
  • I will describe the problem with as much detail as possible.
  • This is not about the docker image. In that case, contact the authors of the docker image.

Baikal version

0.10.1

PHP version

8.1.32

Steps to reproduce

Hi,

I am having an issue where my CardDAV contacts don't always sync if there is a photo present on the contact. I believe I've narrowed it down to contacts with a large photo, but the actual size that fails I haven't been able to narrow down.

I had found this ticket, which seemed promising #897 but it appears to not apply to me since I'm on Linux, not Windows.

I have looked at the Apache / PHP logs, but found nothing that indicates a problem. I've also enabled logging in Apple Contacts, but no problems appear to be present there either.

To reproduce, this is what I do:

  1. Add an Apple account for Baikal using an SSL connection.
  2. In the macOS Contacts application, copy an existing contact with a fairly high resolution photo from another account to the Baikal account.
  3. Wait a few minutes and see if the numbers change in the Baikal dashboard, to no success.

If I do the above steps on a contact without a contact photo it syncs fine. If I try to copy multiple contact cards at the same time without a photo, it works fine. Sometimes, hit or miss, when I copy a contact with a small photo it works fine. It never works with a modern high-resolution contact card photo.

At first I thought maybe there was a file size limitation in my PHP configuration. I boosted it from 2M to 20M which should be more than enough. I also changed the buffering settings per the Baikal documentation to no success. The temporary directories are readable and without size constraints.

Does anyone have any ideas here? Are there specific logs I should be looking at or looking for?

Expected behaviour

No response

Current behaviour

No response

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions