[horde] CardDav on Mac OS/X 10.9.1 contact client

Jan Schneider jan at horde.org
Mon Feb 10 17:23:52 UTC 2014


Zitat von Horst Simon <horst.simon at optusnet.com.au>:

> Hi
> I searched through the mailing list but can not find a solution to  
> my problem.
> When I configure the Mac Contact client as peer URL given in the  
> Webpage, it connects,
> but no addresses are displayed.
> I tried with following redirect in the apache .conf files:
>
> RewriteEngine On
> RewriteRule /.well-known/carddav /horde/rpc.php/ [R,L]
>
> or
>
> RewriteEngine On
> RedirectPermanent /.well-known/carddav /horde/rpc.php/
>
> or
>
> RewriteEngine On
> RewriteRule /.well-known/carddav /horde/rpc.php/ [R,L]
> RedirectPermanent /.well-known/carddav /horde/rpc.php/
>
> but still the same error. I have this problem on the MacBook Pro
> and on the iMAC, but it works with sabre-zarafa in Zarafa and with  
> eGroupware.
>
> Following I have in the console log when I added a contact to  to  
> MAC address book.
>
> 6/02/2014 11:57:43.396 Contacts[6832]: [CardDAVPlugin-ERROR]  
> -_handleCompletedAction: Error Domain=CoreDAVHTTPStatusErrorDomain  
> Code=500 "The operation couldn’t be completed.  
> (CoreDAVHTTPStatusErrorDomain error 500.)" UserInfo=0x6080008726c0  
> {CoreDAVHTTPHeaders=<CFBasicHash 0x608000875e80

A status error of 500 is probably some fatal PHP or Horde error. You  
should see a matching entry in either the PHP or Horde logs.

> [0x7fff76342eb0]>{type = immutable dict, count = 12,
> entries =>
> 	0 : Content-Type = <CFString 0x600000855060  
> [0x7fff76342eb0]>{contents = "application/xml; charset=utf-8"}
> 	2 : Pragma = <CFString 0x600000634ca0 [0x7fff76342eb0]>{contents =  
> "no-cache"}
> 	4 : X-Powered-By = <CFString 0x60000062e500  
> [0x7fff76342eb0]>{contents = "PHP/5.4.20"}
> 	5 : Set-Cookie = <CFString 0x7fe93bcba0f0  
> [0x7fff76342eb0]>{contents = "Horde=5qa1ebabsj0fllho4qvqnk82p6;  
> path=/; domain=10.211.55.6; HttpOnly,  
> horde_secret_key=5qa1ebabsj0fllho4qvqnk82p6; path=/;  
> domain=10.211.55.6; httponly, Horde=18g2uh483vom2k1qcspovnatq4;  
> path=/; domain=10.211.55.6; HttpOnly,  
> horde_secret_key=18g2uh483vom2k1qcspovnatq4; path=/;  
> domain=10.211.55.6; httponly, default_horde_view=auto; expires=Sat,  
> 08-Mar-2014 00:57:42 GMT; path=/; domain=10.211.55.6"}
> 	6 : Server = <CFString 0x6000008472f0 [0x7fff76342eb0]>{contents =  
> "Apache/2.2.12 (Linux/SUSE)"}
> 	7 : Content-Encoding = <CFString 0x600000220bc0  
> [0x7fff76342eb0]>{contents = "gzip"}
> 	8 : Expires = <CFString 0x60000064b0a0 [0x7fff76342eb0]>{contents =  
> "Thu, 19 Nov 1981 08:52:00 GMT"}
> 	12 : Cache-Control = <CFString 0x600000297700  
> [0x7fff76342eb0]>{contents = "no-store, no-cache, must-revalidate,  
> post-check=0, pre-check=0"}
> 	13 : Date = <CFString 0x600000858510 [0x7fff76342eb0]>{contents =  
> "Thu, 06 Feb 2014 00:57:42 GMT"}
> 	15 : Content-Length = <CFString 0x6000006368a0  
> [0x7fff76342eb0]>{contents = "203"}
> 	17 : Connection = <CFString 0x6000004334c0  
> [0x7fff76342eb0]>{contents = "close"}
> 	21 : Vary = <CFString 0x60000084ccf0 [0x7fff76342eb0]>{contents =  
> "Accept-Encoding"}
> }
> }
> 6/02/2014 11:57:43.397 Contacts[6832]: [CardDAVPlugin-ERROR]  
> -_handleAddsOrModifies:https://horst@10.211.55.6:443/horde/rpc.php/addressbooks/horst/contacts:favourites/ Error Domain=CoreDAVHTTPStatusErrorDomain Code=500 "The operation couldn’t be completed. (CoreDAVHTTPStatusErrorDomain error 500.)" UserInfo=0x6080008726c0 {CoreDAVHTTPHeaders=<CFBasicHash 0x608000875e80 [0x7fff76342eb0]>{type = immutable dict, count =  
> 12,

This at least is a sign the the autodiscovering via .well-known works.

> entries =>
> 	0 : Content-Type = <CFString 0x600000855060  
> [0x7fff76342eb0]>{contents = "application/xml; charset=utf-8"}
> 	2 : Pragma = <CFString 0x600000634ca0 [0x7fff76342eb0]>{contents =  
> "no-cache"}
> 	4 : X-Powered-By = <CFString 0x60000062e500  
> [0x7fff76342eb0]>{contents = "PHP/5.4.20"}
> 	5 : Set-Cookie = <CFString 0x7fe93bcba0f0  
> [0x7fff76342eb0]>{contents = "Horde=5qa1ebabsj0fllho4qvqnk82p6;  
> path=/; domain=10.211.55.6; HttpOnly,  
> horde_secret_key=5qa1ebabsj0fllho4qvqnk82p6; path=/;  
> domain=10.211.55.6; httponly, Horde=18g2uh483vom2k1qcspovnatq4;  
> path=/; domain=10.211.55.6; HttpOnly,  
> horde_secret_key=18g2uh483vom2k1qcspovnatq4; path=/;  
> domain=10.211.55.6; httponly, default_horde_view=auto; expires=Sat,  
> 08-Mar-2014 00:57:42 GMT; path=/; domain=10.211.55.6"}
> 	6 : Server = <CFString 0x6000008472f0 [0x7fff76342eb0]>{contents =  
> "Apache/2.2.12 (Linux/SUSE)"}
> 	7 : Content-Encoding = <CFString 0x600000220bc0  
> [0x7fff76342eb0]>{contents = "gzip"}
> 	8 : Expires = <CFString 0x60000064b0a0 [0x7fff76342eb0]>{contents =  
> "Thu, 19 Nov 1981 08:52:00 GMT"}
> 	12 : Cache-Control = <CFString 0x600000297700  
> [0x7fff76342eb0]>{contents = "no-store, no-cache, must-revalidate,  
> post-check=0, pre-check=0"}
> 	13 : Date = <CFString 0x600000858510 [0x7fff76342eb0]>{contents =  
> "Thu, 06 Feb 2014 00:57:42 GMT"}
> 	15 : Content-Length = <CFString 0x6000006368a0  
> [0x7fff76342eb0]>{contents = "203"}
> 	17 : Connection = <CFString 0x6000004334c0  
> [0x7fff76342eb0]>{contents = "close"}
> 	21 : Vary = <CFString 0x60000084ccf0 [0x7fff76342eb0]>{contents =  
> "Accept-Encoding"}
> }
> }
>
> Thanks and Regards,
> Horst Simon


-- 
Jan Schneider
The Horde Project
http://www.horde.org/
https://www.facebook.com/hordeproject



More information about the horde mailing list