Re: 401 Error when accessing via Android client CardDAV-Sync

Dominik Erdmann <[email protected]> Mon, 30 May 2016 23:06:50 +0200
Newsgroups gmane.comp.horde.turba
Message-ID <[email protected]>

Am 30.05.2016 um 09:28 schrieb Jens Wahnes:

>> I saw in my Apache logfiles that all my three Android clients enters a
>> 401 (unauthorized) error when they accessing via the client
>> CardDAV-Sync. See below attached log entries. The first one contains the
>> error. Conspicuous is that the user name determined by HTTP
>> authentication is missing.
>>
>> Now my question: Do you know such entries? Is it possible to avoid these
>> entries? Is there any option in Horde or the client?
>
> This is quite normal behavior in both CalDAV and CardDAV. The client
> normally does not authenticate to the server unless required. When the
> server sends a 401 reply to a request, the client sees the need for
> authentication and re-sends the request with authentication information
> included.

Okay. I have fears it. :-)

> With this particular client (CardDAV-Sync for Android), you can turn on
> "preemptive authentication" in the extended settings. This should get
> you rid of the "401" requests because the client will send
> authentification information even if the server didn't request it.

Great! Thank you for the hint. I will test it.
-- 
turba mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]