Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[dev] Calendar.app fails to load Kronolith Calendar

57 views
Skip to first unread message

Michael Wisniewski

unread,
May 14, 2013, 12:34:42 PM5/14/13
to
Hi!

I'm running on...

Calendar (kronolith) 4.1.0-git

and trying to configure Calendar.app on OSX to use the "CalDAV
Subscription URL". When configuring the app, I choose "CalDav" as the
Account Type, and the "Server Address" is...

https://<foo>/webmail/rpc.php/calendars/wisniewski/calendar:Ii<something>2/

When it is "Verifying Account", I get an error that displays "Server
with Secure Communication Unavailable", and this is in my apache
logs....

19<ip>9 - wisniewski [14/May/2013:11:32:30 -0500] "PROPFIND
/webmail/rpc.php/calendars/wisniewski/calendar%3A<something>2/
HTTP/1.1" 207 1387 "-" "Mac OS X/10.8.3 (12D78) Calendar/1648"

When I turned the Horde debug logs on, nothing in there shows anything
as failed, or anything that would make it sound like it's bad.

Does anybody else out there run OSX and have their calendar sync with
CalDav to Horde? Are you experiencing issues too?

Thanks!
mike


--
dev mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: dev-uns...@lists.horde.org

Jan Schneider

unread,
May 15, 2013, 5:09:24 AM5/15/13
to

Zitat von Michael Wisniewski <wisni...@mwiz.org>:

> Hi!
>
> I'm running on...
>
> Calendar (kronolith) 4.1.0-git
>
> and trying to configure Calendar.app on OSX to use the "CalDAV
> Subscription URL". When configuring the app, I choose "CalDav" as
> the Account Type, and the "Server Address" is...
>
> https://<foo>/webmail/rpc.php/calendars/wisniewski/calendar:Ii<something>2/
>
> When it is "Verifying Account", I get an error that displays "Server
> with Secure Communication Unavailable", and this is in my apache
> logs....
>
> 19<ip>9 - wisniewski [14/May/2013:11:32:30 -0500] "PROPFIND
> /webmail/rpc.php/calendars/wisniewski/calendar%3A<something>2/
> HTTP/1.1" 207 1387 "-" "Mac OS X/10.8.3 (12D78) Calendar/1648"
>
> When I turned the Horde debug logs on, nothing in there shows
> anything as failed, or anything that would make it sound like it's
> bad.
>
> Does anybody else out there run OSX and have their calendar sync
> with CalDav to Horde? Are you experiencing issues too?
>
> Thanks!
> mike

You need to use the account URL, not the calendar URL for the OSX calendar.
--
Jan Schneider
The Horde Project
http://www.horde.org/

Michael Wisniewski

unread,
May 15, 2013, 10:41:20 AM5/15/13
to

Quoting Jan Schneider <j...@horde.org>:

> Zitat von Michael Wisniewski <wisni...@mwiz.org>:
>
>> Hi!
>>
>> I'm running on...
>>
>> Calendar (kronolith) 4.1.0-git
>>
>> and trying to configure Calendar.app on OSX to use the "CalDAV
>> Subscription URL". When configuring the app, I choose "CalDav" as
>> the Account Type, and the "Server Address" is...
>>
>> https://<foo>/webmail/rpc.php/calendars/wisniewski/calendar:Ii<something>2/
>>
>> When it is "Verifying Account", I get an error that displays
>> "Server with Secure Communication Unavailable", and this is in my
>> apache logs....
>>
>> 19<ip>9 - wisniewski [14/May/2013:11:32:30 -0500] "PROPFIND
>> /webmail/rpc.php/calendars/wisniewski/calendar%3A<something>2/
>> HTTP/1.1" 207 1387 "-" "Mac OS X/10.8.3 (12D78) Calendar/1648"
>>
>> When I turned the Horde debug logs on, nothing in there shows
>> anything as failed, or anything that would make it sound like it's
>> bad.
>>
>> Does anybody else out there run OSX and have their calendar sync
>> with CalDav to Horde? Are you experiencing issues too?
>>
>> Thanks!
>> mike
>
> You need to use the account URL, not the calendar URL for the OSX calendar.

Thanks. I've been messing around with it yesterday and today and
still can't get it to work with calendar.app. When I to a tcpdump to
try to figure things out, it looks like I'm getting an authorization
error, even though I am putting the right password in. I don't
necessarily think it's a problem with Horde, but something that I'm
doing wrong.

thanks,
mike

PROPFIND /webmail/rpc.php/principals/wisniewski/ HTTP/1.1
Host: <foo>
User-Agent: Mac OS X/10.8.3 (12D78) Calendar/1648
Content-Length: 127
Accept: */*
Accept-Language: en-us
Accept-Encoding: gzip, deflate
Content-Type: text/xml
Depth: 0
Brief: t
Connection: keep-alive

<?xml version="1.0" encoding="UTF-8"?>
<A:propfind xmlns:A="DAV:">
<A:prop>
<A:principal-URL/>
</A:prop>
</A:propfind>
HTTP/1.1 401 Unauthorized
Date: Wed, 15 May 2013 14:35:11 GMT
Server: Apache/2.2.22 (Ubuntu)
X-Powered-By: PHP/5.4.15-1~ppa1~precise
Set-Cookie: Horde=iq9r7e8prpmibh2c2p4upap624; path=/webmail/;
domain=<foo>; HttpOnly
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
WWW-Authenticate: Basic realm="Horde DAV Server"
Content-Encoding: gzip
Vary: Accept-Encoding
Content-Length: 206
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: application/xml; charset=utf-8

Jan Schneider

unread,
May 15, 2013, 12:34:53 PM5/15/13
to
This is fine. The app always tries an unauthenticated request first.
The next request should contain the credentials for HTTP basic
authentication.
--
Jan Schneider
The Horde Project
http://www.horde.org/

Michael Wisniewski

unread,
May 15, 2013, 4:01:39 PM5/15/13
to
Thanks for this information. I finally kind of got it to work. OSX
use to be stable and work great. As versions go on and on, I believe
they are getting sloppy and breaking things left and right...then
refuse to fix it.

My first problem was I'm running 'fail2ban'. It blocks your IP if you
try to login to the server and fail x amount of times. I whitelisted
the IP I was coming from and it started to work a little better.

The second problem is that I still can't get the calendar.app to work
properly. I downloaded the trial version of BusyCal and got it to
sync up just fine with my Horde calendar. I tried plugging the same
exact information into calendar.app, and I kept getting the dreaded
"Server With Secure Communication Unavailable" and not being able to
continue. I'm completely stumped on this one.

So, I think I found a work-around for the calendar, but now the
contacts is giving me the same "Unsecured Connection" problem.
Arghhh....
0 new messages