Adding a Caldav calendar not working ONLY in Zimbra

Questions, comments, and problems with Zimbra on Apple desktops & general CalDAV / CardDAV questions.
R4v3n
Posts: 1
Joined: Tue Jun 08, 2021 8:16 am

Adding a Caldav calendar not working ONLY in Zimbra

Postby R4v3n » Tue Jun 08, 2021 8:23 am

Hello folks,
I'm currently trying to add a Caldav calendar (hosted by 1and1/IONOS) in my Zimbra 9 OSE.
I can successfuly add this Caldav calendar in Thunderbird and the sync is perfectly working between Thunderbird and the 1and1 webmail calendar view.

I even can curl -u "user@domain.com:password" -X PROPFIND https://dav.mailxcha...v/CALENDARNAME without issue, even from my workstation or from my Ubuntu 18.04 VM hosting Zimbra.

But when I add this external calendar to Zimbra, nothing happens in the Zimbra web interface, and I got this stack trace in logs :

Code: Select all

com.zimbra.common.service.ServiceException: system failure: error importing CalDAV data
ExceptionId:ScheduledTask-1:1623137259086:42deea478071cff7
Code:service.FAILURE
at com.zimbra.common.service.ServiceException.FAILURE(ServiceException.java:288)
at com.zimbra.cs.datasource.CalDavDataImport.importData(CalDavDataImport.java:101)
at com.zimbra.cs.datasource.DataSourceManager.importData(DataSourceManager.java:406)
at com.zimbra.cs.datasource.DataSourceManager.importData(DataSourceManager.java:362)
at com.zimbra.cs.datasource.DataSourceTask.call(DataSourceTask.java:83)
at com.zimbra.cs.datasource.DataSourceTask.call(DataSourceTask.java:31)
at com.zimbra.common.util.TaskScheduler$TaskRunner.call(TaskScheduler.java:79)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:830)
Caused by: com.zimbra.cs.dav.DavException: DAV server returned an error: 401
at com.zimbra.cs.dav.client.WebDavClient.sendMultiResponseRequest(WebDavClient.java:117)
at com.zimbra.cs.dav.client.CalDavClient.login(CalDavClient.java:119)
at com.zimbra.cs.datasource.CalDavDataImport.getClient(CalDavDataImport.java:171)
at com.zimbra.cs.datasource.CalDavDataImport.syncFolders(CalDavDataImport.java:225)
at com.zimbra.cs.datasource.CalDavDataImport.importData(CalDavDataImport.java:92)
... 10 more


So I got a 401 error, even if it's working with CURL and with Thunderbird. I even randomly got some 404 errors when zimbra is retrying to sync the calendar, but not every time.

I tried some differents syntax when adding the calendar to Zimbra, but everytime I got a 401 error.

What could be my error ? Is it my Zimbra who got a problem ?

Thanks a lot for your help !


Return to “CalDAV / CardDAV / iSync”

Who is online

Users browsing this forum: No registered users and 3 guests