Duplicate of #48
No connection using SSL (trusted certificate)
-
Hi,
I’ve got a working Baikal server with a DavDroid account using basic authentication. However, when using ssl I get the error:Missing capabilities: Invalid DAV response: Couldn't determine principle path (RFC 5397)
If you want to try, I made a test account. Due to issues with apache PHP via CGI, as used by my hoster, only basic authentication works:
Settings:http url: dav.bamax.nl/card.php For correct certificate use for https: https url: cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php username: test password: test Enable preemptive authentication
-
Without logs, I can only guess your server assumes
/
as its root path and not/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php
, thus sending wrong relative paths. This would be a misconfiguration of your server. -
Hi,
At a test server it did work without root being /
But it is a good suggestion. I’ll try to setup my test server with this huge URL as well and see what happens.
Thanks for your quick response. Hope to get this running soon using the server setup of my hoster (with all the limitations:-(-------- Original message --------
From: rfc2822 notifications@github.com
Date:11/03/2014 10:28 (GMT+01:00)
To: rfc2822/davdroid davdroid@noreply.github.com
Cc: Ruben Marsman info@bamax.nl
Subject: Re: [davdroid] No connection using SSL (trusted certificate) (#195)Without logs, I can only guess your server assumes / as its root path and not /ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php, thus sending wrong relative paths. This would be a misconfiguration of your server.
—
Reply to this email directly or view it on GitHub. -
I have now tried out and it’s the problem I have mentioned.
cat <<EOF <?xml version="1.0" encoding="utf-8" ?> <propfind xmlns="DAV:"> <prop> <current-user-principal/> </prop> </propfind> EOF curl -vX PROPFIND --data @1.xml -u test:test https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php
returns
<?xml version="1.0" ?> <d:multistatus xmlns:card="urn:ietf:params:xml:ns:carddav" xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns"> <d:response> <d:href> /card.php/ </d:href> <d:propstat> <d:prop> <d:current-user-principal> <d:href> /card.php/principals/test/ </d:href> </d:current-user-principal> </d:prop> <d:status> HTTP/1.1 200 OK </d:status> </d:propstat> </d:response> <d:response> <d:href> /card.php/principals/ </d:href> <d:propstat> <d:prop> <d:current-user-principal> <d:href> /card.php/principals/test/ </d:href> </d:current-user-principal> </d:prop> <d:status> HTTP/1.1 200 OK </d:status> </d:propstat> </d:response> <d:response> <d:href> /card.php/addressbooks/ </d:href> <d:propstat> <d:prop> <d:current-user-principal> <d:href> /card.php/principals/test/ </d:href> </d:current-user-principal> </d:prop> <d:status> HTTP/1.1 200 OK </d:status> </d:propstat> </d:response> </d:multistatus>
As you can see, the server returns that the paths are below
/card.php/
and not below/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php
.So, this is server misconfiguration for SSL. Please contact your CardDAV provider, referencing to this issue.
-
Hi,
Thank you for your trouble. I also noticed the problem is not in DavDroid but in the server configuration. There are a number of issues. First the internal paths stored in the php _SERVER variable are wrong in case of the https url. Baikal looks in the wrong folders. For this I made a workaround. Now I at least get a response, as you also found when you tried. But still an issue remains with the href as you said.
I noticed the https url is redirected twice. Baikal can’t see the original url anymore after the 2nd redirect. I try to ‘hardcode’ the url to get it working at least for my setup.
Again thanks for you trouble and insight. -
I fixed the response url for my setup. The responses look fine now and DavDroid can create the account. However, I don’t see any contacts after a sync and during a forced synchronization (under account settings) I see a text flashing very shortly that there are problems.
I’ve tried with two other clients and they seem to work fine:
- on windows : eM Client
- on android : CardDav
Looking deeper into the issue, the behavior becomes even more strange.
The test account works, but my own accounts don’t. I tried to figure out which contact caused the issue but there is none.
It seems that when more than 3 contacts are new / or need to be synchronized it goes wrong. When adding them one by one, between each synchronize, it works well.I find this behaviour a bit strange. DavDroid worked fine with these accounts using the short http url.
Do you have any idea what could be wrong or have some suggestions how to tackle this?
Is there a log file to be accessed on non-rooted devices? -
Here’s how to view the logs: https://github.com/rfc2822/davdroid/wiki/How-to-view-the-logs
Can you have a look and see what is wrong, or post the relevant entries here? -
I’m currentlly on holiday and not physically near my computer to attach my tablet or phone with an USB cable:-). Maybe next week.
-
For now, I made a log with OS monitor. Maybe this helps.
2014-03-17 01:38:44,INFORMATION,davdroid.DavSyncAdapter,Performing sync for authority com.android.contacts 2014-03-17 01:38:44,INFORMATION,davdroid.WebDavResource,Using preemptive authentication (not compatible with Digest auth) 2014-03-17 01:38:44,INFORMATION,davdroid.SyncManager,Remotely removing 0 deleted resource(s) (if not changed) 2014-03-17 01:38:44,INFORMATION,davdroid.SyncManager,Uploading 0 new resource(s) (if not existing) 2014-03-17 01:38:44,INFORMATION,davdroid.SyncManager,Uploading 0 modified resource(s) (if not changed) 2014-03-17 01:38:44,DEBUG,davdroid.HttpPropfind,Prepared PROPFIND request for https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/: <propfind xmlns="DAV:"> <prop> <CS:getctag xmlns:CS="http://calendarserver.org/ns/"/> </prop> </propfind> 2014-03-17 01:38:44,DEBUG,davdroid.SNISocketFactory,Setting SNI hostname 2014-03-17 01:38:44,INFORMATION,davdroid.SNISocketFactory,Established TLSv1 connection with cp.mijnreus.nl using TLS_RSA_WITH_AES_128_CBC_SHA 2014-03-17 01:38:45,DEBUG,davdroid.WebDavResource,Received HTTP/1.1 207 Multi-Status 2014-03-17 01:38:45,DEBUG,davdroid.WebDavResource,Processing multi-status element: https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/ 2014-03-17 01:38:45,DEBUG,davdroid.WebDavResource,<?xml version="1.0" encoding="utf-8"?> <d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:card="urn:ietf:params:xml:ns:carddav"><d:response><d:href>/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/</d:href><d:propstat><d:prop><x3:getctag xmlns:x3="http://calendarserver.org/ns/">89</x3:getctag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response></d:multistatus> 2014-03-17 01:38:45,DEBUG,davdroid.SyncManager,Last local CTag = 83; current remote CTag = 89 2014-03-17 01:38:45,INFORMATION,davdroid.SyncManager,Fetching remote resource list 2014-03-17 01:38:45,DEBUG,davdroid.HttpPropfind,Prepared PROPFIND request for https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/: <propfind xmlns="DAV:"> <prop> <CS:getctag xmlns:CS="http://calendarserver.org/ns/"/> <getetag/> </prop> </propfind> 2014-03-17 01:38:45,DEBUG,davdroid.WebDavResource,Received HTTP/1.1 207 Multi-Status 2014-03-17 01:38:45,DEBUG,davdroid.WebDavResource,Processing multi-status element: https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/ 2014-03-17 01:38:45,DEBUG,davdroid.WebDavResource,Processing multi-status element: https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/c029667e-9425-476f-8b0f-72b4b202a4dd.vcf 2014-03-17 01:38:45,DEBUG,davdroid.WebDavResource,Processing multi-status element: https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/00e1cf65-18b9-473f-8b7a-1458c9e88e9e.vcf 2014-03-17 01:38:45,DEBUG,davdroid.WebDavResource,Processing multi-status element: https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/dd831881-7d68-4f44-b0ab-4554d3bbe5a6.vcf 2014-03-17 01:38:45,DEBUG,davdroid.WebDavResource,Processing multi-status element: https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/7c087d79-72a1-45db-836f-14a8788aa841.vcf 2014-03-17 01:38:45,DEBUG,davdroid.WebDavResource,Processing multi-status element: https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/2774375b-dfb1-4d18-aa3f-ce224963cc4b.vcf 2014-03-17 01:38:45,DEBUG,davdroid.WebDavResource,Processing multi-status element: https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/99b0745d-0f50-438c-a199-16af7376ebab.vcf 2014-03-17 01:38:45,DEBUG,davdroid.WebDavResource,Processing multi-status element: https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/b8778a45-228e-4631-8383-1d9d1fbddf77.vcf 2014-03-17 01:38:45,DEBUG,davdroid.WebDavResource,Processing multi-status element: https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/899f5d25-c625-49c9-b8c6-377f67d88689.vcf 2014-03-17 01:38:45,DEBUG,davdroid.WebDavResource,<?xml version="1.0" encoding="utf-8"?> <d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:card="urn:ietf:params:xml:ns:carddav"><d:response><d:href>/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/</d:href><d:propstat><d:prop><x3:getctag xmlns:x3="http://calendarserver.org/ns/">89</x3:getctag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><d:getetag/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/c029667e-9425-476f-8b0f-72b4b202a4dd.vcf</d:href><d:propstat><d:prop><d:getetag>"9b40d92e54a29176e6a021f7c8e9fa26"</d:getetag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><x3:getctag xmlns:x3="http://calendarserver.org/ns/"/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/ssl/81/www.s100757… 2014-03-17 01:38:45,INFORMATION,davdroid.SyncManager,Fetching 5 new remote resource(s) 2014-03-17 01:38:45,INFORMATION,davdroid.RemoteCollection,Multi-getting 5 remote resource(s) 2014-03-17 01:38:45,DEBUG,DavHttpReport,Prepared REPORT request for https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/: <CD:addressbook-multiget xmlns:CD="urn:ietf:params:xml:ns:carddav" xmlns="DAV:"> <prop> <CD:address-data/> <getetag/> </prop> <href>/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/99b0745d-0f50-438c-a199-16af7376ebab.vcf</href> <href>/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/2774375b-dfb1-4d18-aa3f-ce224963cc4b.vcf</href> <href>/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/899f5d25-c625-49c9-b8c6-377f67d88689.vcf</href> <href>/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/b8778a45-228e-4631-8383-1d9d1fbddf77.vcf</href> <href>/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/7c087d79-72a1-45db-836f-14a8788aa841.vcf</href> </CD:addressbook-multiget> 2014-03-17 01:38:46,DEBUG,davdroid.WebDavResource,Received HTTP/1.1 403 Forbidden 2014-03-17 01:38:46,ERROR,davdroid.DavSyncAdapter,HTTP error org.apache.http.HttpException: 403 Forbidden at at.bitfire.davdroid.webdav.WebDavResource.checkResponse(WebDavResource.java:380) at at.bitfire.davdroid.webdav.WebDavResource.checkResponse(WebDavResource.java:360) at at.bitfire.davdroid.webdav.WebDavResource.multiGet(WebDavResource.java:278) at at.bitfire.davdroid.resource.RemoteCollection.multiGet(RemoteCollection.java:86) at at.bitfire.davdroid.syncadapter.SyncManager.pullNew(SyncManager.java:183) at at.bitfire.davdroid.syncadapter.SyncManager.synchronize(SyncManager.java:88) at at.bitfire.davdroid.syncadapter.DavSyncAdapter.onPerformSync(DavSyncAdapter.java:71) at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:254) 2014-03-17 01:38:46,DEBUG,SyncManager,failed sync operation test u0 (bitfire.at.davdroid), com.android.contacts, LOCAL, earliestRunTime 66012, SyncResult: stats [ numIoExceptions: 1] 2014-03-17 01:38:46,DEBUG,SyncManager,retrying sync operation as a two-way sync because an upload-only sync encountered an error: test u0 (bitfire.at.davdroid), com.android.contacts, LOCAL, earliestRunTime 81000 2014-03-17 01:38:46,INFORMATION,ActivityThread,Pub org.dmfs.carddav.sync.pendingmemberships: org.dmfs.contacts.providers.PendingMembershipProvider 2014-03-17 01:38:47,INFORMATION,org.dmfs.carddav.syncadapter.SyncAdapter,using synctoken: 89 2014-03-17 01:38:47,VERBOSE,org.dmfs.carddav.syncadapter.SyncAdapter,Syncing https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/ test 2014-03-17 01:38:48,VERBOSE,org.dmfs.dav.methods.DavOptions,Code : 200 2014-03-17 01:38:48,DEBUG,org.dmfs.dav.CardDav,supported report: principal-search-property-set 2014-03-17 01:38:48,DEBUG,org.dmfs.dav.CardDav,supported report: addressbook-query 2014-03-17 01:38:48,DEBUG,org.dmfs.dav.CardDav,supported report: expand-property 2014-03-17 01:38:48,DEBUG,org.dmfs.dav.CardDav,supported report: addressbook-multiget 2014-03-17 01:38:48,DEBUG,org.dmfs.dav.CardDav,supported report: principal-property-search 2014-03-17 01:38:48,DEBUG,org.dmfs.dav.CardDav,getctag: 89 2014-03-17 01:38:48,DEBUG,org.dmfs.dav.CardDav,found privilege read-current-user-privilege-set 2014-03-17 01:38:48,DEBUG,org.dmfs.dav.CardDav,found privilege unlock 2014-03-17 01:38:48,DEBUG,org.dmfs.dav.CardDav,found privilege write-properties 2014-03-17 01:38:48,DEBUG,org.dmfs.dav.CardDav,found privilege write-content 2014-03-17 01:38:48,DEBUG,org.dmfs.dav.CardDav,found privilege read-acl 2014-03-17 01:38:48,DEBUG,org.dmfs.dav.CardDav,found privilege write 2014-03-17 01:38:48,DEBUG,org.dmfs.dav.CardDav,found privilege read 2014-03-17 01:38:48,DEBUG,org.dmfs.dav.CardDav,found privilege unbind 2014-03-17 01:38:48,DEBUG,org.dmfs.dav.CardDav,found privilege bind 2014-03-17 01:38:48,DEBUG,org.dmfs.dav.CardDav,found privilege write-acl 2014-03-17 01:38:48,INFORMATION,org.dmfs.carddav.syncadapter.SyncAdapter,no changes on remote address book, faking sync-collection 2014-03-17 01:38:48,VERBOSE,org.dmfs.carddav.authenticator.Authenticator,org.dmfs.carddav.account 2014-03-17 01:38:48,VERBOSE,org.dmfs.carddav.authenticator.Authenticator,org.dmfs.carddav.account 2014-03-17 01:38:49,INFORMATION,org.dmfs.carddav.syncadapter.SyncAdapter,storing synctoken: 89 2014-03-17 01:38:49,INFORMATION,org.dmfs.carddav.syncadapter.SyncAdapter,using synctoken: 89 2014-03-17 01:38:50,VERBOSE,org.dmfs.carddav.syncadapter.SyncAdapter,Syncing https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/ test 2014-03-17 01:38:50,VERBOSE,org.dmfs.dav.methods.DavOptions,Code : 200 2014-03-17 01:38:50,DEBUG,org.dmfs.dav.CardDav,supported report: principal-search-property-set 2014-03-17 01:38:50,DEBUG,org.dmfs.dav.CardDav,supported report: addressbook-query 2014-03-17 01:38:50,DEBUG,org.dmfs.dav.CardDav,supported report: expand-property 2014-03-17 01:38:50,DEBUG,org.dmfs.dav.CardDav,supported report: addressbook-multiget 2014-03-17 01:38:50,DEBUG,org.dmfs.dav.CardDav,supported report: principal-property-search 2014-03-17 01:38:50,DEBUG,org.dmfs.dav.CardDav,getctag: 89 2014-03-17 01:38:50,DEBUG,org.dmfs.dav.CardDav,found privilege read-current-user-privilege-set 2014-03-17 01:38:50,DEBUG,org.dmfs.dav.CardDav,found privilege unlock 2014-03-17 01:38:50,DEBUG,org.dmfs.dav.CardDav,found privilege write-properties 2014-03-17 01:38:50,DEBUG,org.dmfs.dav.CardDav,found privilege write-content 2014-03-17 01:38:50,DEBUG,org.dmfs.dav.CardDav,found privilege read-acl 2014-03-17 01:38:50,DEBUG,org.dmfs.dav.CardDav,found privilege write 2014-03-17 01:38:50,DEBUG,org.dmfs.dav.CardDav,found privilege read 2014-03-17 01:38:50,DEBUG,org.dmfs.dav.CardDav,found privilege unbind 2014-03-17 01:38:50,DEBUG,org.dmfs.dav.CardDav,found privilege bind 2014-03-17 01:38:50,DEBUG,org.dmfs.dav.CardDav,found privilege write-acl 2014-03-17 01:38:50,INFORMATION,org.dmfs.carddav.syncadapter.SyncAdapter,no changes on remote address book, faking sync-collection 2014-03-17 01:38:50,VERBOSE,org.dmfs.carddav.authenticator.Authenticator,org.dmfs.carddav.account 2014-03-17 01:38:50,VERBOSE,org.dmfs.carddav.authenticator.Authenticator,org.dmfs.carddav.account 2014-03-17 01:38:52,INFORMATION,org.dmfs.carddav.syncadapter.SyncAdapter,storing synctoken: 89 2014-03-17 01:39:16,INFORMATION,ActivityThread,Pub org.dmfs.carddav.sync.pendingmemberships: org.dmfs.contacts.providers.PendingMembershipProvider 2014-03-17 01:39:16,VERBOSE,org.dmfs.carddav.authenticator.Authenticator,org.dmfs.carddav.account 2014-03-17 01:39:16,VERBOSE,org.dmfs.carddav.syncadapter.BootBroadcastReceiver,enable auto sync for Default Address Book 2014-03-17 01:39:19,INFORMATION,davdroid.DavSyncAdapter,Performing sync for authority com.android.contacts 2014-03-17 01:39:20,INFORMATION,davdroid.WebDavResource,Using preemptive authentication (not compatible with Digest auth) 2014-03-17 01:39:20,INFORMATION,davdroid.SyncManager,Remotely removing 0 deleted resource(s) (if not changed) 2014-03-17 01:39:20,INFORMATION,davdroid.SyncManager,Uploading 0 new resource(s) (if not existing) 2014-03-17 01:39:20,INFORMATION,davdroid.SyncManager,Uploading 0 modified resource(s) (if not changed) 2014-03-17 01:39:20,DEBUG,davdroid.HttpPropfind,Prepared PROPFIND request for https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/: <propfind xmlns="DAV:"> <prop> <CS:getctag xmlns:CS="http://calendarserver.org/ns/"/> </prop> </propfind> 2014-03-17 01:39:20,DEBUG,davdroid.SNISocketFactory,Setting SNI hostname 2014-03-17 01:39:21,INFORMATION,davdroid.SNISocketFactory,Established TLSv1 connection with cp.mijnreus.nl using TLS_RSA_WITH_AES_128_CBC_SHA 2014-03-17 01:39:21,DEBUG,davdroid.WebDavResource,Received HTTP/1.1 207 Multi-Status 2014-03-17 01:39:21,DEBUG,davdroid.WebDavResource,Processing multi-status element: https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/ 2014-03-17 01:39:21,DEBUG,davdroid.WebDavResource,<?xml version="1.0" encoding="utf-8"?> <d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:card="urn:ietf:params:xml:ns:carddav"><d:response><d:href>/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/</d:href><d:propstat><d:prop><x3:getctag xmlns:x3="http://calendarserver.org/ns/">89</x3:getctag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response></d:multistatus> 2014-03-17 01:39:21,DEBUG,davdroid.SyncManager,Last local CTag = 83; current remote CTag = 89 2014-03-17 01:39:21,INFORMATION,davdroid.SyncManager,Fetching remote resource list 2014-03-17 01:39:21,DEBUG,davdroid.HttpPropfind,Prepared PROPFIND request for https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/: <propfind xmlns="DAV:"> <prop> <CS:getctag xmlns:CS="http://calendarserver.org/ns/"/> <getetag/> </prop> </propfind> 2014-03-17 01:39:21,DEBUG,davdroid.WebDavResource,Received HTTP/1.1 207 Multi-Status 2014-03-17 01:39:22,DEBUG,davdroid.WebDavResource,Processing multi-status element: https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/ 2014-03-17 01:39:22,DEBUG,davdroid.WebDavResource,Processing multi-status element: https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/c029667e-9425-476f-8b0f-72b4b202a4dd.vcf 2014-03-17 01:39:22,DEBUG,davdroid.WebDavResource,Processing multi-status element: https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/00e1cf65-18b9-473f-8b7a-1458c9e88e9e.vcf 2014-03-17 01:39:22,DEBUG,davdroid.WebDavResource,Processing multi-status element: https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/dd831881-7d68-4f44-b0ab-4554d3bbe5a6.vcf 2014-03-17 01:39:22,DEBUG,davdroid.WebDavResource,Processing multi-status element: https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/7c087d79-72a1-45db-836f-14a8788aa841.vcf 2014-03-17 01:39:22,DEBUG,davdroid.WebDavResource,Processing multi-status element: https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/2774375b-dfb1-4d18-aa3f-ce224963cc4b.vcf 2014-03-17 01:39:22,DEBUG,davdroid.WebDavResource,Processing multi-status element: https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/99b0745d-0f50-438c-a199-16af7376ebab.vcf 2014-03-17 01:39:22,DEBUG,davdroid.WebDavResource,Processing multi-status element: https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/b8778a45-228e-4631-8383-1d9d1fbddf77.vcf 2014-03-17 01:39:22,DEBUG,davdroid.WebDavResource,Processing multi-status element: https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/899f5d25-c625-49c9-b8c6-377f67d88689.vcf 2014-03-17 01:39:22,DEBUG,davdroid.WebDavResource,<?xml version="1.0" encoding="utf-8"?> <d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:card="urn:ietf:params:xml:ns:carddav"><d:response><d:href>/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/</d:href><d:propstat><d:prop><x3:getctag xmlns:x3="http://calendarserver.org/ns/">89</x3:getctag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><d:getetag/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/c029667e-9425-476f-8b0f-72b4b202a4dd.vcf</d:href><d:propstat><d:prop><d:getetag>"9b40d92e54a29176e6a021f7c8e9fa26"</d:getetag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><x3:getctag xmlns:x3="http://calendarserver.org/ns/"/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/ssl/81/www.s100757… 2014-03-17 01:39:22,INFORMATION,davdroid.SyncManager,Fetching 5 new remote resource(s) 2014-03-17 01:39:22,INFORMATION,davdroid.RemoteCollection,Multi-getting 5 remote resource(s) 2014-03-17 01:39:22,DEBUG,DavHttpReport,Prepared REPORT request for https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/: <CD:addressbook-multiget xmlns:CD="urn:ietf:params:xml:ns:carddav" xmlns="DAV:"> <prop> <CD:address-data/> <getetag/> </prop> <href>/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/b8778a45-228e-4631-8383-1d9d1fbddf77.vcf</href> <href>/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/899f5d25-c625-49c9-b8c6-377f67d88689.vcf</href> <href>/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/99b0745d-0f50-438c-a199-16af7376ebab.vcf</href> <href>/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/2774375b-dfb1-4d18-aa3f-ce224963cc4b.vcf</href> <href>/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/7c087d79-72a1-45db-836f-14a8788aa841.vcf</href> </CD:addressbook-multiget> 2014-03-17 01:39:22,DEBUG,davdroid.WebDavResource,Received HTTP/1.1 403 Forbidden 2014-03-17 01:39:22,ERROR,davdroid.DavSyncAdapter,HTTP error org.apache.http.HttpException: 403 Forbidden at at.bitfire.davdroid.webdav.WebDavResource.checkResponse(WebDavResource.java:380) at at.bitfire.davdroid.webdav.WebDavResource.checkResponse(WebDavResource.java:360) at at.bitfire.davdroid.webdav.WebDavResource.multiGet(WebDavResource.java:278) at at.bitfire.davdroid.resource.RemoteCollection.multiGet(RemoteCollection.java:86) at at.bitfire.davdroid.syncadapter.SyncManager.pullNew(SyncManager.java:183) at at.bitfire.davdroid.syncadapter.SyncManager.synchronize(SyncManager.java:88) at at.bitfire.davdroid.syncadapter.DavSyncAdapter.onPerformSync(DavSyncAdapter.java:71) at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:254) 2014-03-17 01:39:22,DEBUG,SyncManager,failed sync operation test u0 (bitfire.at.davdroid), com.android.contacts, LOCAL, earliestRunTime 81000, SyncResult: stats [ numIoExceptions: 1] 2014-03-17 01:40:22,INFORMATION,davdroid.DavSyncAdapter,Performing sync for authority com.android.contacts 2014-03-17 01:40:22,INFORMATION,davdroid.WebDavResource,Using preemptive authentication (not compatible with Digest auth) 2014-03-17 01:40:22,INFORMATION,davdroid.SyncManager,Remotely removing 0 deleted resource(s) (if not changed) 2014-03-17 01:40:22,INFORMATION,davdroid.SyncManager,Uploading 0 new resource(s) (if not existing) 2014-03-17 01:40:22,INFORMATION,davdroid.SyncManager,Uploading 0 modified resource(s) (if not changed) 2014-03-17 01:40:22,DEBUG,davdroid.HttpPropfind,Prepared PROPFIND request for https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/: <propfind xmlns="DAV:"> <prop> <CS:getctag xmlns:CS="http://calendarserver.org/ns/"/> </prop> </propfind> 2014-03-17 01:40:22,DEBUG,davdroid.SNISocketFactory,Setting SNI hostname 2014-03-17 01:40:22,INFORMATION,davdroid.SNISocketFactory,Established TLSv1 connection with cp.mijnreus.nl using TLS_RSA_WITH_AES_128_CBC_SHA 2014-03-17 01:40:22,DEBUG,davdroid.WebDavResource,Received HTTP/1.1 207 Multi-Status 2014-03-17 01:40:23,DEBUG,davdroid.WebDavResource,Processing multi-status element: https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/ 2014-03-17 01:40:23,DEBUG,davdroid.WebDavResource,<?xml version="1.0" encoding="utf-8"?> <d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:card="urn:ietf:params:xml:ns:carddav"><d:response><d:href>/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/</d:href><d:propstat><d:prop><x3:getctag xmlns:x3="http://calendarserver.org/ns/">89</x3:getctag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response></d:multistatus> 2014-03-17 01:40:23,DEBUG,davdroid.SyncManager,Last local CTag = 83; current remote CTag = 89 2014-03-17 01:40:23,INFORMATION,davdroid.SyncManager,Fetching remote resource list 2014-03-17 01:40:23,DEBUG,davdroid.HttpPropfind,Prepared PROPFIND request for https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/: <propfind xmlns="DAV:"> <prop> <CS:getctag xmlns:CS="http://calendarserver.org/ns/"/> <getetag/> </prop> </propfind> 2014-03-17 01:40:23,DEBUG,davdroid.WebDavResource,Received HTTP/1.1 207 Multi-Status 2014-03-17 01:40:23,DEBUG,davdroid.WebDavResource,Processing multi-status element: https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/ 2014-03-17 01:40:23,DEBUG,davdroid.WebDavResource,Processing multi-status element: https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/c029667e-9425-476f-8b0f-72b4b202a4dd.vcf 2014-03-17 01:40:23,DEBUG,davdroid.WebDavResource,Processing multi-status element: https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/00e1cf65-18b9-473f-8b7a-1458c9e88e9e.vcf 2014-03-17 01:40:23,DEBUG,davdroid.WebDavResource,Processing multi-status element: https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/dd831881-7d68-4f44-b0ab-4554d3bbe5a6.vcf 2014-03-17 01:40:23,DEBUG,davdroid.WebDavResource,Processing multi-status element: https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/7c087d79-72a1-45db-836f-14a8788aa841.vcf 2014-03-17 01:40:23,DEBUG,davdroid.WebDavResource,Processing multi-status element: https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/2774375b-dfb1-4d18-aa3f-ce224963cc4b.vcf 2014-03-17 01:40:23,DEBUG,davdroid.WebDavResource,Processing multi-status element: https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/99b0745d-0f50-438c-a199-16af7376ebab.vcf 2014-03-17 01:40:23,DEBUG,davdroid.WebDavResource,Processing multi-status element: https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/b8778a45-228e-4631-8383-1d9d1fbddf77.vcf 2014-03-17 01:40:23,DEBUG,davdroid.WebDavResource,Processing multi-status element: https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/899f5d25-c625-49c9-b8c6-377f67d88689.vcf 2014-03-17 01:40:23,DEBUG,davdroid.WebDavResource,<?xml version="1.0" encoding="utf-8"?> <d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:card="urn:ietf:params:xml:ns:carddav"><d:response><d:href>/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/</d:href><d:propstat><d:prop><x3:getctag xmlns:x3="http://calendarserver.org/ns/">89</x3:getctag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><d:getetag/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/c029667e-9425-476f-8b0f-72b4b202a4dd.vcf</d:href><d:propstat><d:prop><d:getetag>"9b40d92e54a29176e6a021f7c8e9fa26"</d:getetag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><x3:getctag xmlns:x3="http://calendarserver.org/ns/"/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/ssl/81/www.s100757… 2014-03-17 01:40:23,INFORMATION,davdroid.SyncManager,Fetching 5 new remote resource(s) 2014-03-17 01:40:23,INFORMATION,davdroid.RemoteCollection,Multi-getting 5 remote resource(s) 2014-03-17 01:40:23,DEBUG,DavHttpReport,Prepared REPORT request for https://cp.mijnreus.nl/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/: <CD:addressbook-multiget xmlns:CD="urn:ietf:params:xml:ns:carddav" xmlns="DAV:"> <prop> <CD:address-data/> <getetag/> </prop> <href>/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/899f5d25-c625-49c9-b8c6-377f67d88689.vcf</href> <href>/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/99b0745d-0f50-438c-a199-16af7376ebab.vcf</href> <href>/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/b8778a45-228e-4631-8383-1d9d1fbddf77.vcf</href> <href>/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/2774375b-dfb1-4d18-aa3f-ce224963cc4b.vcf</href> <href>/ssl/81/www.s1007571-15164.mijnreus.nl/dav.bamax.nl/card.php/addressbooks/test/default/7c087d79-72a1-45db-836f-14a8788aa841.vcf</href> </CD:addressbook-multiget> 2014-03-17 01:40:23,DEBUG,davdroid.WebDavResource,Received HTTP/1.1 403 Forbidden 2014-03-17 01:40:23,ERROR,davdroid.DavSyncAdapter,HTTP error org.apache.http.HttpException: 403 Forbidden at at.bitfire.davdroid.webdav.WebDavResource.checkResponse(WebDavResource.java:380) at at.bitfire.davdroid.webdav.WebDavResource.checkResponse(WebDavResource.java:360) at at.bitfire.davdroid.webdav.WebDavResource.multiGet(WebDavResource.java:278) at at.bitfire.davdroid.resource.RemoteCollection.multiGet(RemoteCollection.java:86) at at.bitfire.davdroid.syncadapter.SyncManager.pullNew(SyncManager.java:183) at at.bitfire.davdroid.syncadapter.SyncManager.synchronize(SyncManager.java:88) at at.bitfire.davdroid.syncadapter.DavSyncAdapter.onPerformSync(DavSyncAdapter.java:71) at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:254) 2014-03-17 01:40:23,DEBUG,SyncManager,failed sync operation test u0 (bitfire.at.davdroid), com.android.contacts, SERVER, earliestRunTime 66012, SyncResult: stats [ numIoExceptions: 1]
-
For comparison the log in case it works fine with http and the short url.
I notice that with the short url 8 resouces can be synchronized at once and with the long url 5. Is there a maximum message length that is still exceeded in case of the long url?2014-03-18 09:42:38,INFORMATION,ActivityThread,Pub org.dmfs.carddav.sync.pendingmemberships: org.dmfs.contacts.providers.PendingMembershipProvider 2014-03-18 09:42:39,VERBOSE,org.dmfs.carddav.authenticator.Authenticator,org.dmfs.carddav.account 2014-03-18 09:42:39,VERBOSE,org.dmfs.carddav.syncadapter.BootBroadcastReceiver,enable auto sync for Default Address Book 2014-03-18 09:42:54,INFORMATION,ActivityManager,Displayed at.bitfire.davdroid/.syncadapter.AddAccountActivity: +301ms 2014-03-18 09:43:20,INFORMATION,davdroid.QueryServerDialogFragment,onCreateLoader 2014-03-18 09:43:20,INFORMATION,davdroid.WebDavResource,Using preemptive authentication (not compatible with Digest auth) 2014-03-18 09:43:20,DEBUG,davdroid.WebDavResource,Received HTTP/1.1 200 OK 2014-03-18 09:43:20,DEBUG,davdroid.HttpPropfind,Prepared PROPFIND request for http://dav.bamax.nl/card.php/: <propfind xmlns="DAV:"> <prop> <current-user-principal/> </prop> </propfind> 2014-03-18 09:43:21,DEBUG,davdroid.WebDavResource,Received HTTP/1.1 207 Multi-Status 2014-03-18 09:43:21,DEBUG,davdroid.WebDavResource,Processing multi-status element: http://dav.bamax.nl/card.php/ 2014-03-18 09:43:21,DEBUG,davdroid.WebDavResource,<?xml version="1.0" encoding="utf-8"?> <d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:card="urn:ietf:params:xml:ns:carddav"><d:response><d:href>/card.php/</d:href><d:propstat><d:prop><d:current-user-principal><d:href>/card.php/principals/test/</d:href></d:current-user-principal></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response></d:multistatus> 2014-03-18 09:43:21,INFORMATION,davdroid.ServerInfoLoader,Found principal path: /card.php/principals/test/ 2014-03-18 09:43:21,DEBUG,davdroid.HttpPropfind,Prepared PROPFIND request for http://dav.bamax.nl/card.php/principals/test/: <propfind xmlns="DAV:"> <prop> <CD:addressbook-home-set xmlns:CD="urn:ietf:params:xml:ns:carddav"/> <C:calendar-home-set xmlns:C="urn:ietf:params:xml:ns:caldav"/> </prop> </propfind> 2014-03-18 09:43:21,DEBUG,davdroid.WebDavResource,Received HTTP/1.1 207 Multi-Status 2014-03-18 09:43:21,DEBUG,davdroid.WebDavResource,Processing multi-status element: http://dav.bamax.nl/card.php/principals/test/ 2014-03-18 09:43:21,DEBUG,davdroid.WebDavResource,<?xml version="1.0" encoding="utf-8"?> <d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:card="urn:ietf:params:xml:ns:carddav"><d:response><d:href>/card.php/principals/test/</d:href><d:propstat><d:prop><card:addressbook-home-set><d:href>/card.php/addressbooks/test/</d:href></card:addressbook-home-set></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><x3:calendar-home-set xmlns:x3="urn:ietf:params:xml:ns:caldav"/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response></d:multistatus> 2014-03-18 09:43:21,INFORMATION,davdroid.ServerInfoLoader,Found address book home set: /card.php/addressbooks/test/ 2014-03-18 09:43:21,DEBUG,davdroid.HttpPropfind,Prepared PROPFIND request for http://dav.bamax.nl/card.php/addressbooks/test/: <propfind xmlns="DAV:"> <prop> <CD:addressbook-description xmlns:CD="urn:ietf:params:xml:ns:carddav"/> <A:calendar-color xmlns:A="http://apple.com/ns/ical/"/> <C:calendar-description xmlns:C="urn:ietf:params:xml:ns:caldav"/> <C:calendar-timezone xmlns:C="urn:ietf:params:xml:ns:caldav"/> <displayname/> <resourcetype/> <C:supported-calendar-component-set xmlns:C="urn:ietf:params:xml:ns:caldav"/> </prop> </propfind> 2014-03-18 09:43:21,DEBUG,davdroid.WebDavResource,Received HTTP/1.1 207 Multi-Status 2014-03-18 09:43:21,DEBUG,davdroid.WebDavResource,Processing multi-status element: http://dav.bamax.nl/card.php/addressbooks/test/ 2014-03-18 09:43:21,DEBUG,davdroid.WebDavResource,Processing multi-status element: http://dav.bamax.nl/card.php/addressbooks/test/default/ 2014-03-18 09:43:21,DEBUG,davdroid.WebDavResource,<?xml version="1.0" encoding="utf-8"?> <d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:card="urn:ietf:params:xml:ns:carddav"><d:response><d:href>/card.php/addressbooks/test/</d:href><d:propstat><d:prop><d:resourcetype><d:collection/></d:resourcetype></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><card:addressbook-description/><x3:calendar-color xmlns:x3="http://apple.com/ns/ical/"/><x4:calendar-description xmlns:x4="urn:ietf:params:xml:ns:caldav"/><x4:calendar-timezone xmlns:x4="urn:ietf:params:xml:ns:caldav"/><d:displayname/><x4:supported-calendar-component-set xmlns:x4="urn:ietf:params:xml:ns:caldav"/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/card.php/addressbooks/test/default/</d:href><d:propstat><d:prop><card:addressbook-description>Default Address Book for test</card:addressbook-description><d:displayname>Default Address Book</d:displayname><d:resourcetype><d:collection/><c… 2014-03-18 09:43:21,INFORMATION,davdroid.ServerInfoLoader,Found address book: /card.php/addressbooks/test/default/ 2014-03-18 09:43:30,DEBUG,SyncManager,setIsSyncable: Account {name=test ok, type=bitfire.at.davdroid}, provider com.android.contacts, user 0 -> 1 2014-03-18 09:43:30,DEBUG,SyncManager,setIsSyncable: Account {name=test ok, type=bitfire.at.davdroid}, provider com.android.contacts, user 0 -> 1 2014-03-18 09:43:30,DEBUG,SyncManager,setIsSyncable: Account {name=test ok, type=bitfire.at.davdroid}, provider com.android.calendar, user 0 -> 0 2014-03-18 09:44:06,INFORMATION,davdroid.DavSyncAdapter,Performing sync for authority com.android.contacts 2014-03-18 09:44:06,INFORMATION,davdroid.WebDavResource,Using preemptive authentication (not compatible with Digest auth) 2014-03-18 09:44:06,INFORMATION,davdroid.SyncManager,Remotely removing 0 deleted resource(s) (if not changed) 2014-03-18 09:44:06,INFORMATION,davdroid.SyncManager,Uploading 0 new resource(s) (if not existing) 2014-03-18 09:44:06,INFORMATION,davdroid.SyncManager,Uploading 0 modified resource(s) (if not changed) 2014-03-18 09:44:06,DEBUG,davdroid.HttpPropfind,Prepared PROPFIND request for http://dav.bamax.nl/card.php/addressbooks/test/default/: <propfind xmlns="DAV:"> <prop> <CS:getctag xmlns:CS="http://calendarserver.org/ns/"/> </prop> </propfind> 2014-03-18 09:44:07,DEBUG,davdroid.WebDavResource,Received HTTP/1.1 207 Multi-Status 2014-03-18 09:44:07,DEBUG,davdroid.WebDavResource,Processing multi-status element: http://dav.bamax.nl/card.php/addressbooks/test/default/ 2014-03-18 09:44:07,DEBUG,davdroid.WebDavResource,<?xml version="1.0" encoding="utf-8"?> <d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:card="urn:ietf:params:xml:ns:carddav"><d:response><d:href>/card.php/addressbooks/test/default/</d:href><d:propstat><d:prop><x3:getctag xmlns:x3="http://calendarserver.org/ns/">89</x3:getctag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response></d:multistatus> 2014-03-18 09:44:07,DEBUG,davdroid.SyncManager,Last local CTag = null; current remote CTag = 89 2014-03-18 09:44:07,INFORMATION,davdroid.SyncManager,Fetching remote resource list 2014-03-18 09:44:07,DEBUG,davdroid.HttpPropfind,Prepared PROPFIND request for http://dav.bamax.nl/card.php/addressbooks/test/default/: <propfind xmlns="DAV:"> <prop> <CS:getctag xmlns:CS="http://calendarserver.org/ns/"/> <getetag/> </prop> </propfind> 2014-03-18 09:44:07,DEBUG,davdroid.WebDavResource,Received HTTP/1.1 207 Multi-Status 2014-03-18 09:44:07,DEBUG,davdroid.WebDavResource,Processing multi-status element: http://dav.bamax.nl/card.php/addressbooks/test/default/ 2014-03-18 09:44:07,DEBUG,davdroid.WebDavResource,Processing multi-status element: http://dav.bamax.nl/card.php/addressbooks/test/default/c029667e-9425-476f-8b0f-72b4b202a4dd.vcf 2014-03-18 09:44:07,DEBUG,davdroid.WebDavResource,Processing multi-status element: http://dav.bamax.nl/card.php/addressbooks/test/default/00e1cf65-18b9-473f-8b7a-1458c9e88e9e.vcf 2014-03-18 09:44:07,DEBUG,davdroid.WebDavResource,Processing multi-status element: http://dav.bamax.nl/card.php/addressbooks/test/default/dd831881-7d68-4f44-b0ab-4554d3bbe5a6.vcf 2014-03-18 09:44:07,DEBUG,davdroid.WebDavResource,Processing multi-status element: http://dav.bamax.nl/card.php/addressbooks/test/default/7c087d79-72a1-45db-836f-14a8788aa841.vcf 2014-03-18 09:44:07,DEBUG,davdroid.WebDavResource,Processing multi-status element: http://dav.bamax.nl/card.php/addressbooks/test/default/2774375b-dfb1-4d18-aa3f-ce224963cc4b.vcf 2014-03-18 09:44:07,DEBUG,davdroid.WebDavResource,Processing multi-status element: http://dav.bamax.nl/card.php/addressbooks/test/default/99b0745d-0f50-438c-a199-16af7376ebab.vcf 2014-03-18 09:44:07,DEBUG,davdroid.WebDavResource,Processing multi-status element: http://dav.bamax.nl/card.php/addressbooks/test/default/b8778a45-228e-4631-8383-1d9d1fbddf77.vcf 2014-03-18 09:44:07,DEBUG,davdroid.WebDavResource,Processing multi-status element: http://dav.bamax.nl/card.php/addressbooks/test/default/899f5d25-c625-49c9-b8c6-377f67d88689.vcf 2014-03-18 09:44:07,DEBUG,davdroid.WebDavResource,<?xml version="1.0" encoding="utf-8"?> <d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:card="urn:ietf:params:xml:ns:carddav"><d:response><d:href>/card.php/addressbooks/test/default/</d:href><d:propstat><d:prop><x3:getctag xmlns:x3="http://calendarserver.org/ns/">89</x3:getctag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><d:getetag/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/card.php/addressbooks/test/default/c029667e-9425-476f-8b0f-72b4b202a4dd.vcf</d:href><d:propstat><d:prop><d:getetag>"9b40d92e54a29176e6a021f7c8e9fa26"</d:getetag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><x3:getctag xmlns:x3="http://calendarserver.org/ns/"/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/card.php/addressbooks/test/default/00e1cf65-18b9-473f-8b7a-1458c9e88e9e.vcf</d:href><d:propstat><d:prop><d:getetag>"62f8… 2014-03-18 09:44:07,INFORMATION,davdroid.SyncManager,Fetching 8 new remote resource(s) 2014-03-18 09:44:07,INFORMATION,davdroid.RemoteCollection,Multi-getting 8 remote resource(s) 2014-03-18 09:44:07,DEBUG,DavHttpReport,Prepared REPORT request for http://dav.bamax.nl/card.php/addressbooks/test/default/: <CD:addressbook-multiget xmlns:CD="urn:ietf:params:xml:ns:carddav" xmlns="DAV:"> <prop> <CD:address-data/> <getetag/> </prop> <href>/card.php/addressbooks/test/default/7c087d79-72a1-45db-836f-14a8788aa841.vcf</href> <href>/card.php/addressbooks/test/default/c029667e-9425-476f-8b0f-72b4b202a4dd.vcf</href> <href>/card.php/addressbooks/test/default/dd831881-7d68-4f44-b0ab-4554d3bbe5a6.vcf</href> <href>/card.php/addressbooks/test/default/99b0745d-0f50-438c-a199-16af7376ebab.vcf</href> <href>/card.php/addressbooks/test/default/b8778a45-228e-4631-8383-1d9d1fbddf77.vcf</href> <href>/card.php/addressbooks/test/default/2774375b-dfb1-4d18-aa3f-ce224963cc4b.vcf</href> <href>/card.php/addressbooks/test/default/00e1cf65-18b9-473f-8b7a-1458c9e88e9e.vcf</href> <href>/card.php/addressbooks/test/default/899f5d25-c625-49c9-b8c6-377f67d88689.vcf</href> </CD:addressbook-multiget> 2014-03-18 09:44:07,DEBUG,davdroid.WebDavResource,Received HTTP/1.1 207 Multi-Status 2014-03-18 09:44:07,DEBUG,davdroid.WebDavResource,Processing multi-status element: http://dav.bamax.nl/card.php/addressbooks/test/default/7c087d79-72a1-45db-836f-14a8788aa841.vcf 2014-03-18 09:44:07,DEBUG,davdroid.WebDavResource,Processing multi-status element: http://dav.bamax.nl/card.php/addressbooks/test/default/c029667e-9425-476f-8b0f-72b4b202a4dd.vcf 2014-03-18 09:44:07,DEBUG,davdroid.WebDavResource,Processing multi-status element: http://dav.bamax.nl/card.php/addressbooks/test/default/dd831881-7d68-4f44-b0ab-4554d3bbe5a6.vcf 2014-03-18 09:44:07,DEBUG,davdroid.WebDavResource,Processing multi-status element: http://dav.bamax.nl/card.php/addressbooks/test/default/99b0745d-0f50-438c-a199-16af7376ebab.vcf 2014-03-18 09:44:07,DEBUG,davdroid.WebDavResource,Processing multi-status element: http://dav.bamax.nl/card.php/addressbooks/test/default/b8778a45-228e-4631-8383-1d9d1fbddf77.vcf 2014-03-18 09:44:07,DEBUG,davdroid.WebDavResource,Processing multi-status element: http://dav.bamax.nl/card.php/addressbooks/test/default/2774375b-dfb1-4d18-aa3f-ce224963cc4b.vcf 2014-03-18 09:44:07,DEBUG,davdroid.WebDavResource,Processing multi-status element: http://dav.bamax.nl/card.php/addressbooks/test/default/00e1cf65-18b9-473f-8b7a-1458c9e88e9e.vcf 2014-03-18 09:44:07,DEBUG,davdroid.WebDavResource,Processing multi-status element: http://dav.bamax.nl/card.php/addressbooks/test/default/899f5d25-c625-49c9-b8c6-377f67d88689.vcf 2014-03-18 09:44:07,DEBUG,davdroid.WebDavResource,<?xml version="1.0" encoding="utf-8"?> <d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:card="urn:ietf:params:xml:ns:carddav"><d:response><d:href>/card.php/addressbooks/test/default/7c087d79-72a1-45db-836f-14a8788aa841.vcf</d:href><d:propstat><d:prop><card:address-data>BEGIN:VCARD VERSION:3.0 UID:a717539f-afad-419c-9464-45257930c601 N:1;;;; SORT-STRING:1 FN:1 PRODID:-//eM Client/6.0.19861.0 END:VCARD </card:address-data><d:getetag>"71d13d946a61504ebdf41566cbe354ff"</d:getetag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response><d:response><d:href>/card.php/addressbooks/test/default/c029667e-9425-476f-8b0f-72b4b202a4dd.vcf</d:href><d:propstat><d:prop><card:address-data>BEGIN:VCARD VERSION:3.0 BDAY;VALUE=DATE:2014-01-01 N:Test3;;;; FN:Test3 REV:20140316T205241Z UID:c029667e-9425-476f-8b0f-72b4b202a4dd SORT-STRING:Test3 EMAIL;TYPE=HOME:test@test.com TEL;TYPE=CELL:06-… 2014-03-18 09:44:08,DEBUG,davdroid.SyncManager,Adding 7c087d79-72a1-45db-836f-14a8788aa841.vcf 2014-03-18 09:44:08,DEBUG,davdroid.LocalCollection,Committing 2 operations 2014-03-18 09:44:09,DEBUG,davdroid.SyncManager,Adding c029667e-9425-476f-8b0f-72b4b202a4dd.vcf 2014-03-18 09:44:09,DEBUG,davdroid.LocalCollection,Committing 6 operations 2014-03-18 09:44:10,DEBUG,davdroid.SyncManager,Adding dd831881-7d68-4f44-b0ab-4554d3bbe5a6.vcf 2014-03-18 09:44:10,DEBUG,davdroid.LocalCollection,Committing 2 operations 2014-03-18 09:44:11,DEBUG,davdroid.SyncManager,Adding 99b0745d-0f50-438c-a199-16af7376ebab.vcf 2014-03-18 09:44:11,DEBUG,davdroid.LocalCollection,Committing 2 operations 2014-03-18 09:44:12,DEBUG,davdroid.SyncManager,Adding b8778a45-228e-4631-8383-1d9d1fbddf77.vcf 2014-03-18 09:44:12,DEBUG,davdroid.LocalCollection,Committing 2 operations 2014-03-18 09:44:12,DEBUG,davdroid.SyncManager,Adding 2774375b-dfb1-4d18-aa3f-ce224963cc4b.vcf 2014-03-18 09:44:12,DEBUG,davdroid.LocalCollection,Committing 2 operations 2014-03-18 09:44:13,DEBUG,davdroid.SyncManager,Adding 00e1cf65-18b9-473f-8b7a-1458c9e88e9e.vcf 2014-03-18 09:44:13,DEBUG,davdroid.LocalCollection,Committing 2 operations 2014-03-18 09:44:13,DEBUG,davdroid.SyncManager,Adding 899f5d25-c625-49c9-b8c6-377f67d88689.vcf 2014-03-18 09:44:13,DEBUG,davdroid.LocalCollection,Committing 2 operations 2014-03-18 09:44:13,INFORMATION,davdroid.SyncManager,Fetching 0 updated remote resource(s) 2014-03-18 09:44:13,INFORMATION,davdroid.SyncManager,Removing non-dirty resources that are not present remotely anymore 2014-03-18 09:44:13,DEBUG,davdroid.LocalCollection,Committing 1 operations 2014-03-18 09:44:13,INFORMATION,davdroid.SyncManager,Sync complete, fetching new CTag
-
Hi,
You closed the issue, but there was not only a problem at the server side as shown in the logs above. Do I have to create a new issue or can this one be continued?