[turba] 401 Error when accessing via Android client CardDAV-Sync
Dominik Erdmann
horde_mailing at der-domi.de
Mon May 30 21:06:50 UTC 2016
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.
More information about the turba
mailing list