Hi all
I migrated my Smartermail server to a new Win-server
All looks fine except the carddav service
When I want to setup this under OpenSync on my mobile I get always the error that he can't find the carddav service or 405 - HTTP verb used to access this page is not allowed. I checked the setup contra old mailserver, all looks the same.
Except that under IIS I see an option WEBDAV AUTHORING TOOLS which one is disabled
Anyone an idea what I did wrong ?
Thanks
--- BEGIN DEBUG INFO ---
LOGS:
2023-11-12 20:56:05 192559 [ui.setup.DavResourceFinder] Finding initial carddav service configuration
2023-11-12 20:56:05 192559 [ui.setup.DavResourceFinder] Checking user-given URL: http://mail.schroeder.mobi/webdav/
2023-11-12 20:56:05 192559 [HttpClient$1] --> PROPFIND http://mail.schroeder.mobi/webdav/ http/1.1
2023-11-12 20:56:05 192559 [HttpClient$1] Content-Type: application/xml; charset=utf-8
2023-11-12 20:56:05 192559 [HttpClient$1] Content-Length: 290
2023-11-12 20:56:05 192559 [HttpClient$1] Depth: 0
2023-11-12 20:56:05 192559 [HttpClient$1]
2023-11-12 20:56:05 192559 [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>
2023-11-12 20:56:05 192559 [HttpClient$1] --> END PROPFIND (290-byte body)
2023-11-12 20:56:05 192559 [HttpClient$1] <-- 405 Method Not Allowed http://mail.schroeder.mobi/webdav/ (67ms)
2023-11-12 20:56:05 192559 [HttpClient$1] Allow: GET, HEAD, OPTIONS, TRACE
2023-11-12 20:56:05 192559 [HttpClient$1] Content-Type: text/html
2023-11-12 20:56:05 192559 [HttpClient$1] X-Robots-Tag: noindex
2023-11-12 20:56:05 192559 [HttpClient$1] Date: Sun, 12 Nov 2023 19:56:05 GMT
2023-11-12 20:56:05 192559 [HttpClient$1] Content-Length: 1310
2023-11-12 20:56:05 192559 [HttpClient$1]
2023-11-12 20:56:05 192559 [HttpClient$1] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<title>405 - Le verbe HTTP utilis pour acc der cette page n'est pas autoris .</title>
<style type="text/css">
<!--
body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}
fieldset{padding:0 15px 10px 15px;}
h1{font-size:2.4em;margin:0;color:#FFF;}
h2{font-size:1.7em;margin:0;color:#CC0000;}
h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;}
#header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana, sans-serif;color:#FFF;
background-color:#555555;}
#content{margin:0 0 0 2%;position:relative;}
.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}
-->
</style>
</head>
<body>
<div id="header"><h1>Server Error</h1></div>
<div id="content">
<div class="content-container"><fieldset>
<h2>405 - HTTP verb used to access this page is not allowed.</h2>
<h3>The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access.</h3>
</fieldset></div>
</div>
</body>
</html>
2023-11-12 20:56:05 192559 [HttpClient$1] <-- END HTTP (1310-byte body)
2023-11-12 20:56:05 192559 [ui.setup.DavResourceFinder] PROPFIND/OPTIONS on user-given URL failed
EXCEPTION at.bitfire.dav4android.exception.HttpException: 405 Method Not Allowed
at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:325)
at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:298)
at at.bitfire.dav4android.DavResource.propfind(DavResource.java:283)
at com.deependhulla.opensync.ui.setup.DavResourceFinder.checkUserGivenURL(DavResourceFinder.java:179)
at com.deependhulla.opensync.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:119)
at com.deependhulla.opensync.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:90)
at com.deependhulla.opensync.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:142)
at com.deependhulla.opensync.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:125)
at android.support.v4.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:302)
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:264)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
at java.lang.Thread.run(Thread.java:1012)
2023-11-12 20:56:05 192559 [HttpClient$1] --> PROPFIND http://mail.schroeder.mobi/.well-known/carddav http/1.1
2023-11-12 20:56:05 192559 [HttpClient$1] Content-Type: application/xml; charset=utf-8
2023-11-12 20:56:05 192559 [HttpClient$1] Content-Length: 198
2023-11-12 20:56:05 192559 [HttpClient$1] Depth: 0
2023-11-12 20:56:05 192559 [HttpClient$1]
2023-11-12 20:56:05 192559 [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>
2023-11-12 20:56:05 192559 [HttpClient$1] --> END PROPFIND (198-byte body)
2023-11-12 20:56:05 192559 [HttpClient$1] <-- 405 Method Not Allowed http://mail.schroeder.mobi/.well-known/carddav (37ms)
2023-11-12 20:56:05 192559 [HttpClient$1] Allow: GET, HEAD, OPTIONS, TRACE
2023-11-12 20:56:05 192559 [HttpClient$1] Content-Type: text/html
2023-11-12 20:56:05 192559 [HttpClient$1] Date: Sun, 12 Nov 2023 19:56:05 GMT
2023-11-12 20:56:05 192559 [HttpClient$1] Content-Length: 1310
2023-11-12 20:56:05 192559 [HttpClient$1]
2023-11-12 20:56:05 192559 [HttpClient$1] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<title>405 - Le verbe HTTP utilis pour acc der cette page n'est pas autoris .</title>
<style type="text/css">
<!--
body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}
fieldset{padding:0 15px 10px 15px;}
h1{font-size:2.4em;margin:0;color:#FFF;}
h2{font-size:1.7em;margin:0;color:#CC0000;}
h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;}
#header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana, sans-serif;color:#FFF;
background-color:#555555;}
#content{margin:0 0 0 2%;position:relative;}
.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}
-->
</style>
</head>
<body>
<div id="header"><h1>Server Error</h1></div>
<div id="content">
<div class="content-container"><fieldset>
<h2>405 - HTTP verb used to access this page is not allowed.</h2>
<h3>The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access.</h3>
</fieldset></div>
</div>
</body>
</html>
2023-11-12 20:56:05 192559 [HttpClient$1] <-- END HTTP (1310-byte body)
2023-11-12 20:56:05 192559 [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:325)
at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:298)
at at.bitfire.dav4android.DavResource.propfind(DavResource.java:283)
at com.deependhulla.opensync.ui.setup.DavResourceFinder.getCurrentUserPrincipal(DavResourceFinder.java:352)
at com.deependhulla.opensync.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:123)
at com.deependhulla.opensync.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:90)
at com.deependhulla.opensync.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:142)
at com.deependhulla.opensync.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:125)
at android.support.v4.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:302)
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:264)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
at java.lang.Thread.run(Thread.java:1012)
2023-11-12 20:56:05 192559 [ui.setup.DavResourceFinder] Finding initial caldav service configuration
2023-11-12 20:56:05 192559 [ui.setup.DavResourceFinder] Checking user-given URL: http://mail.schroeder.mobi/webdav/
2023-11-12 20:56:05 192559 [HttpClient$1] --> PROPFIND http://mail.schroeder.mobi/webdav/ http/1.1
2023-11-12 20:56:05 192559 [HttpClient$1] Content-Type: application/xml; charset=utf-8
2023-11-12 20:56:05 192559 [HttpClient$1] Content-Length: 435
2023-11-12 20:56:05 192559 [HttpClient$1] Depth: 0
2023-11-12 20:56:05 192559 [HttpClient$1]
2023-11-12 20:56:05 192559 [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>
2023-11-12 20:56:05 192559 [HttpClient$1] --> END PROPFIND (435-byte body)
2023-11-12 20:56:05 192559 [HttpClient$1] <-- 405 Method Not Allowed http://mail.schroeder.mobi/webdav/ (30ms)
2023-11-12 20:56:05 192559 [HttpClient$1] Allow: GET, HEAD, OPTIONS, TRACE
2023-11-12 20:56:05 192559 [HttpClient$1] Content-Type: text/html
2023-11-12 20:56:05 192559 [HttpClient$1] X-Robots-Tag: noindex
2023-11-12 20:56:05 192559 [HttpClient$1] Date: Sun, 12 Nov 2023 19:56:05 GMT
2023-11-12 20:56:05 192559 [HttpClient$1] Content-Length: 1310
2023-11-12 20:56:05 192559 [HttpClient$1]
2023-11-12 20:56:05 192559 [HttpClient$1] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<title>405 - Le verbe HTTP utilis pour acc der cette page n'est pas autoris .</title>
<style type="text/css">
<!--
body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}
fieldset{padding:0 15px 10px 15px;}
h1{font-size:2.4em;margin:0;color:#FFF;}
h2{font-size:1.7em;margin:0;color:#CC0000;}
h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;}
#header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana, sans-serif;color:#FFF;
background-color:#555555;}
#content{margin:0 0 0 2%;position:relative;}
.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}
-->
</style>
</head>
<body>
<div id="header"><h1>Server Error</h1></div>
<div id="content">
<div class="content-container"><fieldset>
<h2>405 - HTTP verb used to access this page is not allowed.</h2>
<h3>The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access.</h3>
</fieldset></div>
</div>
</body>
</html>
2023-11-12 20:56:05 192559 [HttpClient$1] <-- END HTTP (1310-byte body)
2023-11-12 20:56:05 192559 [ui.setup.DavResourceFinder] PROPFIND/OPTIONS on user-given URL failed
EXCEPTION at.bitfire.dav4android.exception.HttpException: 405 Method Not Allowed
at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:325)
at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:298)
at at.bitfire.dav4android.DavResource.propfind(DavResource.java:283)
at com.deependhulla.opensync.ui.setup.DavResourceFinder.checkUserGivenURL(DavResourceFinder.java:187)
at com.deependhulla.opensync.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:119)
at com.deependhulla.opensync.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:91)
at com.deependhulla.opensync.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:142)
at com.deependhulla.opensync.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:125)
at android.support.v4.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:302)
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:264)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
at java.lang.Thread.run(Thread.java:1012)
2023-11-12 20:56:05 192559 [HttpClient$1] --> PROPFIND http://mail.schroeder.mobi/.well-known/caldav http/1.1
2023-11-12 20:56:05 192559 [HttpClient$1] Content-Type: application/xml; charset=utf-8
2023-11-12 20:56:05 192559 [HttpClient$1] Content-Length: 198
2023-11-12 20:56:05 192559 [HttpClient$1] Depth: 0
2023-11-12 20:56:05 192559 [HttpClient$1]
2023-11-12 20:56:05 192559 [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>
2023-11-12 20:56:05 192559 [HttpClient$1] --> END PROPFIND (198-byte body)
2023-11-12 20:56:05 192559 [HttpClient$1] <-- 405 Method Not Allowed http://mail.schroeder.mobi/.well-known/caldav (39ms)
2023-11-12 20:56:05 192559 [HttpClient$1] Allow: GET, HEAD, OPTIONS, TRACE
2023-11-12 20:56:05 192559 [HttpClient$1] Content-Type: text/html
2023-11-12 20:56:05 192559 [HttpClient$1] Date: Sun, 12 Nov 2023 19:56:05 GMT
2023-11-12 20:56:05 192559 [HttpClient$1] Content-Length: 1310
2023-11-12 20:56:05 192559 [HttpClient$1]
2023-11-12 20:56:05 192559 [HttpClient$1] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<title>405 - Le verbe HTTP utilis pour acc der cette page n'est pas autoris .</title>
<style type="text/css">
<!--
body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}
fieldset{padding:0 15px 10px 15px;}
h1{font-size:2.4em;margin:0;color:#FFF;}
h2{font-size:1.7em;margin:0;color:#CC0000;}
h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;}
#header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana, sans-serif;color:#FFF;
background-color:#555555;}
#content{margin:0 0 0 2%;position:relative;}
.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}
-->
</style>
</head>
<body>
<div id="header"><h1>Server Error</h1></div>
<div id="content">
<div class="content-container"><fieldset>
<h2>405 - HTTP verb used to access this page is not allowed.</h2>
<h3>The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access.</h3>
</fieldset></div>
</div>
</body>
</html>
2023-11-12 20:56:05 192559 [HttpClient$1] <-- END HTTP (1310-byte body)
2023-11-12 20:56:05 192559 [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:325)
at at.bitfire.dav4android.DavResource.checkStatus(DavResource.java:298)
at at.bitfire.dav4android.DavResource.propfind(DavResource.java:283)
at com.deependhulla.opensync.ui.setup.DavResourceFinder.getCurrentUserPrincipal(DavResourceFinder.java:352)
at com.deependhulla.opensync.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:123)
at com.deependhulla.opensync.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.java:91)
at com.deependhulla.opensync.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:142)
at com.deependhulla.opensync.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.java:125)
at android.support.v4.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:302)
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:264)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
at java.lang.Thread.run(Thread.java:1012)
SOFTWARE INFORMATION
OpenSync version: 1.5.0.3-ose (145) Tue Apr 18 09:03:24 GMT+02:00 2017
Installed from: com.android.vending
JB Workaround installed: no
CONFIGURATION
Power saving disabled: no
android.permission.READ_CONTACTS permission: granted
android.permission.WRITE_CONTACTS permission: granted
android.permission.READ_CALENDAR permission: granted
android.permission.WRITE_CALENDAR permission: granted
org.dmfs.permission.READ_TASKS permission: granted
org.dmfs.permission.WRITE_TASKS permission: granted
System-wide synchronization: automatically
SQLITE DUMP
android_metadata
| locale |
| fr_FR |
----------
settings
| setting | value |
| hint_BatteryOptimizations | 0 |
----------
services
| _id | accountName | service | principal |
----------
sqlite_sequence
| name | seq |
| services | 4 |
| homesets | 6 |
| collections | 7 |
----------
homesets
| _id | serviceID | url |
----------
collections
| _id | serviceID | url | readOnly | displayName | description | color | timezone | supportsVEVENT | supportsVTODO | sync |
----------
SYSTEM INFORMATION
Android version: 13 (NE2213_13.1.0.597(EX01))
Device: OnePlus NE2213 (OP516FL1)
--- END DEBUG INFO ---