[turba] 401 Error when accessing via Android client CardDAV-Sync

Jens Wahnes wahnes at uni-koeln.de
Mon May 30 07:28:38 UTC 2016


Dominik Erdmann wrote:

> 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.

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.


Jens


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4986 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.horde.org/archives/turba/attachments/20160530/f7cf6e3b/attachment.bin>


More information about the turba mailing list