Posteo login



  • I did not forbid calendar/address book access in CyanogenMod privacy settings. I enclosed the debug text with this post. I hope it helps you to solve the problem:

    LOGS:

    [info ] *** STARTING COLLECTION DISCOVERY FOR SERVICE CARDDAV***
    [info ] Check whether user-given URL is a calendar collection and/or contains home-set and/or has current-user-principal
    [trace] --> PROPFIND https://posteo.de:8443/ HTTP/1.1
    [trace] Content-Type: application/xml; charset=utf-8
    [trace] Content-Length: 320
    [trace] Depth: 0
    [trace] <?xml version='1.0' encoding='UTF-8' ?><propfind xmlns="DAV:" xmlns:CAL="urn:ietf:par\
    [trace] ams:xml:ns:caldav" xmlns:CARD="urn:ietf:params:xml:ns:carddav"><prop><CARD:addressboo\
    [trace] k-home-set /><resourcetype /><displayname /><CARD:addressbook-description /><current-\
    [trace] user-privilege-set /><current-user-principal /></prop></propfind>
    [trace] --> END PROPFIND (320-byte body)
    [trace] <-- HTTP/1.1 401 Unauthorized (1289ms)
    [trace] Date: Fri, 25 Mar 2016 20:15:53 GMT
    [trace] Server: Apache
    [trace] X-Powered-By: PHP/5.4.35-0+deb7u2
    [trace] WWW-Authenticate: Basic realm="SabreDAV"
    [trace] Keep-Alive: timeout=5, max=100
    [trace] Connection: Keep-Alive
    [trace] Transfer-Encoding: chunked
    [trace] Content-Type: application/xml; charset=utf-8
    [trace] OkHttp-Sent-Millis: 1458936950609
    [trace] OkHttp-Received-Millis: 1458936950639
    [trace] <?xml version="1.0" encoding="utf-8"?>
    [trace] <d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
    [trace]   <s:exception>Sabre_DAV_Exception_NotAuthenticated</s:exception>
    [trace]   <s:message>Username or password does not match</s:message>
    [trace]   <s:sabredav-version>1.7.1</s:sabredav-version>
    [trace] </d:error>
    [trace] <-- END HTTP (284-byte body)
    [debug] PROPFIND on user-given URL failed - EXCEPTION:
    at.bitfire.dav4android.exception.UnauthorizedException: 401 Unauthorized
    	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:271)
    	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:286)
    	at at.bitfire.dav4android.DavResource.propfind(DavResource.java:250)
    	at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:124)
    	at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:85)
    	at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:164)
    	at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:142)
    	at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:312)
    	at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:69)
    	at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:66)
    	at android.os.AsyncTask$2.call(AsyncTask.java:295)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    	at java.lang.Thread.run(Thread.java:818)
    at.bitfire.dav4android.exception.UnauthorizedException: 401 Unauthorized
    at.bitfire.dav4android.exception.UnauthorizedException: 401 Unauthorized
    	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:271)
    	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:286)
    	at at.bitfire.dav4android.DavResource.propfind(DavResource.java:250)
    	at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:124)
    	at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:85)
    	at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:164)
    	at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:142)
    	at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:312)
    	at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:69)
    	at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:66)
    	at android.os.AsyncTask$2.call(AsyncTask.java:295)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    	at java.lang.Thread.run(Thread.java:818)
    [info ] No home sets found, looking for <current-user-principal>
    [trace] --> OPTIONS https://posteo.de:8443/ HTTP/1.1
    [trace] --> END OPTIONS
    [trace] <-- HTTP/1.1 401 Unauthorized (84ms)
    [trace] Date: Fri, 25 Mar 2016 20:15:53 GMT
    [trace] Server: Apache
    [trace] X-Powered-By: PHP/5.4.35-0+deb7u2
    [trace] WWW-Authenticate: Basic realm="SabreDAV"
    [trace] Keep-Alive: timeout=5, max=99
    [trace] Connection: Keep-Alive
    [trace] Transfer-Encoding: chunked
    [trace] Content-Type: application/xml; charset=utf-8
    [trace] OkHttp-Sent-Millis: 1458936950704
    [trace] OkHttp-Received-Millis: 1458936950735
    [trace] <?xml version="1.0" encoding="utf-8"?>
    [trace] <d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
    [trace]   <s:exception>Sabre_DAV_Exception_NotAuthenticated</s:exception>
    [trace]   <s:message>Username or password does not match</s:message>
    [trace]   <s:sabredav-version>1.7.1</s:sabredav-version>
    [trace] </d:error>
    [trace] <-- END HTTP (284-byte body)
    [debug] Couldn't find <current-user-principal> at user-given URL - EXCEPTION:
    at.bitfire.dav4android.exception.UnauthorizedException: 401 Unauthorized
    	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:271)
    	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:286)
    	at at.bitfire.dav4android.DavResource.options(DavResource.java:103)
    	at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:165)
    	at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:85)
    	at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:164)
    	at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:142)
    	at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:312)
    	at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:69)
    	at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:66)
    	at android.os.AsyncTask$2.call(AsyncTask.java:295)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    	at java.lang.Thread.run(Thread.java:818)
    at.bitfire.dav4android.exception.UnauthorizedException: 401 Unauthorized
    at.bitfire.dav4android.exception.UnauthorizedException: 401 Unauthorized
    	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:271)
    	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:286)
    	at at.bitfire.dav4android.DavResource.options(DavResource.java:103)
    	at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:165)
    	at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:85)
    	at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:164)
    	at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:142)
    	at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:312)
    	at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:69)
    	at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:66)
    	at android.os.AsyncTask$2.call(AsyncTask.java:295)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    	at java.lang.Thread.run(Thread.java:818)
    [info ] User-given URL doesn't contain <current-user-principal>, trying /.well-known/carddav
    [trace] --> PROPFIND https://posteo.de:8443/.well-known/carddav HTTP/1.1
    [trace] Content-Type: application/xml; charset=utf-8
    [trace] Content-Length: 198
    [trace] Depth: 0
    [trace] <?xml version='1.0' encoding='UTF-8' ?><propfind xmlns="DAV:" xmlns:CAL="urn:ietf:par\
    [trace] ams:xml:ns:caldav" xmlns:CARD="urn:ietf:params:xml:ns:carddav"><prop><current-user-pr\
    [trace] incipal /></prop></propfind>
    [trace] --> END PROPFIND (198-byte body)
    [trace] <-- HTTP/1.1 401 Unauthorized (75ms)
    [trace] Date: Fri, 25 Mar 2016 20:15:53 GMT
    [trace] Server: Apache
    [trace] X-Powered-By: PHP/5.4.35-0+deb7u2
    [trace] WWW-Authenticate: Basic realm="SabreDAV"
    [trace] Keep-Alive: timeout=5, max=98
    [trace] Connection: Keep-Alive
    [trace] Transfer-Encoding: chunked
    [trace] Content-Type: application/xml; charset=utf-8
    [trace] OkHttp-Sent-Millis: 1458936950796
    [trace] OkHttp-Received-Millis: 1458936950827
    [trace] <?xml version="1.0" encoding="utf-8"?>
    [trace] <d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
    [trace]   <s:exception>Sabre_DAV_Exception_NotAuthenticated</s:exception>
    [trace]   <s:message>Username or password does not match</s:message>
    [trace]   <s:sabredav-version>1.7.1</s:sabredav-version>
    [trace] </d:error>
    [trace] <-- END HTTP (284-byte body)
    [debug] Couldn't determine <current-user-principal> from well-known carddav path - EXCEPTION:
    at.bitfire.dav4android.exception.UnauthorizedException: 401 Unauthorized
    	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:271)
    	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:286)
    	at at.bitfire.dav4android.DavResource.propfind(DavResource.java:250)
    	at at.bitfire.davdroid.resource.DavResourceFinder.getCurrentUserPrincipal(DavResourceFinder.java:444)
    	at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:179)
    	at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:85)
    	at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:164)
    	at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:142)
    	at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:312)
    	at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:69)
    	at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:66)
    	at android.os.AsyncTask$2.call(AsyncTask.java:295)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    	at java.lang.Thread.run(Thread.java:818)
    at.bitfire.dav4android.exception.UnauthorizedException: 401 Unauthorized
    at.bitfire.dav4android.exception.UnauthorizedException: 401 Unauthorized
    	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:271)
    	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:286)
    	at at.bitfire.dav4android.DavResource.propfind(DavResource.java:250)
    	at at.bitfire.davdroid.resource.DavResourceFinder.getCurrentUserPrincipal(DavResourceFinder.java:444)
    	at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:179)
    	at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:85)
    	at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:164)
    	at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:142)
    	at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:312)
    	at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:69)
    	at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:66)
    	at android.os.AsyncTask$2.call(AsyncTask.java:295)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    	at java.lang.Thread.run(Thread.java:818)
    [info ] No principal URL yet, trying SRV/TXT records with domain posteo.de
    [debug] Looking up SRV records for _carddavs._tcp.posteo.de
    [info ] *** STARTING COLLECTION DISCOVERY FOR SERVICE CALDAV***
    [info ] Check whether user-given URL is a calendar collection and/or contains home-set and/or has current-user-principal
    [trace] --> PROPFIND https://posteo.de:8443/ HTTP/1.1
    [trace] Content-Type: application/xml; charset=utf-8
    [trace] Content-Length: 435
    [trace] Depth: 0
    [trace] <?xml version='1.0' encoding='UTF-8' ?><propfind xmlns="DAV:" xmlns:CAL="urn:ietf:par\
    [trace] ams:xml:ns:caldav" xmlns:CARD="urn:ietf:params:xml:ns:carddav"><prop><CAL:calendar-ho\
    [trace] me-set /><CAL:supported-calendar-component-set /><resourcetype /><displayname /><n0:c\
    [trace] alendar-color xmlns:n0="http://apple.com/ns/ical/" /><CAL:calendar-description /><CAL\
    [trace] :calendar-timezone /><current-user-privilege-set /><current-user-principal /></prop><\
    [trace] /propfind>
    [trace] --> END PROPFIND (435-byte body)
    [trace] <-- HTTP/1.1 401 Unauthorized (89ms)
    [trace] Date: Fri, 25 Mar 2016 20:15:53 GMT
    [trace] Server: Apache
    [trace] X-Powered-By: PHP/5.4.35-0+deb7u2
    [trace] WWW-Authenticate: Basic realm="SabreDAV"
    [trace] Keep-Alive: timeout=5, max=97
    [trace] Connection: Keep-Alive
    [trace] Transfer-Encoding: chunked
    [trace] Content-Type: application/xml; charset=utf-8
    [trace] OkHttp-Sent-Millis: 1458936950878
    [trace] OkHttp-Received-Millis: 1458936950927
    [trace] <?xml version="1.0" encoding="utf-8"?>
    [trace] <d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
    [trace]   <s:exception>Sabre_DAV_Exception_NotAuthenticated</s:exception>
    [trace]   <s:message>Username or password does not match</s:message>
    [trace]   <s:sabredav-version>1.7.1</s:sabredav-version>
    [trace] </d:error>
    [trace] <-- END HTTP (284-byte body)
    [debug] PROPFIND on user-given URL failed - EXCEPTION:
    at.bitfire.dav4android.exception.UnauthorizedException: 401 Unauthorized
    	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:271)
    	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:286)
    	at at.bitfire.dav4android.DavResource.propfind(DavResource.java:250)
    	at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:117)
    	at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:86)
    	at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:164)
    	at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:142)
    	at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:312)
    	at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:69)
    	at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:66)
    	at android.os.AsyncTask$2.call(AsyncTask.java:295)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    	at java.lang.Thread.run(Thread.java:818)
    at.bitfire.dav4android.exception.UnauthorizedException: 401 Unauthorized
    at.bitfire.dav4android.exception.UnauthorizedException: 401 Unauthorized
    	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:271)
    	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:286)
    	at at.bitfire.dav4android.DavResource.propfind(DavResource.java:250)
    	at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:117)
    	at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:86)
    	at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:164)
    	at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:142)
    	at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:312)
    	at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:69)
    	at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:66)
    	at android.os.AsyncTask$2.call(AsyncTask.java:295)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    	at java.lang.Thread.run(Thread.java:818)
    [info ] No home sets found, looking for <current-user-principal>
    [trace] --> OPTIONS https://posteo.de:8443/ HTTP/1.1
    [trace] --> END OPTIONS
    [trace] <-- HTTP/1.1 401 Unauthorized (73ms)
    [trace] Date: Fri, 25 Mar 2016 20:15:53 GMT
    [trace] Server: Apache
    [trace] X-Powered-By: PHP/5.4.35-0+deb7u2
    [trace] WWW-Authenticate: Basic realm="SabreDAV"
    [trace] Keep-Alive: timeout=5, max=96
    [trace] Connection: Keep-Alive
    [trace] Transfer-Encoding: chunked
    [trace] Content-Type: application/xml; charset=utf-8
    [trace] OkHttp-Sent-Millis: 1458936950978
    [trace] OkHttp-Received-Millis: 1458936951011
    [trace] <?xml version="1.0" encoding="utf-8"?>
    [trace] <d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
    [trace]   <s:exception>Sabre_DAV_Exception_NotAuthenticated</s:exception>
    [trace]   <s:message>Username or password does not match</s:message>
    [trace]   <s:sabredav-version>1.7.1</s:sabredav-version>
    [trace] </d:error>
    [trace] <-- END HTTP (284-byte body)
    [debug] Couldn't find <current-user-principal> at user-given URL - EXCEPTION:
    at.bitfire.dav4android.exception.UnauthorizedException: 401 Unauthorized
    	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:271)
    	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:286)
    	at at.bitfire.dav4android.DavResource.options(DavResource.java:103)
    	at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:165)
    	at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:86)
    	at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:164)
    	at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:142)
    	at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:312)
    	at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:69)
    	at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:66)
    	at android.os.AsyncTask$2.call(AsyncTask.java:295)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    	at java.lang.Thread.run(Thread.java:818)
    at.bitfire.dav4android.exception.UnauthorizedException: 401 Unauthorized
    at.bitfire.dav4android.exception.UnauthorizedException: 401 Unauthorized
    	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:271)
    	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:286)
    	at at.bitfire.dav4android.DavResource.options(DavResource.java:103)
    	at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:165)
    	at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:86)
    	at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:164)
    	at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:142)
    	at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:312)
    	at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:69)
    	at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:66)
    	at android.os.AsyncTask$2.call(AsyncTask.java:295)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    	at java.lang.Thread.run(Thread.java:818)
    [info ] User-given URL doesn't contain <current-user-principal>, trying /.well-known/caldav
    [trace] --> PROPFIND https://posteo.de:8443/.well-known/caldav HTTP/1.1
    [trace] Content-Type: application/xml; charset=utf-8
    [trace] Content-Length: 198
    [trace] Depth: 0
    [trace] <?xml version='1.0' encoding='UTF-8' ?><propfind xmlns="DAV:" xmlns:CAL="urn:ietf:par\
    [trace] ams:xml:ns:caldav" xmlns:CARD="urn:ietf:params:xml:ns:carddav"><prop><current-user-pr\
    [trace] incipal /></prop></propfind>
    [trace] --> END PROPFIND (198-byte body)
    [trace] <-- HTTP/1.1 401 Unauthorized (91ms)
    [trace] Date: Fri, 25 Mar 2016 20:15:53 GMT
    [trace] Server: Apache
    [trace] X-Powered-By: PHP/5.4.35-0+deb7u2
    [trace] WWW-Authenticate: Basic realm="SabreDAV"
    [trace] Keep-Alive: timeout=5, max=95
    [trace] Connection: Keep-Alive
    [trace] Transfer-Encoding: chunked
    [trace] Content-Type: application/xml; charset=utf-8
    [trace] OkHttp-Sent-Millis: 1458936951079
    [trace] OkHttp-Received-Millis: 1458936951112
    [trace] <?xml version="1.0" encoding="utf-8"?>
    [trace] <d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
    [trace]   <s:exception>Sabre_DAV_Exception_NotAuthenticated</s:exception>
    [trace]   <s:message>Username or password does not match</s:message>
    [trace]   <s:sabredav-version>1.7.1</s:sabredav-version>
    [trace] </d:error>
    [trace] <-- END HTTP (284-byte body)
    [debug] Couldn't determine <current-user-principal> from well-known caldav path - EXCEPTION:
    at.bitfire.dav4android.exception.UnauthorizedException: 401 Unauthorized
    	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:271)
    	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:286)
    	at at.bitfire.dav4android.DavResource.propfind(DavResource.java:250)
    	at at.bitfire.davdroid.resource.DavResourceFinder.getCurrentUserPrincipal(DavResourceFinder.java:444)
    	at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:179)
    	at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:86)
    	at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:164)
    	at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:142)
    	at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:312)
    	at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:69)
    	at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:66)
    	at android.os.AsyncTask$2.call(AsyncTask.java:295)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    	at java.lang.Thread.run(Thread.java:818)
    at.bitfire.dav4android.exception.UnauthorizedException: 401 Unauthorized
    at.bitfire.dav4android.exception.UnauthorizedException: 401 Unauthorized
    	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:271)
    	at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:286)
    	at at.bitfire.dav4android.DavResource.propfind(DavResource.java:250)
    	at at.bitfire.davdroid.resource.DavResourceFinder.getCurrentUserPrincipal(DavResourceFinder.java:444)
    	at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:179)
    	at at.bitfire.davdroid.resource.DavResourceFinder.findResources(DavResourceFinder.java:86)
    	at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:164)
    	at at.bitfire.davdroid.ui.setup.QueryServerDialogFragment$ServerInfoLoader.loadInBackground(QueryServerDialogFragment.java:142)
    	at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:312)
    	at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:69)
    	at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:66)
    	at android.os.AsyncTask$2.call(AsyncTask.java:295)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    	at java.lang.Thread.run(Thread.java:818)
    [info ] No principal URL yet, trying SRV/TXT records with domain posteo.de
    [debug] Looking up SRV records for _caldavs._tcp.posteo.de
    
    SOFTWARE INFORMATION
    DAVdroid version: 0.9.1.3 (87) Sun Jan 03 08:04:57 GMT+01:00 2016
    Installed from: org.fdroid.fdroid
    JB Workaround installed: no
    
    CONFIGURATION
    System-wide synchronization: automatically
    
    SYSTEM INFORMATION
    Android version: 6.0.1 (cm_mako-userdebug 6.0.1 MMB29V e1791894eb test-keys)
    Device: LGE Nexus 4 (mako)
    

  • developer

    @smily01 said:

    [trace] <s:message>Username or password does not match</s:message>

    According to your logs, user name and/or password are incorrect. Did you use your Posteo email address, but without @posteo.de as user name?



  • The problem is solved. Thank you very much!


Log in to reply
 

Looks like your connection to Bitfire App Forums was lost, please wait while we try to reconnect.