[horde] Horde CalDAV Sync

Harlan harlan.bloom at gmail.com
Thu Sep 7 16:12:15 UTC 2017


Hello,
   Please bear with me, there are a lot of details below.

   I've been trying to sync my android phone with Horde using CalDAV 
sync and DAVdroid sync.  Both fail.  Below is the log file from my phone 
for DAVdroid.  I've also had no luck with ActiveSync.

   Is there some other app I should be running on my phone?  I prefer 
the free ones.

   What does the "405 Method not found" error mean?  What method is it 
looking for?  Is there something not installed?

   In a web brower I'm able to go to this URL 
https://www.privatedomain.org/webmail/rpc/, enter my username and 
password and see this listing:

------------------------------------------------------------------------
<https://www.bloomenterprises.org/webmail/rpc/principals> 	principals 
<https://www.bloomenterprises.org/webmail/rpc/principals> 	Collection 	
	2017-09-07T16:04:09+00:00
<https://www.bloomenterprises.org/webmail/rpc/calendars> 	calendars 
<https://www.bloomenterprises.org/webmail/rpc/calendars> 	Collection 	
	2017-09-07T16:04:09+00:00
<https://www.bloomenterprises.org/webmail/rpc/addressbooks> 
addressbooks <https://www.bloomenterprises.org/webmail/rpc/addressbooks> 
	Collection 	
	2017-09-07T16:04:09+00:00
<https://www.bloomenterprises.org/webmail/rpc/kronolith> 	kronolith 
<https://www.bloomenterprises.org/webmail/rpc/kronolith> 	Collection 	
	2017-09-07T16:04:09+00:00
<https://www.bloomenterprises.org/webmail/rpc/turba> 	turba 
<https://www.bloomenterprises.org/webmail/rpc/turba> 	Collection 	
	2017-09-07T16:04:09+00:00
<https://www.bloomenterprises.org/webmail/rpc/nag> 	nag 
<https://www.bloomenterprises.org/webmail/rpc/nag> 	Collection 	
	2017-09-07T16:04:09+00:00
<https://www.bloomenterprises.org/webmail/rpc/ansel> 	ansel 
<https://www.bloomenterprises.org/webmail/rpc/ansel> 	Collection 	
	2017-09-07T16:04:09+00:00
<https://www.bloomenterprises.org/webmail/rpc/whups> 	whups 
<https://www.bloomenterprises.org/webmail/rpc/whups> 	Collection 	
	2017-09-07T16:04:09+00:00
<https://www.bloomenterprises.org/webmail/rpc/gollem> 	gollem 
<https://www.bloomenterprises.org/webmail/rpc/gollem> 	Collection 	
	2017-09-07T16:04:09+00:00


   No matter what I click on, I get the same error:  "The requested URL 
/webmail/rpc/principals was not found on this server."

   I'm running on Debian Jesse, which is reasonably up to date.  I just 
updated Horde using this command:  pear upgrade -a -B -c horde   Now 
running groupware 5.2.21.

If you need any more info, please let me know.

Thank You for your assistance!

Harlan...

Installed packages:
*Horde Groupware Webmail Edition**5.2.21* 	
	
Address BookAddress Book (turba) 
<https://www.bloomenterprises.org/webmail/admin/config/config.php?app=turba>4.2.20 
	SQL DB schema is ready.
	<https://www.bloomenterprises.org/webmail/admin/config/config.php?app=turba>Application is ready.
BookmarksBookmarks (trean) 
<https://www.bloomenterprises.org/webmail/admin/config/config.php?app=trean>1.1.8 
	SQL DB schema is ready.
	<https://www.bloomenterprises.org/webmail/admin/config/config.php?app=trean>Application is ready.
CalendarCalendar (kronolith) 
<https://www.bloomenterprises.org/webmail/admin/config/config.php?app=kronolith>4.2.22 
	SQL DB schema is ready.
	<https://www.bloomenterprises.org/webmail/admin/config/config.php?app=kronolith>Application is ready.
content 2.0.5 	SQL DB schema is ready.
	
File ManagerFile Manager (gollem) 
<https://www.bloomenterprises.org/webmail/admin/config/config.php?app=gollem>3.0.11 
	SQL DB schema is ready.
	<https://www.bloomenterprises.org/webmail/admin/config/config.php?app=gollem>Application is ready.
FiltersFilters (ingo) 
<https://www.bloomenterprises.org/webmail/admin/config/config.php?app=ingo>3.2.15 
	SQL DB schema is ready.
	<https://www.bloomenterprises.org/webmail/admin/config/config.php?app=ingo>Application is ready.
HordeHorde (horde) 
<https://www.bloomenterprises.org/webmail/admin/config/config.php?app=horde>5.2.16 
	
	<https://www.bloomenterprises.org/webmail/admin/config/config.php?app=horde>Application is ready.
InventoryInventory (sesha) 
<https://www.bloomenterprises.org/webmail/admin/config/config.php?app=sesha>1.0.0RC3 
	SQL DB schema is ready.
	<https://www.bloomenterprises.org/webmail/admin/config/config.php?app=sesha>Application is ready.
MailMail (imp) 
<https://www.bloomenterprises.org/webmail/admin/config/config.php?app=imp>6.2.20 
	SQL DB schema is ready.
	<https://www.bloomenterprises.org/webmail/admin/config/config.php?app=imp>Application is ready.
NotesNotes (mnemo) 
<https://www.bloomenterprises.org/webmail/admin/config/config.php?app=mnemo>4.2.12 
	SQL DB schema is ready.
	<https://www.bloomenterprises.org/webmail/admin/config/config.php?app=mnemo>Application is ready.
PhotosPhotos (ansel) 
<https://www.bloomenterprises.org/webmail/admin/config/config.php?app=ansel>3.0.7 
	SQL DB schema is ready.
	<https://www.bloomenterprises.org/webmail/admin/config/config.php?app=ansel>Application is ready.
TasksTasks (nag) 
<https://www.bloomenterprises.org/webmail/admin/config/config.php?app=nag>4.2.16 
	SQL DB schema is ready.
	<https://www.bloomenterprises.org/webmail/admin/config/config.php?app=nag>Application is ready.
TicketsTickets (whups) 
<https://www.bloomenterprises.org/webmail/admin/config/config.php?app=whups>3.0.11 
	SQL DB schema is ready.
	<https://www.bloomenterprises.org/webmail/admin/config/config.php?app=whups>Application is ready.
timeobjects 2.1.3 	
	
WikiWiki (wicked) 
<https://www.bloomenterprises.org/webmail/admin/config/config.php?app=wicked>2.0.7 
	SQL DB schema is ready.
	<https://www.bloomenterprises.org/webmail/admin/config/config.php?app=wicked>Application is ready.
Horde_ActiveSync 	SQL DB schema is ready.
	
Horde_Alarm 	SQL DB schema is ready.
	
Horde_Auth 	SQL DB schema is ready.
	
Horde_Cache 	SQL DB schema is ready.
	
Horde_Core 	SQL DB schema is ready.
	
Horde_Dav 	SQL DB schema is ready.
	
Horde_Group 	SQL DB schema is ready.
	
Horde_History 	SQL DB schema is ready.
	
Horde_Imap_Client 	SQL DB schema is ready.
	
Horde_Lock 	SQL DB schema is ready.
	
Horde_Perms 	SQL DB schema is ready.
	
Horde_Prefs 	SQL DB schema is ready.
	
Horde_Queue 	SQL DB schema is ready.
	
Horde_Service_Weather 	SQL DB schema is ready.
	
Horde_SessionHandler 	SQL DB schema is ready.
	
Horde_SyncMl 	SQL DB schema is ready.
	
Horde_Token 	SQL DB schema is ready.
	
Horde_Vfs 	SQL DB schema is ready.



LOGS:
2017-09-07 10:45:23 3 [ui.setup.DavResourceFinder] Finding initial 
carddav service configuration
2017-09-07 10:45:23 3 [ui.setup.DavResourceFinder] Checking user-given 
URL: https://www.privatedomain.org/webmail/rpc/
2017-09-07 10:45:23 3 [HttpClient$1] --> PROPFIND 
https://www.privatedomain.org/webmail/rpc/ http/1.1
2017-09-07 10:45:23 3 [HttpClient$1] Content-Type: application/xml; 
charset=utf-8
2017-09-07 10:45:23 3 [HttpClient$1] Content-Length: 290
2017-09-07 10:45:23 3 [HttpClient$1] Depth: 0
2017-09-07 10:45:23 3 [HttpClient$1]
2017-09-07 10:45:23 3 [HttpClient$1] <?xml version='1.0' 
encoding='UTF-8' ?><propfind xmlns="DAV:" 
xmlns:CAL="urn:ietf:params:xml:ns:caldav" 
xmlns:CARD="urn:ietf:params:xml:ns:carddav"><prop><resourcetype 
/><displayname /><CARD:addressbook-description 
/><CARD:addressbook-home-set /><current-user-principal /></prop></propfind>
2017-09-07 10:45:23 3 [HttpClient$1] --> END PROPFIND (290-byte body)
2017-09-07 10:45:28 3 [HttpClient$1] <-- 207 Multi-Status 
https://www.privatedomain.org/webmail/rpc/ (5391ms)
2017-09-07 10:45:28 3 [HttpClient$1] Date: Thu, 07 Sep 2017 15:45:24 GMT
2017-09-07 10:45:28 3 [HttpClient$1] Server: Apache/2.4.10 (Raspbian)
2017-09-07 10:45:28 3 [HttpClient$1] Expires: Thu, 19 Nov 1981 08:52:00 GMT
2017-09-07 10:45:28 3 [HttpClient$1] Cache-Control: no-store, no-cache, 
must-revalidate, post-check=0, pre-check=0
2017-09-07 10:45:28 3 [HttpClient$1] Pragma: no-cache
2017-09-07 10:45:28 3 [HttpClient$1] Vary: Brief,Prefer,Accept-Encoding
2017-09-07 10:45:28 3 [HttpClient$1] DAV: 1, 3, extended-mkcol, 
calendar-access, calendar-proxy, addressbook, 2, access-control, 
calendarserver-principal-property-search
2017-09-07 10:45:28 3 [HttpClient$1] Content-Type: application/xml; 
charset=utf-8
2017-09-07 10:45:28 3 [HttpClient$1] Set-Cookie: 
PHPSESSID=yyyyyyyyyyyyyyyyyyyy; path=/
2017-09-07 10:45:28 3 [HttpClient$1] Set-Cookie: 
PHPSESSID=yyyyyyyyyyyyyyyyyyyy; path=/
2017-09-07 10:45:28 3 [HttpClient$1] Set-Cookie: 
PHPSESSID=iiiiiiiiiiiiiiiiiiii; path=/
2017-09-07 10:45:28 3 [HttpClient$1] Set-Cookie: 
horde_secret_key=xxxxxxxxxxxxxxxxxxxx; path=/webmail; 
domain=www.privatedomain.org; httponly
2017-09-07 10:45:28 3 [HttpClient$1] Set-Cookie: 
default_horde_view=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; 
Max-Age=0; path=/webmail; domain=www.privatedomain.org
2017-09-07 10:45:28 3 [HttpClient$1] Keep-Alive: timeout=5, max=100
2017-09-07 10:45:28 3 [HttpClient$1] Connection: Keep-Alive
2017-09-07 10:45:28 3 [HttpClient$1]
2017-09-07 10:45:28 3 [HttpClient$1] <?xml version="1.0" encoding="utf-8"?>
<d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" 
xmlns:cal="urn:ietf:params:xml:ns:caldav" 
xmlns:cs="http://calendarserver.org/ns/" 
xmlns:card="urn:ietf:params:xml:ns:carddav"><d:response><d:href>/webmail/rpc/</d:href><d:propstat><d:prop><d:current-user-principal><d:href>/webmail/rpc/principals/user at privatedomain.org/</d:href></d:current-user-principal><d:resourcetype><d:collection/></d:resourcetype></d:prop><d:status>HTTP/1.1 
200 
OK</d:status></d:propstat><d:propstat><d:prop><d:displayname/><card:addressbook-description/><card:addressbook-home-set/></d:prop><d:status>HTTP/1.1 
404 Not Found</d:status></d:propstat></d:response></d:multistatus>

2017-09-07 10:45:28 3 [HttpClient$1] <-- END HTTP (709-byte body)
2017-09-07 10:45:28 3 [dav4android.DavResource] Received <response> for 
https://www.privatedomain.org/webmail/rpc/
     PARAMETER #1 = [displayname(DAV:): null, 
addressbook-description(urn:ietf:params:xml:ns:carddav): null, 
current-user-principal(DAV:): 
CurrentUserPrincipal(href=/webmail/rpc/principals/user at privatedomain.org/), 
addressbook-home-set(urn:ietf:params:xml:ns:carddav): null, 
resourcetype(DAV:): ResourceType(types=[collection(DAV:)])]
2017-09-07 10:45:28 3 [HttpClient$1] --> OPTIONS 
https://www.privatedomain.org/webmail/rpc/principals/user@privatedomain.org/ 
http/1.1
2017-09-07 10:45:28 3 [HttpClient$1] --> END OPTIONS
2017-09-07 10:45:28 3 [HttpClient$1] <-- 200 OK 
https://www.privatedomain.org/webmail/rpc/principals/user@privatedomain.org/ 
(95ms)
2017-09-07 10:45:28 3 [HttpClient$1] Date: Thu, 07 Sep 2017 15:45:29 GMT
2017-09-07 10:45:28 3 [HttpClient$1] Server: Apache/2.4.10 (Raspbian)
2017-09-07 10:45:28 3 [HttpClient$1] Allow: OPTIONS,GET,HEAD,POST
2017-09-07 10:45:28 3 [HttpClient$1] Content-Length: 0
2017-09-07 10:45:28 3 [HttpClient$1] Keep-Alive: timeout=5, max=99
2017-09-07 10:45:28 3 [HttpClient$1] Connection: Keep-Alive
2017-09-07 10:45:28 3 [HttpClient$1] <-- END HTTP (0-byte body)
2017-09-07 10:45:28 3 [HttpClient$1] --> PROPFIND 
https://www.privatedomain.org/.well-known/carddav http/1.1
2017-09-07 10:45:28 3 [HttpClient$1] Content-Type: application/xml; 
charset=utf-8
2017-09-07 10:45:28 3 [HttpClient$1] Content-Length: 198
2017-09-07 10:45:28 3 [HttpClient$1] Depth: 0
2017-09-07 10:45:28 3 [HttpClient$1]
2017-09-07 10:45:28 3 [HttpClient$1] <?xml version='1.0' 
encoding='UTF-8' ?><propfind xmlns="DAV:" 
xmlns:CAL="urn:ietf:params:xml:ns:caldav" 
xmlns:CARD="urn:ietf:params:xml:ns:carddav"><prop><current-user-principal 
/></prop></propfind>
2017-09-07 10:45:28 3 [HttpClient$1] --> END PROPFIND (198-byte body)
2017-09-07 10:45:28 3 [HttpClient$1] <-- 405 Method Not Allowed 
https://www.privatedomain.org/.well-known/carddav (59ms)
2017-09-07 10:45:28 3 [HttpClient$1] Date: Thu, 07 Sep 2017 15:45:29 GMT
2017-09-07 10:45:28 3 [HttpClient$1] Server: Apache/2.4.18 (Ubuntu)
2017-09-07 10:45:28 3 [HttpClient$1] Allow: GET,HEAD,POST,OPTIONS
2017-09-07 10:45:28 3 [HttpClient$1] Content-Length: 336
2017-09-07 10:45:28 3 [HttpClient$1] Keep-Alive: timeout=5, max=98
2017-09-07 10:45:28 3 [HttpClient$1] Connection: Keep-Alive
2017-09-07 10:45:28 3 [HttpClient$1] Content-Type: text/html; 
charset=iso-8859-1
2017-09-07 10:45:28 3 [HttpClient$1]
2017-09-07 10:45:28 3 [HttpClient$1] <!DOCTYPE HTML PUBLIC "-//IETF//DTD 
HTML 2.0//EN">
<html><head>
<title>405 Method Not Allowed</title>
</head><body>
<h1>Method Not Allowed</h1>
<p>The requested method PROPFIND is not allowed for the URL 
/.well-known/carddav.</p>
<hr>
<address>Apache/2.4.18 (Ubuntu) Server at www.privatedomain.org Port 
443</address>
</body></html>

2017-09-07 10:45:28 3 [HttpClient$1] <-- END HTTP (336-byte body)
2017-09-07 10:45:28 3 [ui.setup.DavResourceFinder] Well-known URL 
detection failed
EXCEPTION at.bitfire.dav4android.exception.HttpException: 405 Method Not 
Allowed
     at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:318)
     at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:291)
     at at.bitfire.dav4android.DavResource.propfind(DavResource.java:276)
     at 
at.bitfire.davdroid.ui.setup.DavResourceFinder.getCurrentUserPrincipal(DavResourceFinder.java:352)
     at 
at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:123)
     at 
at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:90)
     at 
at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:142)
     at 
at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:125)
     at 
android.support.v4.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:299)
     at 
android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:57)
     at 
android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:45)
     at 
android.support.v4.content.ModernAsyncTask$2.call(ModernAsyncTask.java:138)
     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)

2017-09-07 10:45:28 3 [ui.setup.DavResourceFinder] No principal found at 
user-given URL, trying to discover
2017-09-07 10:45:28 3 [ui.setup.DavResourceFinder] Looking up SRV 
records for _carddavs._tcp.www.privatedomain.org
2017-09-07 10:45:28 3 [ui.setup.DavResourceFinder] Didn't find carddav 
service, trying at https://www.privatedomain.org:443
2017-09-07 10:45:28 3 [ui.setup.DavResourceFinder] Trying to determine 
principal from initial context 
path=https://www.privatedomain.org/.well-known/carddav
2017-09-07 10:45:28 3 [HttpClient$1] --> PROPFIND 
https://www.privatedomain.org/.well-known/carddav http/1.1
2017-09-07 10:45:28 3 [HttpClient$1] Content-Type: application/xml; 
charset=utf-8
2017-09-07 10:45:28 3 [HttpClient$1] Content-Length: 198
2017-09-07 10:45:28 3 [HttpClient$1] Depth: 0
2017-09-07 10:45:28 3 [HttpClient$1]
2017-09-07 10:45:28 3 [HttpClient$1] <?xml version='1.0' 
encoding='UTF-8' ?><propfind xmlns="DAV:" 
xmlns:CAL="urn:ietf:params:xml:ns:caldav" 
xmlns:CARD="urn:ietf:params:xml:ns:carddav"><prop><current-user-principal 
/></prop></propfind>
2017-09-07 10:45:28 3 [HttpClient$1] --> END PROPFIND (198-byte body)
2017-09-07 10:45:28 3 [HttpClient$1] <-- 405 Method Not Allowed 
https://www.privatedomain.org/.well-known/carddav (61ms)
2017-09-07 10:45:28 3 [HttpClient$1] Date: Thu, 07 Sep 2017 15:45:29 GMT
2017-09-07 10:45:28 3 [HttpClient$1] Server: Apache/2.4.18 (Ubuntu)
2017-09-07 10:45:28 3 [HttpClient$1] Allow: GET,HEAD,POST,OPTIONS
2017-09-07 10:45:28 3 [HttpClient$1] Content-Length: 336
2017-09-07 10:45:28 3 [HttpClient$1] Keep-Alive: timeout=5, max=97
2017-09-07 10:45:28 3 [HttpClient$1] Connection: Keep-Alive
2017-09-07 10:45:28 3 [HttpClient$1] Content-Type: text/html; 
charset=iso-8859-1
2017-09-07 10:45:28 3 [HttpClient$1]
2017-09-07 10:45:28 3 [HttpClient$1] <!DOCTYPE HTML PUBLIC "-//IETF//DTD 
HTML 2.0//EN">
<html><head>
<title>405 Method Not Allowed</title>
</head><body>
<h1>Method Not Allowed</h1>
<p>The requested method PROPFIND is not allowed for the URL 
/.well-known/carddav.</p>
<hr>
<address>Apache/2.4.18 (Ubuntu) Server at www.privatedomain.org Port 
443</address>
</body></html>

2017-09-07 10:45:28 3 [HttpClient$1] <-- END HTTP (336-byte body)
2017-09-07 10:45:28 3 [ui.setup.DavResourceFinder] carddav service 
discovery failed
EXCEPTION at.bitfire.dav4android.exception.HttpException: 405 Method Not 
Allowed
     at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:318)
     at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:291)
     at at.bitfire.dav4android.DavResource.propfind(DavResource.java:276)
     at 
at.bitfire.davdroid.ui.setup.DavResourceFinder.getCurrentUserPrincipal(DavResourceFinder.java:352)
     at 
at.bitfire.davdroid.ui.setup.DavResourceFinder.discoverPrincipalUrl(DavResourceFinder.java:334)
     at 
at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:140)
     at 
at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:90)
     at 
at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:142)
     at 
at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:125)
     at 
android.support.v4.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:299)
     at 
android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:57)
     at 
android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:45)
     at 
android.support.v4.content.ModernAsyncTask$2.call(ModernAsyncTask.java:138)
     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)

2017-09-07 10:45:28 3 [ui.setup.DavResourceFinder] Finding initial 
caldav service configuration
2017-09-07 10:45:28 3 [ui.setup.DavResourceFinder] Checking user-given 
URL: https://www.privatedomain.org/webmail/rpc/
2017-09-07 10:45:28 3 [HttpClient$1] --> PROPFIND 
https://www.privatedomain.org/webmail/rpc/ http/1.1
2017-09-07 10:45:28 3 [HttpClient$1] Content-Type: application/xml; 
charset=utf-8
2017-09-07 10:45:28 3 [HttpClient$1] Content-Length: 435
2017-09-07 10:45:28 3 [HttpClient$1] Depth: 0
2017-09-07 10:45:28 3 [HttpClient$1]
2017-09-07 10:45:28 3 [HttpClient$1] <?xml version='1.0' 
encoding='UTF-8' ?><propfind xmlns="DAV:" 
xmlns:CAL="urn:ietf:params:xml:ns:caldav" 
xmlns:CARD="urn:ietf:params:xml:ns:carddav"><prop><resourcetype 
/><displayname /><n0:calendar-color xmlns:n0="http://apple.com/ns/ical/" 
/><CAL:calendar-description /><CAL:calendar-timezone 
/><current-user-privilege-set /><CAL:supported-calendar-component-set 
/><CAL:calendar-home-set /><current-user-principal /></prop></propfind>
2017-09-07 10:45:28 3 [HttpClient$1] --> END PROPFIND (435-byte body)
2017-09-07 10:45:30 3 [HttpClient$1] <-- 207 Multi-Status 
https://www.privatedomain.org/webmail/rpc/ (1130ms)
2017-09-07 10:45:30 3 [HttpClient$1] Date: Thu, 07 Sep 2017 15:45:29 GMT
2017-09-07 10:45:30 3 [HttpClient$1] Server: Apache/2.4.10 (Raspbian)
2017-09-07 10:45:30 3 [HttpClient$1] Expires: Thu, 19 Nov 1981 08:52:00 GMT
2017-09-07 10:45:30 3 [HttpClient$1] Cache-Control: no-store, no-cache, 
must-revalidate, post-check=0, pre-check=0
2017-09-07 10:45:30 3 [HttpClient$1] Pragma: no-cache
2017-09-07 10:45:30 3 [HttpClient$1] Vary: Brief,Prefer,Accept-Encoding
2017-09-07 10:45:30 3 [HttpClient$1] DAV: 1, 3, extended-mkcol, 
calendar-access, calendar-proxy, addressbook, 2, access-control, 
calendarserver-principal-property-search
2017-09-07 10:45:30 3 [HttpClient$1] Content-Type: application/xml; 
charset=utf-8
2017-09-07 10:45:30 3 [HttpClient$1] Set-Cookie: 
PHPSESSID=iiiiiiiiiiiiiiiiiiii; path=/
2017-09-07 10:45:30 3 [HttpClient$1] Set-Cookie: 
PHPSESSID=iiiiiiiiiiiiiiiiiiii; path=/
2017-09-07 10:45:30 3 [HttpClient$1] Set-Cookie: 
default_horde_view=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; 
Max-Age=0; path=/webmail; domain=www.privatedomain.org
2017-09-07 10:45:30 3 [HttpClient$1] Keep-Alive: timeout=5, max=96
2017-09-07 10:45:30 3 [HttpClient$1] Connection: Keep-Alive
2017-09-07 10:45:30 3 [HttpClient$1]
2017-09-07 10:45:30 3 [HttpClient$1] <?xml version="1.0" encoding="utf-8"?>
<d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" 
xmlns:cal="urn:ietf:params:xml:ns:caldav" 
xmlns:cs="http://calendarserver.org/ns/" 
xmlns:card="urn:ietf:params:xml:ns:carddav"><d:response><d:href>/webmail/rpc/</d:href><d:propstat><d:prop><d:current-user-principal><d:href>/webmail/rpc/principals/user at privatedomain.org/</d:href></d:current-user-principal><d:resourcetype><d:collection/></d:resourcetype></d:prop><d:status>HTTP/1.1 
200 
OK</d:status></d:propstat><d:propstat><d:prop><d:displayname/><x5:calendar-color 
xmlns:x5="http://apple.com/ns/ical/"/><cal:calendar-description/><cal:calendar-timezone/><d:current-user-privilege-set/><cal:supported-calendar-component-set/><cal:calendar-home-set/></d:prop><d:status>HTTP/1.1 
404 Not Found</d:status></d:propstat></d:response></d:multistatus>

2017-09-07 10:45:30 3 [HttpClient$1] <-- END HTTP (852-byte body)
2017-09-07 10:45:30 3 [dav4android.DavResource] Received <response> for 
https://www.privatedomain.org/webmail/rpc/
     PARAMETER #1 = [calendar-timezone(urn:ietf:params:xml:ns:caldav): 
null, supported-calendar-component-set(urn:ietf:params:xml:ns:caldav): 
null, current-user-principal(DAV:): 
CurrentUserPrincipal(href=/webmail/rpc/principals/user at privatedomain.org/), 
displayname(DAV:): null, resourcetype(DAV:): 
ResourceType(types=[collection(DAV:)]), 
calendar-home-set(urn:ietf:params:xml:ns:caldav): null, 
calendar-description(urn:ietf:params:xml:ns:caldav): null, 
calendar-color(http://apple.com/ns/ical/): null, 
current-user-privilege-set(DAV:): null]
2017-09-07 10:45:30 3 [HttpClient$1] --> OPTIONS 
https://www.privatedomain.org/webmail/rpc/principals/user@privatedomain.org/ 
http/1.1
2017-09-07 10:45:30 3 [HttpClient$1] --> END OPTIONS
2017-09-07 10:45:30 3 [HttpClient$1] <-- 200 OK 
https://www.privatedomain.org/webmail/rpc/principals/user@privatedomain.org/ 
(60ms)
2017-09-07 10:45:30 3 [HttpClient$1] Date: Thu, 07 Sep 2017 15:45:30 GMT
2017-09-07 10:45:30 3 [HttpClient$1] Server: Apache/2.4.10 (Raspbian)
2017-09-07 10:45:30 3 [HttpClient$1] Allow: OPTIONS,GET,HEAD,POST
2017-09-07 10:45:30 3 [HttpClient$1] Content-Length: 0
2017-09-07 10:45:30 3 [HttpClient$1] Keep-Alive: timeout=5, max=95
2017-09-07 10:45:30 3 [HttpClient$1] Connection: Keep-Alive
2017-09-07 10:45:30 3 [HttpClient$1] <-- END HTTP (0-byte body)
2017-09-07 10:45:30 3 [HttpClient$1] --> PROPFIND 
https://www.privatedomain.org/.well-known/caldav http/1.1
2017-09-07 10:45:30 3 [HttpClient$1] Content-Type: application/xml; 
charset=utf-8
2017-09-07 10:45:30 3 [HttpClient$1] Content-Length: 198
2017-09-07 10:45:30 3 [HttpClient$1] Depth: 0
2017-09-07 10:45:30 3 [HttpClient$1]
2017-09-07 10:45:30 3 [HttpClient$1] <?xml version='1.0' 
encoding='UTF-8' ?><propfind xmlns="DAV:" 
xmlns:CAL="urn:ietf:params:xml:ns:caldav" 
xmlns:CARD="urn:ietf:params:xml:ns:carddav"><prop><current-user-principal 
/></prop></propfind>
2017-09-07 10:45:30 3 [HttpClient$1] --> END PROPFIND (198-byte body)
2017-09-07 10:45:30 3 [HttpClient$1] <-- 405 Method Not Allowed 
https://www.privatedomain.org/.well-known/caldav (52ms)
2017-09-07 10:45:30 3 [HttpClient$1] Date: Thu, 07 Sep 2017 15:45:31 GMT
2017-09-07 10:45:30 3 [HttpClient$1] Server: Apache/2.4.18 (Ubuntu)
2017-09-07 10:45:30 3 [HttpClient$1] Allow: GET,HEAD,POST,OPTIONS
2017-09-07 10:45:30 3 [HttpClient$1] Content-Length: 335
2017-09-07 10:45:30 3 [HttpClient$1] Keep-Alive: timeout=5, max=94
2017-09-07 10:45:30 3 [HttpClient$1] Connection: Keep-Alive
2017-09-07 10:45:30 3 [HttpClient$1] Content-Type: text/html; 
charset=iso-8859-1
2017-09-07 10:45:30 3 [HttpClient$1]
2017-09-07 10:45:30 3 [HttpClient$1] <!DOCTYPE HTML PUBLIC "-//IETF//DTD 
HTML 2.0//EN">
<html><head>
<title>405 Method Not Allowed</title>
</head><body>
<h1>Method Not Allowed</h1>
<p>The requested method PROPFIND is not allowed for the URL 
/.well-known/caldav.</p>
<hr>
<address>Apache/2.4.18 (Ubuntu) Server at www.privatedomain.org Port 
443</address>
</body></html>

2017-09-07 10:45:30 3 [HttpClient$1] <-- END HTTP (335-byte body)
2017-09-07 10:45:30 3 [ui.setup.DavResourceFinder] Well-known URL 
detection failed
EXCEPTION at.bitfire.dav4android.exception.HttpException: 405 Method Not 
Allowed
     at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:318)
     at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:291)
     at at.bitfire.dav4android.DavResource.propfind(DavResource.java:276)
     at 
at.bitfire.davdroid.ui.setup.DavResourceFinder.getCurrentUserPrincipal(DavResourceFinder.java:352)
     at 
at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:123)
     at 
at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:91)
     at 
at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:142)
     at 
at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:125)
     at 
android.support.v4.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:299)
     at 
android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:57)
     at 
android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:45)
     at 
android.support.v4.content.ModernAsyncTask$2.call(ModernAsyncTask.java:138)
     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)

2017-09-07 10:45:30 3 [ui.setup.DavResourceFinder] No principal found at 
user-given URL, trying to discover
2017-09-07 10:45:30 3 [ui.setup.DavResourceFinder] Looking up SRV 
records for _caldavs._tcp.www.privatedomain.org
2017-09-07 10:45:30 3 [ui.setup.DavResourceFinder] Didn't find caldav 
service, trying at https://www.privatedomain.org:443
2017-09-07 10:45:30 3 [ui.setup.DavResourceFinder] Trying to determine 
principal from initial context 
path=https://www.privatedomain.org/.well-known/caldav
2017-09-07 10:45:30 3 [HttpClient$1] --> PROPFIND 
https://www.privatedomain.org/.well-known/caldav http/1.1
2017-09-07 10:45:30 3 [HttpClient$1] Content-Type: application/xml; 
charset=utf-8
2017-09-07 10:45:30 3 [HttpClient$1] Content-Length: 198
2017-09-07 10:45:30 3 [HttpClient$1] Depth: 0
2017-09-07 10:45:30 3 [HttpClient$1]
2017-09-07 10:45:30 3 [HttpClient$1] <?xml version='1.0' 
encoding='UTF-8' ?><propfind xmlns="DAV:" 
xmlns:CAL="urn:ietf:params:xml:ns:caldav" 
xmlns:CARD="urn:ietf:params:xml:ns:carddav"><prop><current-user-principal 
/></prop></propfind>
2017-09-07 10:45:30 3 [HttpClient$1] --> END PROPFIND (198-byte body)
2017-09-07 10:45:30 3 [HttpClient$1] <-- 405 Method Not Allowed 
https://www.privatedomain.org/.well-known/caldav (40ms)
2017-09-07 10:45:30 3 [HttpClient$1] Date: Thu, 07 Sep 2017 15:45:31 GMT
2017-09-07 10:45:30 3 [HttpClient$1] Server: Apache/2.4.18 (Ubuntu)
2017-09-07 10:45:30 3 [HttpClient$1] Allow: GET,HEAD,POST,OPTIONS
2017-09-07 10:45:30 3 [HttpClient$1] Content-Length: 335
2017-09-07 10:45:30 3 [HttpClient$1] Keep-Alive: timeout=5, max=93
2017-09-07 10:45:30 3 [HttpClient$1] Connection: Keep-Alive
2017-09-07 10:45:30 3 [HttpClient$1] Content-Type: text/html; 
charset=iso-8859-1
2017-09-07 10:45:30 3 [HttpClient$1]
2017-09-07 10:45:30 3 [HttpClient$1] <!DOCTYPE HTML PUBLIC "-//IETF//DTD 
HTML 2.0//EN">
<html><head>
<title>405 Method Not Allowed</title>
</head><body>
<h1>Method Not Allowed</h1>
<p>The requested method PROPFIND is not allowed for the URL 
/.well-known/caldav.</p>
<hr>
<address>Apache/2.4.18 (Ubuntu) Server at www.privatedomain.org Port 
443</address>
</body></html>

2017-09-07 10:45:30 3 [HttpClient$1] <-- END HTTP (335-byte body)
2017-09-07 10:45:30 3 [ui.setup.DavResourceFinder] caldav service 
discovery failed
EXCEPTION at.bitfire.dav4android.exception.HttpException: 405 Method Not 
Allowed
     at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:318)
     at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:291)
     at at.bitfire.dav4android.DavResource.propfind(DavResource.java:276)
     at 
at.bitfire.davdroid.ui.setup.DavResourceFinder.getCurrentUserPrincipal(DavResourceFinder.java:352)
     at 
at.bitfire.davdroid.ui.setup.DavResourceFinder.discoverPrincipalUrl(DavResourceFinder.java:334)
     at 
at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:140)
     at 
at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:91)
     at 
at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:142)
     at 
at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:125)
     at 
android.support.v4.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:299)
     at 
android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:57)
     at 
android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:45)
     at 
android.support.v4.content.ModernAsyncTask$2.call(ModernAsyncTask.java:138)
     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)



SOFTWARE INFORMATION
DAVdroid version: 1.4.1-ose (139) Tue Mar 21 09:20:57 CDT 2017
Installed from: APK (directly)
JB Workaround installed: no

CONFIGURATION
System-wide synchronization: automatically

SQLITE DUMP
android_metadata
     |  locale |
     |  en_US |
----------
settings
     |  setting | value |
----------
services
     |  _id | accountName | service | principal |
----------
sqlite_sequence
     |  name | seq |
     |  services | 14 |
     |  homesets | 19 |
     |  collections | 19 |
----------
homesets
     |  _id | serviceID | url |
----------
collections
     |  _id | serviceID | url | readOnly | displayName | description | 
color | timezone | supportsVEVENT | supportsVTODO | sync |
----------

SYSTEM INFORMATION
Android version: 6.0.1 (M4B30Z)
Device: LGE Nexus 5 (hammerhead)



More information about the horde mailing list