Re: 401 Error when accessing via Android client CardDAV-Sync
Jens Wahnes <[email protected]> Mon, 30 May 2016 09:28:38 +0200
| Newsgroups | gmane.comp.horde.turba |
|---|---|
| Organization | Universitaet zu Koeln / RRZK |
| Message-ID | <[email protected]> |
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 -- turba mailing list Frequently Asked Questions: http://wiki.horde.org/FAQ To unsubscribe, mail: [email protected]
smime.p7s
(application/pkcs7-signature, 4.9 KB) - not displayed