Page 1 of 1

CalDav Issues with Apple Calendar and iOS Calendar

Posted: Fri Sep 16, 2016 5:10 pm
by casedogg87
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?

Re: CalDav Issues with Apple Calendar and iOS Calendar

Posted: Fri Sep 16, 2016 6:44 pm
by phoenix
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.

Re: CalDav Issues with Apple Calendar and iOS Calendar

Posted: Sat Sep 17, 2016 4:43 pm
by lytledd
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

Re: CalDav Issues with Apple Calendar and iOS Calendar

Posted: Mon Sep 19, 2016 1:40 pm
by Gren Elliot
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.

Re: CalDav Issues with Apple Calendar and iOS Calendar

Posted: Mon Sep 19, 2016 7:15 pm
by casedogg87
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!

Re: CalDav Issues with Apple Calendar and iOS Calendar

Posted: Tue Sep 20, 2016 7:59 am
by BradC
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.

Re: CalDav Issues with Apple Calendar and iOS Calendar

Posted: Wed Sep 21, 2016 2:40 pm
by casedogg87
BradC - are you literally using the "/calendars/user" path, or re-populating with user specific variables?

Thanks