CalDav Issues with Apple Calendar and iOS Calendar

Questions, comments, and problems with Zimbra on Apple desktops & general CalDAV / CardDAV questions.
casedogg87
Posts: 3
Joined: Fri Sep 16, 2016 4:49 pm

CalDav Issues with Apple Calendar and iOS Calendar

Postby casedogg87 » Fri Sep 16, 2016 5:10 pm

Hello

Just joined my family business, which uses Zimbra OSE after years of working places where Exchange is used. Obviously this means no more ActiveSync, so easy configuration on an end user device is basically out the window.

Connecting email via IMAP was a breeze on my iPhone and Macbook Pro (10.10) was simple, but CalDav is causing me endless grief. The error that I see in the UI is "unable to verify user name and password." I have tried the suggested convention of using the path to our login with the additions in the documentation I have tried to use - https://mail.companyname.com:444/dav/username/Calendar but am getting a "user name and password are wrong" result. I noticed another guy in our office was using our same instance on his Android device and had no issues, but "dav" was replaced with "home." I then tried https://mail.companyname.com:444/home/username/Calendar as my server path to no avail. I am now frustrated and really having a hard time understanding why such a basic function does not work in Zimbra (or our configuration.)

I have tried many different ways to configure on both OS X and iOS. Below is the log from one of my attempts this morning:

Code: Select all

9/16/16 10:01:47.559 AM accountsd[341]: [com.apple.calendar.accounts.authentication] [Calling completion block with account error Error Domain=com.apple.accounts Code=10001 "(null)" UserInfo={NSUnderlyingError=0x7fcb3b25b8b0 {Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={NSUnderlyingError=0x7fcb3b23e3a0 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "The request timed out." UserInfo={NSErrorFailingURLStringKey=https://user%40domain.com@mail.domain.com:8443/dav/principals/, NSErrorFailingURLKey=https://user%40domain.com@mail.domain.com:8443/dav/principals/, _kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4, NSLocalizedDescription=The request timed out.}}, NSErrorFailingURLStringKey=https://user%40domain.com@mail.domain.com:8443/dav/principals/, NSErrorFailingURLKey=https://user%40domain.com@mail.domain.com:8443/dav/principals/, _kCFStreamErrorDomainKey=4, _kCFStreamErrorCodeKey=-2102, NSLocalizedDescription=The request timed out.}}, Hostname=mail.caseyprinting.com}.]


The logs from each attempt seemed shockingly similar. Can somebody help me? Does Zimbra not actually work with Apple devices?
Last edited by casedogg87 on Fri Sep 23, 2016 11:42 pm, edited 1 time in total.


phoenix
Ambassador
Ambassador
Posts: 26625
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: CalDav Issues with Apple Calendar and iOS Calendar

Postby phoenix » Fri Sep 16, 2016 6:44 pm

casedogg87 wrote:Hello

Just joined my family business, which uses Zimbra OSE after years of working places where Exchange is used. Obviously this means no more ActiveSync, so easy configuration on an end user device is basically out the window.
I can't help you with your specific problem as I don't use iCal but activesync is available for ZCS Open Source edition in the ZeXtras range of products, take a look at their web site for details: https://www.zextras.com FWIW, I'm a happy user of their products.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
lytledd
Outstanding Member
Outstanding Member
Posts: 508
Joined: Sat Sep 13, 2014 12:54 am
ZCS/ZD Version: Ubuntu Release 8.8.15.GA.P12 FOSS

Re: CalDav Issues with Apple Calendar and iOS Calendar

Postby lytledd » Sat Sep 17, 2016 4:43 pm

casedogg87 wrote:Hello

Obviously this means no more ActiveSync, so easy configuration on an end user device is basically out the window.


Actually, you can setup ActiveSync. Checkout z-push and the zimbra z-push backend

http://z-push.org/
https://sourceforge.net/projects/zimbrabackend/


I have tried many different ways to configure on both OS X and iOS. Below is the log from one of my attempts this morning


I use Thunderbird with the lightening plugin for calendars. The format I use:

https://username:password@domain/dav/username/Calendar

Doug
User avatar
Gren Elliot
Zimbra Employee
Zimbra Employee
Posts: 183
Joined: Tue Jun 10, 2014 4:45 am

Re: CalDav Issues with Apple Calendar and iOS Calendar

Postby Gren Elliot » Mon Sep 19, 2016 1:40 pm

For iOS and OS X and most CalDAV clients you can configure all calendars for your account in one shot. For instance, if your server is zimbra.example.com, you would use the URL https://zimbra.example.com. Typically, you also need to specify username and password too.

Regrettably, the Lightning plugin for Thunderbird and other Mozilla based clients requires you to configure one calendar at a time, hence you need to do what Doug suggested and use https://username:password@domain/dav/username/Calendar to configure the default calendar.
casedogg87
Posts: 3
Joined: Fri Sep 16, 2016 4:49 pm

Re: CalDav Issues with Apple Calendar and iOS Calendar

Postby casedogg87 » Mon Sep 19, 2016 7:15 pm

Thanks everyone for your assistance on this. I would love to upgrade/add products to make ActiveSync work, but if Zimbra is going to have a future in our company - everything that should work needs to.

Gren's idea on just using our path to ZCS and password with OSX and iOS seemed promising - we have a lot of iPhones and I am on a Mac. I don't know how to pull the logs on my iPhone, but here is what I am getting on my Mac - which is OS X 10.10

Code: Select all

9/19/16 10:58:10.265 AM accountsd[341]: [com.apple.calendar.accounts.authentication] [Calling completion block with account error Error Domain=com.apple.accounts Code=10001 "(null)" UserInfo={NSUnderlyingError=0x7fcb3b280700 {Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={NSUnderlyingError=0x7fcb3b3d0510 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "The request timed out." UserInfo={NSErrorFailingURLStringKey=https://username%40domain.com@mail.domain.com/dav/principals/, NSErrorFailingURLKey=https://username%40domain.com@mail.domain.com/dav/principals/, _kCFStreamErrorCodeKey=60, _kCFStreamErrorDomainKey=1, NSLocalizedDescription=The request timed out.}}, NSErrorFailingURLStringKey=https://username%40domain.com@mail.domain.com/dav/principals/, NSErrorFailingURLKey=https://username%40domain.com@mail.domain.com/dav/principals/, _kCFStreamErrorDomainKey=1, _kCFStreamErrorCodeKey=60, NSLocalizedDescription=The request timed out.}}, Hostname=mail.domain.com}.]


Thanks for your help. I really want to make this work!
Last edited by casedogg87 on Fri Sep 23, 2016 11:39 pm, edited 1 time in total.
BradC
Advanced member
Advanced member
Posts: 56
Joined: Tue May 03, 2016 1:39 am

Re: CalDav Issues with Apple Calendar and iOS Calendar

Postby BradC » Tue Sep 20, 2016 7:59 am

I just checked the manual I wrote for OSX users, and we use the server name only.
I add a CalDAV account, select "advanced" for the account type. Put the server name in the server address. It auto fills out the server path as "/calendars/user". Port 443 and check "Use SSL".

I haven't tested this recently and I'm away from the office, but my wifes machine is OSX 10.10 and this worked for her.

Not much help I'm afraid.
casedogg87
Posts: 3
Joined: Fri Sep 16, 2016 4:49 pm

Re: CalDav Issues with Apple Calendar and iOS Calendar

Postby casedogg87 » Wed Sep 21, 2016 2:40 pm

BradC - are you literally using the "/calendars/user" path, or re-populating with user specific variables?

Thanks

Return to “CalDAV / CardDAV / iSync”

Who is online

Users browsing this forum: No registered users and 2 guests