@TheDoctorII yes, would have been a lot easier if they did…
@henry-nicolas Can you maybe test the new version 0.6.12 (see https://davdroid.bitfire.at/configuration for configuration details) and tell us if it works for you?
One.com Couldn't find CalDAV or CardDAV service
-
Hello,
I am trying to access my calendar from my own website (hosted on One.com) through the CalDAV code that is provided by One.com.
I get above mentioned error message.
Please find the log here:
--- BEGIN DEBUG INFO --- LOGS: 2019-03-19 00:39:21 5908 [ui.setup.DavResourceFinder] Finding initial carddav service configuration 2019-03-19 00:39:21 5908 [ui.setup.DavResourceFinder] Checking user-given URL: https://caldav.one.com/calendars/users/kevin.woerner@parandum.com/calendar/ 2019-03-19 00:39:21 5908 [HttpClient] --> PROPFIND https://caldav.one.com/calendars/users/kevin.woerner@parandum.com/calendar/ 2019-03-19 00:39:21 5908 [HttpClient] Content-Type: application/xml; charset=utf-8 2019-03-19 00:39:21 5908 [HttpClient] Content-Length: 290 2019-03-19 00:39:21 5908 [HttpClient] Depth: 0 2019-03-19 00:39:21 5908 [HttpClient] 2019-03-19 00:39:21 5908 [HttpClient] <?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> 2019-03-19 00:39:21 5908 [HttpClient] --> END PROPFIND (290-byte body) 2019-03-19 00:39:21 5908 [HttpClient] <-- 401 Unauthorized https://caldav.one.com/calendars/users/kevin.woerner@parandum.com/calendar/ (316ms) 2019-03-19 00:39:21 5908 [HttpClient] Content-Length: 372 2019-03-19 00:39:21 5908 [HttpClient] Content-Type: text/html;charset=utf-8 2019-03-19 00:39:21 5908 [HttpClient] Date: Mon, 18 Mar 2019 23:39:22 GMT 2019-03-19 00:39:21 5908 [HttpClient] Server: Twisted/16.6.0 TwistedWeb/9.0.0 2019-03-19 00:39:21 5908 [HttpClient] Connection: close 2019-03-19 00:39:21 5908 [HttpClient] 2019-03-19 00:39:21 5908 [HttpClient] <html> <head> <title>401 Unauthorized</title> </head> <body> <h1>Unauthorized</h1> You are not authorized to view the resource at /calendars/users/kevin.woerner@parandum.com/calendar/. Perhaps you entered a wrong password, or perhaps your browser doesn't support authentication. </body> </html> 2019-03-19 00:39:21 5908 [HttpClient] <-- END HTTP (372-byte body) 2019-03-19 00:39:21 5908 [ui.setup.DavResourceFinder] PROPFIND/OPTIONS on user-given URL failed EXCEPTION at.bitfire.dav4jvm.exception.UnauthorizedException: HTTP 401 Unauthorized at at.bitfire.dav4jvm.DavResource.checkStatus(DavResource.kt:352) at at.bitfire.dav4jvm.DavResource.checkStatus(DavResource.kt:338) at at.bitfire.dav4jvm.DavResource.processMultiStatus(DavResource.kt:432) at at.bitfire.dav4jvm.DavResource.propfind(DavResource.kt:325) at at.bitfire.davdroid.ui.setup.DavResourceFinder.checkUserGivenURL(DavResourceFinder.kt:187) at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:122) at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:79) at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.kt:136) at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.kt:120) at androidx.loader.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:307) at androidx.loader.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:60) at androidx.loader.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:48) at androidx.loader.content.ModernAsyncTask$2.call(ModernAsyncTask.java:141) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:784) 2019-03-19 00:39:21 5908 [HttpClient] --> PROPFIND https://caldav.one.com/.well-known/carddav 2019-03-19 00:39:21 5908 [HttpClient] Content-Type: application/xml; charset=utf-8 2019-03-19 00:39:21 5908 [HttpClient] Content-Length: 198 2019-03-19 00:39:21 5908 [HttpClient] Depth: 0 2019-03-19 00:39:21 5908 [HttpClient] 2019-03-19 00:39:21 5908 [HttpClient] <?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> 2019-03-19 00:39:21 5908 [HttpClient] --> END PROPFIND (198-byte body) 2019-03-19 00:39:21 5908 [HttpClient] <-- 401 Unauthorized https://caldav.one.com/.well-known/carddav (233ms) 2019-03-19 00:39:21 5908 [HttpClient] Content-Length: 339 2019-03-19 00:39:21 5908 [HttpClient] Content-Type: text/html;charset=utf-8 2019-03-19 00:39:21 5908 [HttpClient] Date: Mon, 18 Mar 2019 23:39:22 GMT 2019-03-19 00:39:21 5908 [HttpClient] Server: Twisted/16.6.0 TwistedWeb/9.0.0 2019-03-19 00:39:21 5908 [HttpClient] Connection: close 2019-03-19 00:39:21 5908 [HttpClient] 2019-03-19 00:39:21 5908 [HttpClient] <html> <head> <title>401 Unauthorized</title> </head> <body> <h1>Unauthorized</h1> You are not authorized to view the resource at /.well-known/carddav. Perhaps you entered a wrong password, or perhaps your browser doesn't support authentication. </body> </html> 2019-03-19 00:39:21 5908 [HttpClient] <-- END HTTP (339-byte body) 2019-03-19 00:39:21 5908 [ui.setup.DavResourceFinder] Well-known URL detection failed EXCEPTION at.bitfire.dav4jvm.exception.UnauthorizedException: HTTP 401 Unauthorized at at.bitfire.dav4jvm.DavResource.checkStatus(DavResource.kt:352) at at.bitfire.dav4jvm.DavResource.checkStatus(DavResource.kt:338) at at.bitfire.dav4jvm.DavResource.processMultiStatus(DavResource.kt:432) at at.bitfire.dav4jvm.DavResource.propfind(DavResource.kt:325) at at.bitfire.davdroid.ui.setup.DavResourceFinder.getCurrentUserPrincipal(DavResourceFinder.kt:392) at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:126) at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:79) at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.kt:136) at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.kt:120) at androidx.loader.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:307) at androidx.loader.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:60) at androidx.loader.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:48) at androidx.loader.content.ModernAsyncTask$2.call(ModernAsyncTask.java:141) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:784) 2019-03-19 00:39:21 5908 [ui.setup.DavResourceFinder] No principal found at user-given URL, trying to discover 2019-03-19 00:39:21 5908 [ui.setup.DavResourceFinder] Looking up SRV records for _carddavs._tcp.caldav.one.com 2019-03-19 00:39:22 5908 [ui.setup.DavResourceFinder] Didn't find carddav service, trying at https://caldav.one.com:443 2019-03-19 00:39:22 5908 [ui.setup.DavResourceFinder] Trying to determine principal from initial context path=https://caldav.one.com/.well-known/carddav 2019-03-19 00:39:22 5908 [HttpClient] --> PROPFIND https://caldav.one.com/.well-known/carddav 2019-03-19 00:39:22 5908 [HttpClient] Content-Type: application/xml; charset=utf-8 2019-03-19 00:39:22 5908 [HttpClient] Content-Length: 198 2019-03-19 00:39:22 5908 [HttpClient] Depth: 0 2019-03-19 00:39:22 5908 [HttpClient] 2019-03-19 00:39:22 5908 [HttpClient] <?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> 2019-03-19 00:39:22 5908 [HttpClient] --> END PROPFIND (198-byte body) 2019-03-19 00:39:22 5908 [HttpClient] <-- 401 Unauthorized https://caldav.one.com/.well-known/carddav (251ms) 2019-03-19 00:39:22 5908 [HttpClient] Content-Length: 339 2019-03-19 00:39:22 5908 [HttpClient] Content-Type: text/html;charset=utf-8 2019-03-19 00:39:22 5908 [HttpClient] Date: Mon, 18 Mar 2019 23:39:23 GMT 2019-03-19 00:39:22 5908 [HttpClient] Server: Twisted/16.6.0 TwistedWeb/9.0.0 2019-03-19 00:39:22 5908 [HttpClient] Connection: close 2019-03-19 00:39:22 5908 [HttpClient] 2019-03-19 00:39:22 5908 [HttpClient] <html> <head> <title>401 Unauthorized</title> </head> <body> <h1>Unauthorized</h1> You are not authorized to view the resource at /.well-known/carddav. Perhaps you entered a wrong password, or perhaps your browser doesn't support authentication. </body> </html> 2019-03-19 00:39:22 5908 [HttpClient] <-- END HTTP (339-byte body) 2019-03-19 00:39:22 5908 [ui.setup.DavResourceFinder] No resource found EXCEPTION at.bitfire.dav4jvm.exception.UnauthorizedException: HTTP 401 Unauthorized at at.bitfire.dav4jvm.DavResource.checkStatus(DavResource.kt:352) at at.bitfire.dav4jvm.DavResource.checkStatus(DavResource.kt:338) at at.bitfire.dav4jvm.DavResource.processMultiStatus(DavResource.kt:432) at at.bitfire.dav4jvm.DavResource.propfind(DavResource.kt:325) at at.bitfire.davdroid.ui.setup.DavResourceFinder.getCurrentUserPrincipal(DavResourceFinder.kt:392) at at.bitfire.davdroid.ui.setup.DavResourceFinder.discoverPrincipalUrl(DavResourceFinder.kt:372) at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:145) at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:79) at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.kt:136) at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.kt:120) at androidx.loader.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:307) at androidx.loader.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:60) at androidx.loader.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:48) at androidx.loader.content.ModernAsyncTask$2.call(ModernAsyncTask.java:141) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:784) 2019-03-19 00:39:22 5908 [ui.setup.DavResourceFinder] Trying to determine principal from initial context path=https://caldav.one.com/ 2019-03-19 00:39:22 5908 [HttpClient] --> PROPFIND https://caldav.one.com/ 2019-03-19 00:39:22 5908 [HttpClient] Content-Type: application/xml; charset=utf-8 2019-03-19 00:39:22 5908 [HttpClient] Content-Length: 198 2019-03-19 00:39:22 5908 [HttpClient] Depth: 0 2019-03-19 00:39:22 5908 [HttpClient] 2019-03-19 00:39:22 5908 [HttpClient] <?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> 2019-03-19 00:39:22 5908 [HttpClient] --> END PROPFIND (198-byte body) 2019-03-19 00:39:22 5908 [HttpClient] <-- 401 Unauthorized https://caldav.one.com/ (251ms) 2019-03-19 00:39:22 5908 [HttpClient] Content-Length: 320 2019-03-19 00:39:22 5908 [HttpClient] Content-Type: text/html;charset=utf-8 2019-03-19 00:39:22 5908 [HttpClient] Date: Mon, 18 Mar 2019 23:39:23 GMT 2019-03-19 00:39:22 5908 [HttpClient] Server: Twisted/16.6.0 TwistedWeb/9.0.0 2019-03-19 00:39:22 5908 [HttpClient] Connection: close 2019-03-19 00:39:22 5908 [HttpClient] 2019-03-19 00:39:22 5908 [HttpClient] <html> <head> <title>401 Unauthorized</title> </head> <body> <h1>Unauthorized</h1> You are not authorized to view the resource at /. Perhaps you entered a wrong password, or perhaps your browser doesn't support authentication. </body> </html> 2019-03-19 00:39:22 5908 [HttpClient] <-- END HTTP (320-byte body) 2019-03-19 00:39:22 5908 [ui.setup.DavResourceFinder] No resource found EXCEPTION at.bitfire.dav4jvm.exception.UnauthorizedException: HTTP 401 Unauthorized at at.bitfire.dav4jvm.DavResource.checkStatus(DavResource.kt:352) at at.bitfire.dav4jvm.DavResource.checkStatus(DavResource.kt:338) at at.bitfire.dav4jvm.DavResource.processMultiStatus(DavResource.kt:432) at at.bitfire.dav4jvm.DavResource.propfind(DavResource.kt:325) at at.bitfire.davdroid.ui.setup.DavResourceFinder.getCurrentUserPrincipal(DavResourceFinder.kt:392) at at.bitfire.davdroid.ui.setup.DavResourceFinder.discoverPrincipalUrl(DavResourceFinder.kt:372) at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:145) at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:79) at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.kt:136) at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.kt:120) at androidx.loader.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:307) at androidx.loader.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:60) at androidx.loader.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:48) at androidx.loader.content.ModernAsyncTask$2.call(ModernAsyncTask.java:141) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:784) 2019-03-19 00:39:22 5908 [ui.setup.DavResourceFinder] Finding initial caldav service configuration 2019-03-19 00:39:22 5908 [ui.setup.DavResourceFinder] Checking user-given URL: https://caldav.one.com/calendars/users/kevin.woerner@parandum.com/calendar/ 2019-03-19 00:39:22 5908 [HttpClient] --> PROPFIND https://caldav.one.com/calendars/users/kevin.woerner@parandum.com/calendar/ 2019-03-19 00:39:22 5908 [HttpClient] Content-Type: application/xml; charset=utf-8 2019-03-19 00:39:22 5908 [HttpClient] Content-Length: 435 2019-03-19 00:39:22 5908 [HttpClient] Depth: 0 2019-03-19 00:39:22 5908 [HttpClient] 2019-03-19 00:39:22 5908 [HttpClient] <?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> 2019-03-19 00:39:22 5908 [HttpClient] --> END PROPFIND (435-byte body) 2019-03-19 00:39:22 5908 [HttpClient] <-- 401 Unauthorized https://caldav.one.com/calendars/users/kevin.woerner@parandum.com/calendar/ (169ms) 2019-03-19 00:39:22 5908 [HttpClient] Content-Length: 372 2019-03-19 00:39:22 5908 [HttpClient] Content-Type: text/html;charset=utf-8 2019-03-19 00:39:22 5908 [HttpClient] Date: Mon, 18 Mar 2019 23:39:23 GMT 2019-03-19 00:39:22 5908 [HttpClient] Server: Twisted/16.6.0 TwistedWeb/9.0.0 2019-03-19 00:39:22 5908 [HttpClient] Connection: close 2019-03-19 00:39:22 5908 [HttpClient] 2019-03-19 00:39:22 5908 [HttpClient] <html> <head> <title>401 Unauthorized</title> </head> <body> <h1>Unauthorized</h1> You are not authorized to view the resource at /calendars/users/kevin.woerner@parandum.com/calendar/. Perhaps you entered a wrong password, or perhaps your browser doesn't support authentication. </body> </html> 2019-03-19 00:39:22 5908 [HttpClient] <-- END HTTP (372-byte body) 2019-03-19 00:39:22 5908 [ui.setup.DavResourceFinder] PROPFIND/OPTIONS on user-given URL failed EXCEPTION at.bitfire.dav4jvm.exception.UnauthorizedException: HTTP 401 Unauthorized at at.bitfire.dav4jvm.DavResource.checkStatus(DavResource.kt:352) at at.bitfire.dav4jvm.DavResource.checkStatus(DavResource.kt:338) at at.bitfire.dav4jvm.DavResource.processMultiStatus(DavResource.kt:432) at at.bitfire.dav4jvm.DavResource.propfind(DavResource.kt:325) at at.bitfire.davdroid.ui.setup.DavResourceFinder.checkUserGivenURL(DavResourceFinder.kt:196) at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:122) at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:86) at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.kt:136) at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.kt:120) at androidx.loader.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:307) at androidx.loader.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:60) at androidx.loader.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:48) at androidx.loader.content.ModernAsyncTask$2.call(ModernAsyncTask.java:141) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:784) 2019-03-19 00:39:22 5908 [HttpClient] --> PROPFIND https://caldav.one.com/.well-known/caldav 2019-03-19 00:39:22 5908 [HttpClient] Content-Type: application/xml; charset=utf-8 2019-03-19 00:39:22 5908 [HttpClient] Content-Length: 198 2019-03-19 00:39:22 5908 [HttpClient] Depth: 0 2019-03-19 00:39:22 5908 [HttpClient] 2019-03-19 00:39:22 5908 [HttpClient] <?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> 2019-03-19 00:39:22 5908 [HttpClient] --> END PROPFIND (198-byte body) 2019-03-19 00:39:22 5908 [HttpClient] <-- 401 Unauthorized https://caldav.one.com/.well-known/caldav (164ms) 2019-03-19 00:39:22 5908 [HttpClient] Content-Length: 338 2019-03-19 00:39:23 5908 [HttpClient] Content-Type: text/html;charset=utf-8 2019-03-19 00:39:23 5908 [HttpClient] Date: Mon, 18 Mar 2019 23:39:23 GMT 2019-03-19 00:39:23 5908 [HttpClient] Server: Twisted/16.6.0 TwistedWeb/9.0.0 2019-03-19 00:39:23 5908 [HttpClient] Connection: close 2019-03-19 00:39:23 5908 [HttpClient] 2019-03-19 00:39:23 5908 [HttpClient] <html> <head> <title>401 Unauthorized</title> </head> <body> <h1>Unauthorized</h1> You are not authorized to view the resource at /.well-known/caldav. Perhaps you entered a wrong password, or perhaps your browser doesn't support authentication. </body> </html> 2019-03-19 00:39:23 5908 [HttpClient] <-- END HTTP (338-byte body) 2019-03-19 00:39:23 5908 [ui.setup.DavResourceFinder] Well-known URL detection failed EXCEPTION at.bitfire.dav4jvm.exception.UnauthorizedException: HTTP 401 Unauthorized at at.bitfire.dav4jvm.DavResource.checkStatus(DavResource.kt:352) at at.bitfire.dav4jvm.DavResource.checkStatus(DavResource.kt:338) at at.bitfire.dav4jvm.DavResource.processMultiStatus(DavResource.kt:432) at at.bitfire.dav4jvm.DavResource.propfind(DavResource.kt:325) at at.bitfire.davdroid.ui.setup.DavResourceFinder.getCurrentUserPrincipal(DavResourceFinder.kt:392) at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:126) at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:86) at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.kt:136) at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.kt:120) at androidx.loader.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:307) at androidx.loader.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:60) at androidx.loader.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:48) at androidx.loader.content.ModernAsyncTask$2.call(ModernAsyncTask.java:141) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:784) 2019-03-19 00:39:23 5908 [ui.setup.DavResourceFinder] No principal found at user-given URL, trying to discover 2019-03-19 00:39:23 5908 [ui.setup.DavResourceFinder] Looking up SRV records for _caldavs._tcp.caldav.one.com 2019-03-19 00:39:23 5908 [ui.setup.DavResourceFinder] Didn't find caldav service, trying at https://caldav.one.com:443 2019-03-19 00:39:23 5908 [ui.setup.DavResourceFinder] Trying to determine principal from initial context path=https://caldav.one.com/.well-known/caldav 2019-03-19 00:39:23 5908 [HttpClient] --> PROPFIND https://caldav.one.com/.well-known/caldav 2019-03-19 00:39:23 5908 [HttpClient] Content-Type: application/xml; charset=utf-8 2019-03-19 00:39:23 5908 [HttpClient] Content-Length: 198 2019-03-19 00:39:23 5908 [HttpClient] Depth: 0 2019-03-19 00:39:23 5908 [HttpClient] 2019-03-19 00:39:23 5908 [HttpClient] <?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> 2019-03-19 00:39:23 5908 [HttpClient] --> END PROPFIND (198-byte body) 2019-03-19 00:39:23 5908 [HttpClient] <-- 401 Unauthorized https://caldav.one.com/.well-known/caldav (149ms) 2019-03-19 00:39:23 5908 [HttpClient] Content-Length: 338 2019-03-19 00:39:23 5908 [HttpClient] Content-Type: text/html;charset=utf-8 2019-03-19 00:39:23 5908 [HttpClient] Date: Mon, 18 Mar 2019 23:39:24 GMT 2019-03-19 00:39:23 5908 [HttpClient] Server: Twisted/16.6.0 TwistedWeb/9.0.0 2019-03-19 00:39:23 5908 [HttpClient] Connection: close 2019-03-19 00:39:23 5908 [HttpClient] 2019-03-19 00:39:23 5908 [HttpClient] <html> <head> <title>401 Unauthorized</title> </head> <body> <h1>Unauthorized</h1> You are not authorized to view the resource at /.well-known/caldav. Perhaps you entered a wrong password, or perhaps your browser doesn't support authentication. </body> </html> 2019-03-19 00:39:23 5908 [HttpClient] <-- END HTTP (338-byte body) 2019-03-19 00:39:23 5908 [ui.setup.DavResourceFinder] No resource found EXCEPTION at.bitfire.dav4jvm.exception.UnauthorizedException: HTTP 401 Unauthorized at at.bitfire.dav4jvm.DavResource.checkStatus(DavResource.kt:352) at at.bitfire.dav4jvm.DavResource.checkStatus(DavResource.kt:338) at at.bitfire.dav4jvm.DavResource.processMultiStatus(DavResource.kt:432) at at.bitfire.dav4jvm.DavResource.propfind(DavResource.kt:325) at at.bitfire.davdroid.ui.setup.DavResourceFinder.getCurrentUserPrincipal(DavResourceFinder.kt:392) at at.bitfire.davdroid.ui.setup.DavResourceFinder.discoverPrincipalUrl(DavResourceFinder.kt:372) at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:145) at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:86) at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.kt:136) at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.kt:120) at androidx.loader.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:307) at androidx.loader.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:60) at androidx.loader.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:48) at androidx.loader.content.ModernAsyncTask$2.call(ModernAsyncTask.java:141) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:784) 2019-03-19 00:39:23 5908 [ui.setup.DavResourceFinder] Trying to determine principal from initial context path=https://caldav.one.com/ 2019-03-19 00:39:23 5908 [HttpClient] --> PROPFIND https://caldav.one.com/ 2019-03-19 00:39:23 5908 [HttpClient] Content-Type: application/xml; charset=utf-8 2019-03-19 00:39:23 5908 [HttpClient] Content-Length: 198 2019-03-19 00:39:23 5908 [HttpClient] Depth: 0 2019-03-19 00:39:23 5908 [HttpClient] 2019-03-19 00:39:23 5908 [HttpClient] <?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> 2019-03-19 00:39:23 5908 [HttpClient] --> END PROPFIND (198-byte body) 2019-03-19 00:39:23 5908 [HttpClient] <-- 401 Unauthorized https://caldav.one.com/ (150ms) 2019-03-19 00:39:23 5908 [HttpClient] Content-Length: 320 2019-03-19 00:39:23 5908 [HttpClient] Content-Type: text/html;charset=utf-8 2019-03-19 00:39:23 5908 [HttpClient] Date: Mon, 18 Mar 2019 23:39:24 GMT 2019-03-19 00:39:23 5908 [HttpClient] Server: Twisted/16.6.0 TwistedWeb/9.0.0 2019-03-19 00:39:23 5908 [HttpClient] Connection: close 2019-03-19 00:39:23 5908 [HttpClient] 2019-03-19 00:39:23 5908 [HttpClient] <html> <head> <title>401 Unauthorized</title> </head> <body> <h1>Unauthorized</h1> You are not authorized to view the resource at /. Perhaps you entered a wrong password, or perhaps your browser doesn't support authentication. </body> </html> 2019-03-19 00:39:23 5908 [HttpClient] <-- END HTTP (320-byte body) 2019-03-19 00:39:23 5908 [ui.setup.DavResourceFinder] No resource found EXCEPTION at.bitfire.dav4jvm.exception.UnauthorizedException: HTTP 401 Unauthorized at at.bitfire.dav4jvm.DavResource.checkStatus(DavResource.kt:352) at at.bitfire.dav4jvm.DavResource.checkStatus(DavResource.kt:338) at at.bitfire.dav4jvm.DavResource.processMultiStatus(DavResource.kt:432) at at.bitfire.dav4jvm.DavResource.propfind(DavResource.kt:325) at at.bitfire.davdroid.ui.setup.DavResourceFinder.getCurrentUserPrincipal(DavResourceFinder.kt:392) at at.bitfire.davdroid.ui.setup.DavResourceFinder.discoverPrincipalUrl(DavResourceFinder.kt:372) at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:145) at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:86) at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.kt:136) at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.kt:120) at androidx.loader.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:307) at androidx.loader.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:60) at androidx.loader.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:48) at androidx.loader.content.ModernAsyncTask$2.call(ModernAsyncTask.java:141) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:784) SOFTWARE INFORMATION * at.bitfire.davdroid 2.2.3.1-ose (267) from com.google.android.packageinstaller * com.android.providers.contacts 9.1.4.300 (90104300) * com.android.providers.calendar 9.0.4.300 (90004300) * com.android.contacts 9.0.7.301 (90007301) * com.google.android.contacts 3.4.6.234021015 (2191598) from com.android.vending * com.android.calendar 9.0.4.337 (90004337) * com.google.android.calendar 6.0.22-234118388-release (2016124005) from com.android.vending CONNECTIVITY (at the moment) Active connection: WiFi, CONNECTED CONFIGURATION Power saving disabled: yes android.permission.READ_CONTACTS: denied android.permission.WRITE_CONTACTS: denied android.permission.READ_CALENDAR: denied android.permission.WRITE_CALENDAR: denied org.dmfs.permission.READ_TASKS: denied org.dmfs.permission.WRITE_TASKS: denied android.permission.ACCESS_COARSE_LOCATION: denied System-wide synchronization: automatically SQLITE DUMP android_metadata | locale | | en_DE | ---------- services | _id | accountName | service | principal | ---------- sqlite_sequence | name | seq | ---------- homesets | _id | serviceID | url | ---------- collections | _id | serviceID | type | url | privWriteContent | privUnbind | forceReadOnly | displayName | description | color | timezone | supportsVEVENT | supportsVTODO | source | sync | ---------- SYSTEM INFORMATION Android version: 9 (CLT-L29 9.0.0.203(C432E5R1P9)) Device: HUAWEI CLT-L29 (HWCLT) --- END DEBUG INFO ---
-
Hello,
@KevinJW93 said in One.com Couldn't find CalDAV or CardDAV service:
2019-03-19 00:39:21 5908 [HttpClient] <-- 401 Unauthorized https://caldav.one.com/calendars/users/kevin.woerner@parandum.com/calendar/ (316ms)
Thanks for the report!
Your server says that you’re not authorized to access the given URL (wrong username/password). Is there a demo account we can use to try ourselves? Are there instructions from one.com? Did you already contact one.com about this and what are they saying? Do you know which CalDAV/CardDAV server they’re using?
-
Hi RFC,
no I have not talked with One.com about it yet (had been in touch with the support ealier and they do not seem to be the right people to talk about these technical issues if you know what it mean).
Also, I am currently using your competitors app “CalendarSync - CalDAV and more” (which I am not really satisfied with) and the connection works - using the exact same daldav url + username + password.
’
That’s why I suspected it might have to do something with davx5. -
Do you have special characters in your password?
Can you create an email address there for testing? I’d really have to try it our myself to see what’s going on.
-
@rfc2822 Yes, there is an “-” in my password.
If that’s an issue, I will change it!
If not , I can definitely create one email adress for you - thats very kind of you!!
-
@KevinJW93 I just wonder because the server says 401 Unauthorized, which means that username/password are wrong. Do you use two-factor-authentication? Sometimes when copy/paste is used, there are surrounding spaces which cause the problems.
If you could create an email address for testing, I would like to test it and and it to https://www.davx5.com/tested-with/ if it works.
-
Wow, I just found the solution.
I created a new email for you and tested it - and it worked perfectly fine.
So I experimented a bit with my old email (the one that wasnt working) and found out the auto-correct always put in the email with a capital first letter (Kevin.xxxx@xxxx.com)
That was the reason it didnt work.
Thank you for your effrots!
-
@KevinJW93 Thanks for the update! I will try it out and disable auto-correct, if possible.