DavMail

0

DavMail doesn't work with DAVdroid, see https://twitter.com/davdroidapp/status/583948186374561792

Logs:

I/davdroid.SyncManager(15167): Fetching 1 new remote resource(s)
V/davdroid.URIUtils(15167): Normalized URL lol -> lol
E/davdroid.DavSyncAdapter(15167): Hard HTTP error 404
E/davdroid.DavSyncAdapter(15167): at.bitfire.davdroid.webdav.NotFoundException: 404 Not Found
E/davdroid.DavSyncAdapter(15167): 	at at.bitfire.davdroid.webdav.WebDavResource.checkResponse(WebDavResource.java:415)
E/davdroid.DavSyncAdapter(15167): 	at at.bitfire.davdroid.webdav.WebDavResource.checkResponse(WebDavResource.java:393)
E/davdroid.DavSyncAdapter(15167): 	at at.bitfire.davdroid.webdav.WebDavResource.get(WebDavResource.java:343)
E/davdroid.DavSyncAdapter(15167): 	at at.bitfire.davdroid.resource.RemoteCollection.get(RemoteCollection.java:138)
E/davdroid.DavSyncAdapter(15167): 	at at.bitfire.davdroid.resource.RemoteCollection.multiGet(RemoteCollection.java:94)
E/davdroid.DavSyncAdapter(15167): 	at at.bitfire.davdroid.syncadapter.SyncManager.pullNew(SyncManager.java:193)
E/davdroid.DavSyncAdapter(15167): 	at at.bitfire.davdroid.syncadapter.SyncManager.synchronize(SyncManager.java:90)
E/davdroid.DavSyncAdapter(15167): 	at at.bitfire.davdroid.syncadapter.DavSyncAdapter.onPerformSync(DavSyncAdapter.java:146)
E/davdroid.DavSyncAdapter(15167): 	at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:259)
I/davdroid.DavSyncAdapter(15167): Sync complete for com.android.calendar
D/SyncManager( 2275): failed sync operation xxxxxx@students.xxxxx.at u0 (bitfire.at.davdroid), com.android.calendar, USER, latestRunTime 366250168, reason: 1000, SyncResult: stats [ numParseExceptions: 1]
D/SyncManager( 2275): not retrying sync operation because the error is a hard error: xxxxxxx@students.xxxxx.at u0 (bitfire.at.davdroid), com.android.calendar, USER, latestRunTime 366253297, reason: 1000
D/davdroid.DavSyncAdapter(15167): Closing httpClient
Request:

    PROPFIND /users/unterwaditzer07@students.fadi.at/calendar/

    <propfind xmlns="DAV:">
       <prop>
          <CS:getctag xmlns:CS="http://calendarserver.org/ns/"/>
          <getetag/>
       </prop>
    </propfind>

Response:

    <?xml version="1.0" encoding="UTF-8"?>
        <D:multistatus xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:E="urn:ietf:params:xml:ns:carddav">
            <D:response>
                <D:href>/users/xxxxxxxxx@students.xxxxx.at/calendar/</D:href>
                <D:propstat>
                    <D:prop>
                        <D:getetag>2015-01-20T13:49:21Z</D:getetag>
                        <CS:getctag xmlns:CS="http://calendarserver.org/ns/">MjAxNS0wNC0wM1QxNToxODoyMFoyMDE1LTAzLTAzVDE2OjM1OjE0Wg==</CS:getctag>
                    </D:prop>
                    <D:status>HTTP/1.1 200 OK</D:status>
                </D:propstat>
            </D:response>
            <D:response>
                <D:href>/users/xxxxxxx@students.xxxxx.at/calendar/20150403T151816Z-14271_f0be90541167f045.ics</D:href>
                <D:propstat>
                    <D:prop>
                        <D:getetag>2015-04-03T15:18:20Z</D:getetag>
                    </D:prop>
                    <D:status>HTTP/1.1 200 OK</D:status>
                </D:propstat>
            </D:response>
            <D:response>
                <D:href>/users/xxxxxxxxx@students.xxxxx.at/calendar/lol/</D:href>
                <D:propstat>
                    <D:prop>
                        <D:getetag>2015-01-20T13:59:05Z</D:getetag>
                        <CS:getctag xmlns:CS="http://calendarserver.org/ns/">MjAxNS0wMy0wM1QxNjozNToxNFo=</CS:getctag>
                    </D:prop>
                    <D:status>HTTP/1.1 200 OK</D:status>
                </D:propstat>
            </D:response>
        </D:multistatus>

Temporal relations are not necessarily causal relations.

0

The first log is distracting as it includes an exception that is not DAV-related.

0

@untitaker Have updated it now

Temporal relations are not necessarily causal relations.

0

Reposting my comment because the pastebin I used auto-deletes after a while:

You'll probably need the `getcontenttype` property to filter out collections.
0

You'll probably need the getcontenttype property to filter out collections.

DAVdroid 0.8+ uses REPORT instead of PROPFIND, so that collections shouldn't be received. Would like to have that tested with DAVdroid 0.8+.

Temporal relations are not necessarily causal relations.

0

Will try sometime.

0

Calendar and contacts work perfectly, but VTODO seems completely unsupported.

0

I think you can call DavMail supported by DavDroid and close this issue @rfc2822

Log in to reply

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