Mailing List Archive

Access to shared/addresses resource via Apple Contacts.app on Mac OS X 10.10 and 10.11 (El Capitain)
Hi,

It appears that in Mac OS X 10.10 (Yosemite) and 10.11 (El Capitain) it is
no longer possible to access a Davical (awl 0.55, version 1.1.3.1) shared
resource (e.g shared/addresses - carddav address book) via Apple
Contacts.app client application (previously known as Addressbook.app).

Setting up new cardav account via simple method (via email address)
currently does not work.

The alternative method that used to work now fails.

If account is setup via the Advanced method either...

... authentication fails with Console error message as follow:

27/01/2016 17:26:22.345 accountsd[1011]: Could not verify credentials for
account richard (0EE1C7AE-F249-42D6-9AB8-E4CBEFB71DF0): Error
Domain=NSURLErrorDomain Code=-1002 "unsupported URL"
UserInfo={NSLocalizedDescription=unsupported URL,
NSUnderlyingError=0x7f81c2f4d440 {Error Domain=kCFErrorDomainCFNetwork
Code=-1002 "unsupported URL" UserInfo={NSLocalizedDescription=unsupported
URL}}}

No request received by server...

OR

... succeeds (via manual setup with full path to addresses resource) but
no contact are viewed or synched in the client interface...

This is what I see on the server access.log side:

192.168.250.180 - - [27/Jan/2016:18:06:53 +0000] "PROPFIND
/davical/caldav.php/shared/addresses HTTP/1.1" 401 8633 "-" "Mac OS
X/10.11.3 (15D21) AddressBook/1679.4"
192.168.250.180 - richard [27/Jan/2016:18:06:53 +0000] "PROPFIND
/davical/caldav.php/shared/addresses HTTP/1.1" 207 1156 "-" "Mac OS
X/10.11.3 (15D21) AddressBook/1679.4"
192.168.250.180 - - [27/Jan/2016:18:06:53 +0000] "OPTIONS
/davical/caldav.php/shared/ HTTP/1.1" 401 6937 "-" "Mac OS X/10.11.3
(15D21) AddressBook/1679.4"
192.168.250.180 - richard [27/Jan/2016:18:06:53 +0000] "OPTIONS
/davical/caldav.php/shared/ HTTP/1.1" 200 575 "-" "Mac OS X/10.11.3
(15D21) AddressBook/1679.4"
192.168.250.180 - richard [27/Jan/2016:18:06:53 +0000] "PROPFIND
/davical/caldav.php/shared/ HTTP/1.1" 207 1932 "-" "Mac OS X/10.11.3
(15D21) AddressBook/1679.4"
192.168.250.180 - richard [27/Jan/2016:18:06:53 +0000] "PROPFIND
/davical/caldav.php/shared/ HTTP/1.1" 207 19922 "-" "Mac OS X/10.11.3
(15D21) AddressBook/1679.4"
192.168.250.180 - - [27/Jan/2016:18:06:58 +0000] "PROPFIND
/.well-known/carddav HTTP/1.1" 307 893 "-" "Mac OS X/10.11.3 (15D21)
AddressBook/1679.4"
192.168.250.180 - - [27/Jan/2016:18:06:58 +0000] "PROPFIND
/davical/caldav.php/.well-known/carddav HTTP/1.1" 401 6961 "-" "Mac OS
X/10.11.3 (15D21) AddressBook/1679.4"
192.168.250.180 - richard [27/Jan/2016:18:06:58 +0000] "PROPFIND
/davical/caldav.php/.well-known/carddav HTTP/1.1" 301 398 "-" "Mac OS
X/10.11.3 (15D21) AddressBook/1679.4"
192.168.250.180 - - [27/Jan/2016:18:06:58 +0000] "PROPFIND
/davical/caldav.php/ HTTP/1.1" 401 6923 "-" "Mac OS X/10.11.3 (15D21)
AddressBook/1679.4"
192.168.250.180 - richard [27/Jan/2016:18:06:58 +0000] "PROPFIND
/davical/caldav.php/ HTTP/1.1" 207 1021 "-" "Mac OS X/10.11.3 (15D21)
AddressBook/1679.4"
192.168.250.180 - richard [27/Jan/2016:18:06:58 +0000] "OPTIONS
/davical/caldav.php/richard/ HTTP/1.1" 200 575 "-" "Mac OS X/10.11.3
(15D21) AddressBook/1679.4"
192.168.250.180 - richard [27/Jan/2016:18:06:58 +0000] "OPTIONS
/davical/caldav.php/richard/ HTTP/1.1" 200 575 "-" "Mac OS X/10.11.3
(15D21) AddressBook/1679.4"
192.168.250.180 - richard [27/Jan/2016:18:06:58 +0000] "PROPFIND
/davical/caldav.php/richard/ HTTP/1.1" 207 1941 "-" "Mac OS X/10.11.3
(15D21) AddressBook/1679.4"
192.168.250.180 - richard [27/Jan/2016:18:06:58 +0000] "PROPFIND
/davical/caldav.php/richard/ HTTP/1.1" 207 17513 "-" "Mac OS X/10.11.3
(15D21) AddressBook/1679.4"
192.168.250.180 - richard [27/Jan/2016:18:06:58 +0000] "OPTIONS
/davical/caldav.php/richard/ HTTP/1.1" 200 575 "-" "Mac OS X/10.11.3
(15D21) AddressBook/1679.4"

For some reason the client reverse back asking for the
/davical/caldav.php/richard/ resource while originally the
/davical/caldav.php/shared/addresses resource was requested to be accessed
by richard user (as setup within the client new account wizard) and
observed in access.log on the server...

Any clue what could be causing the issue?

The 401 errors make sense as the client do not seems to send the
credentials on those access log lines...

According to
https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#2xx_Success, HTTP
error 207 stand for:

"...
207 Multi-Status (WebDAV; RFC 4918)
The message body that follows is an XML message and can contain a number of
separate response codes, depending on how many sub-requests were made.
..."

How can I see the XML message to get more info on the separate response
codes and get a clue of what could be causing the issue?

We did setup redirection as advised in this article:
CardDAV sync is broken on OSX 10.11 El Capitan #1058
https://github.com/owncloud/contacts/issues/1058

So /.well-known/carddav redirect to /davical/caldav.php/ but that does not
seems to be sufficient to sort the issue...

Any help you may be able to provide would be much appreciated :-)

Regards,
Richard
Re: Access to shared/addresses resource via Apple Contacts.app on Mac OS X 10.10 and 10.11 (El Capitain) [ In reply to ]
Hello,

i can confirm this. Have the same problem with El Capitain. Shared
address books stopped working with OSX 11.10. As with iOS 8 update of
contact photos in address book also stopped working, i didn't
investigate deeper in the problem as we currently don't user DAViCal
address books any more.

With manual setup on OSX i managed it to get an error free access to the
address book but no contacts are shown.

Regards,

Rudolf Graf von Roit zu Hoya
*E-Mail:* graf.roit@gmail.com

Am 03.02.16 um 18:14 schrieb Richard LEGER:
>
> Hi,
>
> It appears that in Mac OS X 10.10 (Yosemite) and 10.11 (El Capitain)
> it is no longer possible to access a Davical (awl 0.55, version
> 1.1.3.1) shared resource (e.g shared/addresses - carddav address book)
> via Apple Contacts.app client application (previously known as
> Addressbook.app).
>
> Setting up new cardav account via simple method (via email address)
> currently does not work.
>
> The alternative method that used to work now fails.
>
> If account is setup via the Advanced method either...
>
> ... authentication fails with Console error message as follow:
>
> 27/01/2016 17:26:22.345 accountsd[1011]: Could not verify credentials for
> account richard (0EE1C7AE-F249-42D6-9AB8-E4CBEFB71DF0): Error
> Domain=NSURLErrorDomain Code=-1002 "unsupported URL"
> UserInfo={NSLocalizedDescription=unsupported URL,
> NSUnderlyingError=0x7f81c2f4d440 {Error Domain=kCFErrorDomainCFNetwork
> Code=-1002 "unsupported URL" UserInfo={NSLocalizedDescription=unsupported
> URL}}}
>
> No request received by server...
>
> OR
>
> ... succeeds (via manual setup with full path to addresses resource) but
> no contact are viewed or synched in the client interface...
>
> This is what I see on the server access.log side:
>
> 192.168.250.180 - - [27/Jan/2016:18:06:53 +0000] "PROPFIND
> /davical/caldav.php/shared/addresses HTTP/1.1" 401 8633 "-" "Mac OS
> X/10.11.3 (15D21) AddressBook/1679.4"
> 192.168.250.180 - richard [27/Jan/2016:18:06:53 +0000] "PROPFIND
> /davical/caldav.php/shared/addresses HTTP/1.1" 207 1156 "-" "Mac OS
> X/10.11.3 (15D21) AddressBook/1679.4"
> 192.168.250.180 - - [27/Jan/2016:18:06:53 +0000] "OPTIONS
> /davical/caldav.php/shared/ HTTP/1.1" 401 6937 "-" "Mac OS X/10.11.3
> (15D21) AddressBook/1679.4"
> 192.168.250.180 - richard [27/Jan/2016:18:06:53 +0000] "OPTIONS
> /davical/caldav.php/shared/ HTTP/1.1" 200 575 "-" "Mac OS X/10.11.3
> (15D21) AddressBook/1679.4"
> 192.168.250.180 - richard [27/Jan/2016:18:06:53 +0000] "PROPFIND
> /davical/caldav.php/shared/ HTTP/1.1" 207 1932 "-" "Mac OS X/10.11.3
> (15D21) AddressBook/1679.4"
> 192.168.250.180 - richard [27/Jan/2016:18:06:53 +0000] "PROPFIND
> /davical/caldav.php/shared/ HTTP/1.1" 207 19922 "-" "Mac OS X/10.11.3
> (15D21) AddressBook/1679.4"
> 192.168.250.180 - - [27/Jan/2016:18:06:58 +0000] "PROPFIND
> /.well-known/carddav HTTP/1.1" 307 893 "-" "Mac OS X/10.11.3 (15D21)
> AddressBook/1679.4"
> 192.168.250.180 - - [27/Jan/2016:18:06:58 +0000] "PROPFIND
> /davical/caldav.php/.well-known/carddav HTTP/1.1" 401 6961 "-" "Mac OS
> X/10.11.3 (15D21) AddressBook/1679.4"
> 192.168.250.180 - richard [27/Jan/2016:18:06:58 +0000] "PROPFIND
> /davical/caldav.php/.well-known/carddav HTTP/1.1" 301 398 "-" "Mac OS
> X/10.11.3 (15D21) AddressBook/1679.4"
> 192.168.250.180 - - [27/Jan/2016:18:06:58 +0000] "PROPFIND
> /davical/caldav.php/ HTTP/1.1" 401 6923 "-" "Mac OS X/10.11.3 (15D21)
> AddressBook/1679.4"
> 192.168.250.180 - richard [27/Jan/2016:18:06:58 +0000] "PROPFIND
> /davical/caldav.php/ HTTP/1.1" 207 1021 "-" "Mac OS X/10.11.3 (15D21)
> AddressBook/1679.4"
> 192.168.250.180 - richard [27/Jan/2016:18:06:58 +0000] "OPTIONS
> /davical/caldav.php/richard/ HTTP/1.1" 200 575 "-" "Mac OS X/10.11.3
> (15D21) AddressBook/1679.4"
> 192.168.250.180 - richard [27/Jan/2016:18:06:58 +0000] "OPTIONS
> /davical/caldav.php/richard/ HTTP/1.1" 200 575 "-" "Mac OS X/10.11.3
> (15D21) AddressBook/1679.4"
> 192.168.250.180 - richard [27/Jan/2016:18:06:58 +0000] "PROPFIND
> /davical/caldav.php/richard/ HTTP/1.1" 207 1941 "-" "Mac OS X/10.11.3
> (15D21) AddressBook/1679.4"
> 192.168.250.180 - richard [27/Jan/2016:18:06:58 +0000] "PROPFIND
> /davical/caldav.php/richard/ HTTP/1.1" 207 17513 "-" "Mac OS X/10.11.3
> (15D21) AddressBook/1679.4"
> 192.168.250.180 - richard [27/Jan/2016:18:06:58 +0000] "OPTIONS
> /davical/caldav.php/richard/ HTTP/1.1" 200 575 "-" "Mac OS X/10.11.3
> (15D21) AddressBook/1679.4"
>
> For some reason the client reverse back asking for the
> /davical/caldav.php/richard/ resource while originally the
> /davical/caldav.php/shared/addresses resource was requested to be
> accessed by richard user (as setup within the client new account
> wizard) and observed in access.log on the server...
>
> Any clue what could be causing the issue?
>
> The 401 errors make sense as the client do not seems to send the
> credentials on those access log lines...
>
> According to
> https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#2xx_Success,
> HTTP error 207 stand for:
>
> "...
> 207 Multi-Status (WebDAV; RFC 4918)
> The message body that follows is an XML message and can contain a
> number of separate response codes, depending on how many sub-requests
> were made.
> ..."
>
> How can I see the XML message to get more info on the separate
> response codes and get a clue of what could be causing the issue?
>
> We did setup redirection as advised in this article:
> CardDAV sync is broken on OSX 10.11 El Capitan #1058
> https://github.com/owncloud/contacts/issues/1058
>
> So /.well-known/carddav redirect to /davical/caldav.php/ but that does
> not seems to be sufficient to sort the issue...
>
> Any help you may be able to provide would be much appreciated :-)
>
> Regards,
> Richard
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
>
>
> _______________________________________________
> Davical-general mailing list
> Davical-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/davical-general


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Davical-general mailing list
Davical-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/davical-general
Re: Access to shared/addresses resource via Apple Contacts.app on Mac OS X 10.10 and 10.11 (El Capitain) [ In reply to ]
Hi Rudolf, hi Richard,

Contacts app's manual setup dialog in MacOS 10.11 is known to be severly
broken. Please have a look at the following issue on GitLab:
https://gitlab.com/davical-project/davical/issues/51 or this OwnCloud
issue on GitHub https://github.com/owncloud/contacts/issues/1058

Bug reports are filed in at Apple's but apparently its still not fixed
in 10.11.3 :(
Is that the problem you're experiencing?

Best,
Paul

Am 04.02.2016 um 08:27 schrieb Rudolf Graf von Roit zu Hoya:
> Hello,
>
> i can confirm this. Have the same problem with El Capitain. Shared
> address books stopped working with OSX 11.10. As with iOS 8 update of
> contact photos in address book also stopped working, i didn't
> investigate deeper in the problem as we currently don't user DAViCal
> address books any more.
>
> With manual setup on OSX i managed it to get an error free access to the
> address book but no contacts are shown.
>
> Regards,
>
> Rudolf Graf von Roit zu Hoya
> *E-Mail:* graf.roit@gmail.com
>
> Am 03.02.16 um 18:14 schrieb Richard LEGER:
>> Hi,
>>
>> It appears that in Mac OS X 10.10 (Yosemite) and 10.11 (El Capitain)
>> it is no longer possible to access a Davical (awl 0.55, version
>> 1.1.3.1) shared resource (e.g shared/addresses - carddav address book)
>> via Apple Contacts.app client application (previously known as
>> Addressbook.app).
>>
>> Setting up new cardav account via simple method (via email address)
>> currently does not work.
>>
>> The alternative method that used to work now fails.
>>
>> If account is setup via the Advanced method either...
>>
>> ... authentication fails with Console error message as follow:
>>
>> 27/01/2016 17:26:22.345 accountsd[1011]: Could not verify credentials for
>> account richard (0EE1C7AE-F249-42D6-9AB8-E4CBEFB71DF0): Error
>> Domain=NSURLErrorDomain Code=-1002 "unsupported URL"
>> UserInfo={NSLocalizedDescription=unsupported URL,
>> NSUnderlyingError=0x7f81c2f4d440 {Error Domain=kCFErrorDomainCFNetwork
>> Code=-1002 "unsupported URL" UserInfo={NSLocalizedDescription=unsupported
>> URL}}}
>>
>> No request received by server...
>>
>> OR
>>
>> ... succeeds (via manual setup with full path to addresses resource) but
>> no contact are viewed or synched in the client interface...
>>
>> This is what I see on the server access.log side:
>>
>> 192.168.250.180 - - [27/Jan/2016:18:06:53 +0000] "PROPFIND
>> /davical/caldav.php/shared/addresses HTTP/1.1" 401 8633 "-" "Mac OS
>> X/10.11.3 (15D21) AddressBook/1679.4"
>> 192.168.250.180 - richard [27/Jan/2016:18:06:53 +0000] "PROPFIND
>> /davical/caldav.php/shared/addresses HTTP/1.1" 207 1156 "-" "Mac OS
>> X/10.11.3 (15D21) AddressBook/1679.4"
>> 192.168.250.180 - - [27/Jan/2016:18:06:53 +0000] "OPTIONS
>> /davical/caldav.php/shared/ HTTP/1.1" 401 6937 "-" "Mac OS X/10.11.3
>> (15D21) AddressBook/1679.4"
>> 192.168.250.180 - richard [27/Jan/2016:18:06:53 +0000] "OPTIONS
>> /davical/caldav.php/shared/ HTTP/1.1" 200 575 "-" "Mac OS X/10.11.3
>> (15D21) AddressBook/1679.4"
>> 192.168.250.180 - richard [27/Jan/2016:18:06:53 +0000] "PROPFIND
>> /davical/caldav.php/shared/ HTTP/1.1" 207 1932 "-" "Mac OS X/10.11.3
>> (15D21) AddressBook/1679.4"
>> 192.168.250.180 - richard [27/Jan/2016:18:06:53 +0000] "PROPFIND
>> /davical/caldav.php/shared/ HTTP/1.1" 207 19922 "-" "Mac OS X/10.11.3
>> (15D21) AddressBook/1679.4"
>> 192.168.250.180 - - [27/Jan/2016:18:06:58 +0000] "PROPFIND
>> /.well-known/carddav HTTP/1.1" 307 893 "-" "Mac OS X/10.11.3 (15D21)
>> AddressBook/1679.4"
>> 192.168.250.180 - - [27/Jan/2016:18:06:58 +0000] "PROPFIND
>> /davical/caldav.php/.well-known/carddav HTTP/1.1" 401 6961 "-" "Mac OS
>> X/10.11.3 (15D21) AddressBook/1679.4"
>> 192.168.250.180 - richard [27/Jan/2016:18:06:58 +0000] "PROPFIND
>> /davical/caldav.php/.well-known/carddav HTTP/1.1" 301 398 "-" "Mac OS
>> X/10.11.3 (15D21) AddressBook/1679.4"
>> 192.168.250.180 - - [27/Jan/2016:18:06:58 +0000] "PROPFIND
>> /davical/caldav.php/ HTTP/1.1" 401 6923 "-" "Mac OS X/10.11.3 (15D21)
>> AddressBook/1679.4"
>> 192.168.250.180 - richard [27/Jan/2016:18:06:58 +0000] "PROPFIND
>> /davical/caldav.php/ HTTP/1.1" 207 1021 "-" "Mac OS X/10.11.3 (15D21)
>> AddressBook/1679.4"
>> 192.168.250.180 - richard [27/Jan/2016:18:06:58 +0000] "OPTIONS
>> /davical/caldav.php/richard/ HTTP/1.1" 200 575 "-" "Mac OS X/10.11.3
>> (15D21) AddressBook/1679.4"
>> 192.168.250.180 - richard [27/Jan/2016:18:06:58 +0000] "OPTIONS
>> /davical/caldav.php/richard/ HTTP/1.1" 200 575 "-" "Mac OS X/10.11.3
>> (15D21) AddressBook/1679.4"
>> 192.168.250.180 - richard [27/Jan/2016:18:06:58 +0000] "PROPFIND
>> /davical/caldav.php/richard/ HTTP/1.1" 207 1941 "-" "Mac OS X/10.11.3
>> (15D21) AddressBook/1679.4"
>> 192.168.250.180 - richard [27/Jan/2016:18:06:58 +0000] "PROPFIND
>> /davical/caldav.php/richard/ HTTP/1.1" 207 17513 "-" "Mac OS X/10.11.3
>> (15D21) AddressBook/1679.4"
>> 192.168.250.180 - richard [27/Jan/2016:18:06:58 +0000] "OPTIONS
>> /davical/caldav.php/richard/ HTTP/1.1" 200 575 "-" "Mac OS X/10.11.3
>> (15D21) AddressBook/1679.4"
>>
>> For some reason the client reverse back asking for the
>> /davical/caldav.php/richard/ resource while originally the
>> /davical/caldav.php/shared/addresses resource was requested to be
>> accessed by richard user (as setup within the client new account
>> wizard) and observed in access.log on the server...
>>
>> Any clue what could be causing the issue?
>>
>> The 401 errors make sense as the client do not seems to send the
>> credentials on those access log lines...
>>
>> According to
>> https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#2xx_Success,
>> HTTP error 207 stand for:
>>
>> "...
>> 207 Multi-Status (WebDAV; RFC 4918)
>> The message body that follows is an XML message and can contain a
>> number of separate response codes, depending on how many sub-requests
>> were made.
>> ..."
>>
>> How can I see the XML message to get more info on the separate
>> response codes and get a clue of what could be causing the issue?
>>
>> We did setup redirection as advised in this article:
>> CardDAV sync is broken on OSX 10.11 El Capitan #1058
>> https://github.com/owncloud/contacts/issues/1058
>>
>> So /.well-known/carddav redirect to /davical/caldav.php/ but that does
>> not seems to be sufficient to sort the issue...
>>
>> Any help you may be able to provide would be much appreciated :-)
>>
>> Regards,
>> Richard
>>
>>


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Davical-general mailing list
Davical-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/davical-general
Re: Access to shared/addresses resource via Apple Contacts.app on Mac OS X 10.10 and 10.11 (El Capitain) [ In reply to ]
Sorry Richard, I just saw that you indeed ruled out that issue in your
message below. But anyhow, since Lars got it to work (who submitted the
original issue in our bugtracker on gitlab) I'd say its highly likely
that your rewrite rules aren't working as expected. E.g. this line looks
somewhat suspicious to me

"PROPFIND /davical/caldav.php/.well-known/carddav HTTP/1.1"

What happens if you try to access the well-known URI directly in your
browser?
http://www.yourserver.com/.well-known/carddav

What do your rewrite rules look like? And do you use a .htaccess file or
the virtual host definition? The apple client will try to contact
http://www.yourserver.com/.well-known/carddav. Do you have access to
that root directory?

To see your server's full answer on your request you could use curl or,
maybe easier, the dev tools of your browser (e.g. firebug for Mozilla
Firefox).

Sorry, its all a bit vague..

Paul

Am 04.02.2016 um 17:08 schrieb Paul Kallnbach:
> Hi Rudolf, hi Richard,
>
> Contacts app's manual setup dialog in MacOS 10.11 is known to be severly
> broken. Please have a look at the following issue on GitLab:
> https://gitlab.com/davical-project/davical/issues/51 or this OwnCloud
> issue on GitHub https://github.com/owncloud/contacts/issues/1058
>
> Bug reports are filed in at Apple's but apparently its still not fixed
> in 10.11.3 :(
> Is that the problem you're experiencing?
>
> Best,
> Paul
>
> Am 04.02.2016 um 08:27 schrieb Rudolf Graf von Roit zu Hoya:
>> Hello,
>>
>> i can confirm this. Have the same problem with El Capitain. Shared
>> address books stopped working with OSX 11.10. As with iOS 8 update of
>> contact photos in address book also stopped working, i didn't
>> investigate deeper in the problem as we currently don't user DAViCal
>> address books any more.
>>
>> With manual setup on OSX i managed it to get an error free access to the
>> address book but no contacts are shown.
>>
>> Regards,
>>
>> Rudolf Graf von Roit zu Hoya
>> *E-Mail:* graf.roit@gmail.com
>>
>> Am 03.02.16 um 18:14 schrieb Richard LEGER:
>>> Hi,
>>>
>>> It appears that in Mac OS X 10.10 (Yosemite) and 10.11 (El Capitain)
>>> it is no longer possible to access a Davical (awl 0.55, version
>>> 1.1.3.1) shared resource (e.g shared/addresses - carddav address book)
>>> via Apple Contacts.app client application (previously known as
>>> Addressbook.app).
>>>
>>> Setting up new cardav account via simple method (via email address)
>>> currently does not work.
>>>
>>> The alternative method that used to work now fails.
>>>
>>> If account is setup via the Advanced method either...
>>>
>>> ... authentication fails with Console error message as follow:
>>>
>>> 27/01/2016 17:26:22.345 accountsd[1011]: Could not verify credentials for
>>> account richard (0EE1C7AE-F249-42D6-9AB8-E4CBEFB71DF0): Error
>>> Domain=NSURLErrorDomain Code=-1002 "unsupported URL"
>>> UserInfo={NSLocalizedDescription=unsupported URL,
>>> NSUnderlyingError=0x7f81c2f4d440 {Error Domain=kCFErrorDomainCFNetwork
>>> Code=-1002 "unsupported URL" UserInfo={NSLocalizedDescription=unsupported
>>> URL}}}
>>>
>>> No request received by server...
>>>
>>> OR
>>>
>>> ... succeeds (via manual setup with full path to addresses resource) but
>>> no contact are viewed or synched in the client interface...
>>>
>>> This is what I see on the server access.log side:
>>>
>>> 192.168.250.180 - - [27/Jan/2016:18:06:53 +0000] "PROPFIND
>>> /davical/caldav.php/shared/addresses HTTP/1.1" 401 8633 "-" "Mac OS
>>> X/10.11.3 (15D21) AddressBook/1679.4"
>>> 192.168.250.180 - richard [27/Jan/2016:18:06:53 +0000] "PROPFIND
>>> /davical/caldav.php/shared/addresses HTTP/1.1" 207 1156 "-" "Mac OS
>>> X/10.11.3 (15D21) AddressBook/1679.4"
>>> 192.168.250.180 - - [27/Jan/2016:18:06:53 +0000] "OPTIONS
>>> /davical/caldav.php/shared/ HTTP/1.1" 401 6937 "-" "Mac OS X/10.11.3
>>> (15D21) AddressBook/1679.4"
>>> 192.168.250.180 - richard [27/Jan/2016:18:06:53 +0000] "OPTIONS
>>> /davical/caldav.php/shared/ HTTP/1.1" 200 575 "-" "Mac OS X/10.11.3
>>> (15D21) AddressBook/1679.4"
>>> 192.168.250.180 - richard [27/Jan/2016:18:06:53 +0000] "PROPFIND
>>> /davical/caldav.php/shared/ HTTP/1.1" 207 1932 "-" "Mac OS X/10.11.3
>>> (15D21) AddressBook/1679.4"
>>> 192.168.250.180 - richard [27/Jan/2016:18:06:53 +0000] "PROPFIND
>>> /davical/caldav.php/shared/ HTTP/1.1" 207 19922 "-" "Mac OS X/10.11.3
>>> (15D21) AddressBook/1679.4"
>>> 192.168.250.180 - - [27/Jan/2016:18:06:58 +0000] "PROPFIND
>>> /.well-known/carddav HTTP/1.1" 307 893 "-" "Mac OS X/10.11.3 (15D21)
>>> AddressBook/1679.4"
>>> 192.168.250.180 - - [27/Jan/2016:18:06:58 +0000] "PROPFIND
>>> /davical/caldav.php/.well-known/carddav HTTP/1.1" 401 6961 "-" "Mac OS
>>> X/10.11.3 (15D21) AddressBook/1679.4"
>>> 192.168.250.180 - richard [27/Jan/2016:18:06:58 +0000] "PROPFIND
>>> /davical/caldav.php/.well-known/carddav HTTP/1.1" 301 398 "-" "Mac OS
>>> X/10.11.3 (15D21) AddressBook/1679.4"
>>> 192.168.250.180 - - [27/Jan/2016:18:06:58 +0000] "PROPFIND
>>> /davical/caldav.php/ HTTP/1.1" 401 6923 "-" "Mac OS X/10.11.3 (15D21)
>>> AddressBook/1679.4"
>>> 192.168.250.180 - richard [27/Jan/2016:18:06:58 +0000] "PROPFIND
>>> /davical/caldav.php/ HTTP/1.1" 207 1021 "-" "Mac OS X/10.11.3 (15D21)
>>> AddressBook/1679.4"
>>> 192.168.250.180 - richard [27/Jan/2016:18:06:58 +0000] "OPTIONS
>>> /davical/caldav.php/richard/ HTTP/1.1" 200 575 "-" "Mac OS X/10.11.3
>>> (15D21) AddressBook/1679.4"
>>> 192.168.250.180 - richard [27/Jan/2016:18:06:58 +0000] "OPTIONS
>>> /davical/caldav.php/richard/ HTTP/1.1" 200 575 "-" "Mac OS X/10.11.3
>>> (15D21) AddressBook/1679.4"
>>> 192.168.250.180 - richard [27/Jan/2016:18:06:58 +0000] "PROPFIND
>>> /davical/caldav.php/richard/ HTTP/1.1" 207 1941 "-" "Mac OS X/10.11.3
>>> (15D21) AddressBook/1679.4"
>>> 192.168.250.180 - richard [27/Jan/2016:18:06:58 +0000] "PROPFIND
>>> /davical/caldav.php/richard/ HTTP/1.1" 207 17513 "-" "Mac OS X/10.11.3
>>> (15D21) AddressBook/1679.4"
>>> 192.168.250.180 - richard [27/Jan/2016:18:06:58 +0000] "OPTIONS
>>> /davical/caldav.php/richard/ HTTP/1.1" 200 575 "-" "Mac OS X/10.11.3
>>> (15D21) AddressBook/1679.4"
>>>
>>> For some reason the client reverse back asking for the
>>> /davical/caldav.php/richard/ resource while originally the
>>> /davical/caldav.php/shared/addresses resource was requested to be
>>> accessed by richard user (as setup within the client new account
>>> wizard) and observed in access.log on the server...
>>>
>>> Any clue what could be causing the issue?
>>>
>>> The 401 errors make sense as the client do not seems to send the
>>> credentials on those access log lines...
>>>
>>> According to
>>> https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#2xx_Success,
>>> HTTP error 207 stand for:
>>>
>>> "...
>>> 207 Multi-Status (WebDAV; RFC 4918)
>>> The message body that follows is an XML message and can contain a
>>> number of separate response codes, depending on how many sub-requests
>>> were made.
>>> ..."
>>>
>>> How can I see the XML message to get more info on the separate
>>> response codes and get a clue of what could be causing the issue?
>>>
>>> We did setup redirection as advised in this article:
>>> CardDAV sync is broken on OSX 10.11 El Capitan #1058
>>> https://github.com/owncloud/contacts/issues/1058
>>>
>>> So /.well-known/carddav redirect to /davical/caldav.php/ but that does
>>> not seems to be sufficient to sort the issue...
>>>
>>> Any help you may be able to provide would be much appreciated :-)
>>>
>>> Regards,
>>> Richard
>>>
>>>


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Davical-general mailing list
Davical-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/davical-general
Re: Access to shared/addresses resource via Apple Contacts.app on Mac OS X 10.10 and 10.11 (El Capitain) [ In reply to ]
Hello Paul,

no, this is not my problem. "Normal" user address books work as expected
if the manual setup is done in the Contacts app or used from a migrated
Mac. Even the contact photos work in contrast to iOS. My problem is the
same as Richard's: shared address books can be configured but no contact
is displayed. If you create a new account in Contacts app with
server/user/path to a shared address book, the address book shows empty
in OSX.

We have several Macs which have been upgraded from 10.10 to 10.11 and
there the address book looks like before but not changes made to them
are either reported back to the Macs nor changes made by the Contact app
are stored on the DAViCal server.

As you wrote, it seems to be a problem with the Contact app (as nothing
else but OSX changed), but it is very strange that only shared address
resources are affected.

Regards,

Rudolf Graf von Roit zu Hoya
*E-Mail:* graf.roit@gmail.com

Am 04.02.16 um 17:08 schrieb Paul Kallnbach:
> Hi Rudolf, hi Richard,
>
> Contacts app's manual setup dialog in MacOS 10.11 is known to be severly
> broken. Please have a look at the following issue on GitLab:
> https://gitlab.com/davical-project/davical/issues/51 or this OwnCloud
> issue on GitHub https://github.com/owncloud/contacts/issues/1058
>
> Bug reports are filed in at Apple's but apparently its still not fixed
> in 10.11.3 :(
> Is that the problem you're experiencing?
>
> Best,
> Paul
>
> Am 04.02.2016 um 08:27 schrieb Rudolf Graf von Roit zu Hoya:
>> Hello,
>>
>> i can confirm this. Have the same problem with El Capitain. Shared
>> address books stopped working with OSX 11.10. As with iOS 8 update of
>> contact photos in address book also stopped working, i didn't
>> investigate deeper in the problem as we currently don't user DAViCal
>> address books any more.
>>
>> With manual setup on OSX i managed it to get an error free access to the
>> address book but no contacts are shown.
>>
>> Regards,
>>
>> Rudolf Graf von Roit zu Hoya
>> *E-Mail:* graf.roit@gmail.com
>>
>> Am 03.02.16 um 18:14 schrieb Richard LEGER:
>>> Hi,
>>>
>>> It appears that in Mac OS X 10.10 (Yosemite) and 10.11 (El Capitain)
>>> it is no longer possible to access a Davical (awl 0.55, version
>>> 1.1.3.1) shared resource (e.g shared/addresses - carddav address book)
>>> via Apple Contacts.app client application (previously known as
>>> Addressbook.app).
>>>
>>> Setting up new cardav account via simple method (via email address)
>>> currently does not work.
>>>
>>> The alternative method that used to work now fails.
>>>
>>> If account is setup via the Advanced method either...
>>>
>>> ... authentication fails with Console error message as follow:
>>>
>>> 27/01/2016 17:26:22.345 accountsd[1011]: Could not verify credentials for
>>> account richard (0EE1C7AE-F249-42D6-9AB8-E4CBEFB71DF0): Error
>>> Domain=NSURLErrorDomain Code=-1002 "unsupported URL"
>>> UserInfo={NSLocalizedDescription=unsupported URL,
>>> NSUnderlyingError=0x7f81c2f4d440 {Error Domain=kCFErrorDomainCFNetwork
>>> Code=-1002 "unsupported URL" UserInfo={NSLocalizedDescription=unsupported
>>> URL}}}
>>>
>>> No request received by server...
>>>
>>> OR
>>>
>>> ... succeeds (via manual setup with full path to addresses resource) but
>>> no contact are viewed or synched in the client interface...
>>>
>>> This is what I see on the server access.log side:
>>>
>>> 192.168.250.180 - - [27/Jan/2016:18:06:53 +0000] "PROPFIND
>>> /davical/caldav.php/shared/addresses HTTP/1.1" 401 8633 "-" "Mac OS
>>> X/10.11.3 (15D21) AddressBook/1679.4"
>>> 192.168.250.180 - richard [27/Jan/2016:18:06:53 +0000] "PROPFIND
>>> /davical/caldav.php/shared/addresses HTTP/1.1" 207 1156 "-" "Mac OS
>>> X/10.11.3 (15D21) AddressBook/1679.4"
>>> 192.168.250.180 - - [27/Jan/2016:18:06:53 +0000] "OPTIONS
>>> /davical/caldav.php/shared/ HTTP/1.1" 401 6937 "-" "Mac OS X/10.11.3
>>> (15D21) AddressBook/1679.4"
>>> 192.168.250.180 - richard [27/Jan/2016:18:06:53 +0000] "OPTIONS
>>> /davical/caldav.php/shared/ HTTP/1.1" 200 575 "-" "Mac OS X/10.11.3
>>> (15D21) AddressBook/1679.4"
>>> 192.168.250.180 - richard [27/Jan/2016:18:06:53 +0000] "PROPFIND
>>> /davical/caldav.php/shared/ HTTP/1.1" 207 1932 "-" "Mac OS X/10.11.3
>>> (15D21) AddressBook/1679.4"
>>> 192.168.250.180 - richard [27/Jan/2016:18:06:53 +0000] "PROPFIND
>>> /davical/caldav.php/shared/ HTTP/1.1" 207 19922 "-" "Mac OS X/10.11.3
>>> (15D21) AddressBook/1679.4"
>>> 192.168.250.180 - - [27/Jan/2016:18:06:58 +0000] "PROPFIND
>>> /.well-known/carddav HTTP/1.1" 307 893 "-" "Mac OS X/10.11.3 (15D21)
>>> AddressBook/1679.4"
>>> 192.168.250.180 - - [27/Jan/2016:18:06:58 +0000] "PROPFIND
>>> /davical/caldav.php/.well-known/carddav HTTP/1.1" 401 6961 "-" "Mac OS
>>> X/10.11.3 (15D21) AddressBook/1679.4"
>>> 192.168.250.180 - richard [27/Jan/2016:18:06:58 +0000] "PROPFIND
>>> /davical/caldav.php/.well-known/carddav HTTP/1.1" 301 398 "-" "Mac OS
>>> X/10.11.3 (15D21) AddressBook/1679.4"
>>> 192.168.250.180 - - [27/Jan/2016:18:06:58 +0000] "PROPFIND
>>> /davical/caldav.php/ HTTP/1.1" 401 6923 "-" "Mac OS X/10.11.3 (15D21)
>>> AddressBook/1679.4"
>>> 192.168.250.180 - richard [27/Jan/2016:18:06:58 +0000] "PROPFIND
>>> /davical/caldav.php/ HTTP/1.1" 207 1021 "-" "Mac OS X/10.11.3 (15D21)
>>> AddressBook/1679.4"
>>> 192.168.250.180 - richard [27/Jan/2016:18:06:58 +0000] "OPTIONS
>>> /davical/caldav.php/richard/ HTTP/1.1" 200 575 "-" "Mac OS X/10.11.3
>>> (15D21) AddressBook/1679.4"
>>> 192.168.250.180 - richard [27/Jan/2016:18:06:58 +0000] "OPTIONS
>>> /davical/caldav.php/richard/ HTTP/1.1" 200 575 "-" "Mac OS X/10.11.3
>>> (15D21) AddressBook/1679.4"
>>> 192.168.250.180 - richard [27/Jan/2016:18:06:58 +0000] "PROPFIND
>>> /davical/caldav.php/richard/ HTTP/1.1" 207 1941 "-" "Mac OS X/10.11.3
>>> (15D21) AddressBook/1679.4"
>>> 192.168.250.180 - richard [27/Jan/2016:18:06:58 +0000] "PROPFIND
>>> /davical/caldav.php/richard/ HTTP/1.1" 207 17513 "-" "Mac OS X/10.11.3
>>> (15D21) AddressBook/1679.4"
>>> 192.168.250.180 - richard [27/Jan/2016:18:06:58 +0000] "OPTIONS
>>> /davical/caldav.php/richard/ HTTP/1.1" 200 575 "-" "Mac OS X/10.11.3
>>> (15D21) AddressBook/1679.4"
>>>
>>> For some reason the client reverse back asking for the
>>> /davical/caldav.php/richard/ resource while originally the
>>> /davical/caldav.php/shared/addresses resource was requested to be
>>> accessed by richard user (as setup within the client new account
>>> wizard) and observed in access.log on the server...
>>>
>>> Any clue what could be causing the issue?
>>>
>>> The 401 errors make sense as the client do not seems to send the
>>> credentials on those access log lines...
>>>
>>> According to
>>> https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#2xx_Success,
>>> HTTP error 207 stand for:
>>>
>>> "...
>>> 207 Multi-Status (WebDAV; RFC 4918)
>>> The message body that follows is an XML message and can contain a
>>> number of separate response codes, depending on how many sub-requests
>>> were made.
>>> ..."
>>>
>>> How can I see the XML message to get more info on the separate
>>> response codes and get a clue of what could be causing the issue?
>>>
>>> We did setup redirection as advised in this article:
>>> CardDAV sync is broken on OSX 10.11 El Capitan #1058
>>> https://github.com/owncloud/contacts/issues/1058
>>>
>>> So /.well-known/carddav redirect to /davical/caldav.php/ but that does
>>> not seems to be sufficient to sort the issue...
>>>
>>> Any help you may be able to provide would be much appreciated :-)
>>>
>>> Regards,
>>> Richard
>>>
>>>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> _______________________________________________
> Davical-general mailing list
> Davical-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/davical-general