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

Contact / CardDAV sync with NextCloud does not work anymore #1881

Open
1 task done
ervee opened this issue Jan 8, 2025 · 0 comments
Open
1 task done

Contact / CardDAV sync with NextCloud does not work anymore #1881

ervee opened this issue Jan 8, 2025 · 0 comments

Comments

@ervee
Copy link

ervee commented Jan 8, 2025

Describe the bug
I recently noticed that new contacts were not available in SnappyMail.

To Reproduce
Steps to reproduce the behavior:

  1. If not done already: Go to settings - contacts - enable remote synchronization and set to yes or read only and fill the required fields.
  2. Back in the main interface click the contact book. Then click "Synchronization" in the hamburger menu.
  3. See error

Expected behavior
No error and successful sync of contacts.

Screenshots
image

Please complete the following information:

  • Browser: Tried multiple, does not matter.
  • IMAP daemon: Dovecot
  • PHP version: 8.3
  • SnappyMail Version: 2.38.2
  • Mode: standalone

Debug/logging information
Read here how to log

  • I've placed them here (few lines) or as attachments (many lines)
    SnappyMail logs:
Jan  8 16:41:05 #myservername# snappymail: [2025-01-08 15:41:05.198][caaa3df1] PdoAddressBook[WARNING]: Sync() invalid DavClient
Jan  8 16:41:05 #myservername# snappymail: [2025-01-08 15:41:05.199][caaa3df1] SERVICE[WARNING]: ContactsSyncError[140] (AddressBookProvider->Sync() failed)\x0d
Jan  8 16:41:05 #myservername# snappymail: #pathtosnappymail#/snappymail/v/2.38.2/app/libraries/RainLoop/Actions/Contacts.php#75\x0d
Jan  8 16:41:05 #myservername# snappymail: #0 #pathtosnappymail#/snappymail/v/2.38.2/app/libraries/RainLoop/ServiceActions.php(143): RainLoop\Actions->DoContactsSync()
Jan  8 16:41:05 #myservername# snappymail: #1 #pathtosnappymail#/snappymail/v/2.38.2/app/libraries/RainLoop/Service.php(132): RainLoop\ServiceActions->ServiceJson()
Jan  8 16:41:05 #myservername# snappymail: #2 #pathtosnappymail#/snappymail/v/2.38.2/app/libraries/RainLoop/Service.php(14): RainLoop\Service::RunResult()
Jan  8 16:41:05 #myservername# snappymail: #3 #pathtosnappymail#/snappymail/v/2.38.2/include.php(137): RainLoop\Service::Handle()
Jan  8 16:41:05 #myservername# snappymail: #4 #pathtosnappymail#/index.php(11): include('...')
Jan  8 16:41:05 #myservername# snappymail: #5 {main}

Webserver logs:

#mywebserverip# - - [08/Jan/2025:16:41:05 +0100] "PROPFIND /#nextcloudfolder#/remote.php/dav/addressbooks/users/#myuser#/contacts/ HTTP/2.0" 401 535 "-" "SnappyMail/2.38.2"
#mywebserverip# - #myuser# [08/Jan/2025:16:41:05 +0100] "PROPFIND /#nextcloudfolder#/remote.php/dav/addressbooks/users/#myuser#/contacts/ HTTP/2.0" 401 535 "-" "SnappyMail/2.38.2"
#mywebserverip# - - [08/Jan/2025:16:41:05 +0100] "PROPFIND /.well-known/carddav HTTP/2.0" 301 162 "-" "SnappyMail/2.38.2"
#mywebserverip# - - [08/Jan/2025:16:41:05 +0100] "PROPFIND /#nextcloudfolder#/remote.php/dav/ HTTP/2.0" 401 535 "-" "SnappyMail/2.38.2"
#mywebserverip# - #myuser# [08/Jan/2025:16:41:05 +0100] "PROPFIND /#nextcloudfolder#/remote.php/dav/ HTTP/2.0" 401 535 "-" "SnappyMail/2.38.2"
#mywebserverip# - - [08/Jan/2025:16:41:05 +0100] "PROPFIND /#nextcloudfolder#/remote.php/dav/addressbooks/users/#myuser#/contacts/ HTTP/2.0" 401 535 "-" "SnappyMail/2.38.2"
#mywebserverip# - #myuser# [08/Jan/2025:16:41:05 +0100] "PROPFIND /#nextcloudfolder#/remote.php/dav/addressbooks/users/#myuser#/contacts/ HTTP/2.0" 401 535 "-" "SnappyMail/2.38.2"

Additional context
Could be related to #1877

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

No branches or pull requests

1 participant