Aucun service Caldav ou Cardav

Bonjour.
J’utilise Davdroid 1.8.1-ose sous Android (MIUI 8.5). Mon NextCloud est sur un serveur mutualisé OVH pro, sous php 7.0. Jusqu’à la version 11, tout fonctionnait bien.
Depuis j’ai ce problème : à chaque tentative de connexion de Davdroid, j’obtiens le message : aucun service Caldav ou Cardav possible.
Pourtant : mon agenda NC se connecte bien sur mon Agenda Lightning (PC local) et mes contacts se mettent à jour sur mon appli Cardbook (PC local)
Sur Android, Davdroid trouve bien les noms de mes agendas et listes de contacts.
J’ai bien ajouté ‘/^WebDAVFS/’, ‘/^gvfs/’,’/^DAVdroid/’ et ‘/^CalDAV-Sync/’, dans la liste $incompatibleUserAgents (dans lib/base.php) et j’ai essyé de supprimer la compression dans .htaccess. Rien n’y fait.

It’s been more than two months since I no longer sync and no response from the community … I may be abandoning NextCloud and go back to OwnCloud since there seems to be no solution.
I am disappointed.

You need to give more information, e.g. the webserver log files. What URL is your Davdroid asking? It might help to ask such issues in English so that more people can help you.

Excuse me: I spent a lot of time on this problem and I was a little upset. By the way, I do not master much English language.

  1. Agenda and contacts works fine with thunedrbird Lightning and cardBook, an with nextcloud clients.
  2. My NC 12.0.3 is hosted on OVH (OVH Pro) under php 7.0 (the result is always : no service caldav or cardav found)
  3. Below my logs (with my account hidden with “myaccount”

Nextcloud.log :

{“reqId”:“WfjXowoAQUEAABkgD08AAACC”,“level”:2,“time”:“2017-10-31T20:05:55+00:00”,“remoteAddr”:“90.48.171.31”,“user”:"–",“app”:“core”,“method”:“PROPFIND”,“url”:"/remote.php/dav/",“message”:“Login failed: ‘myaccount@testb.dolman.fr’ (Remote IP: ‘90.48.171.31’)”,“userAgent”:“DAVdroid/1.8.1-ose (2017/09/26; dav4android; okhttp3) Android/6.0.1”,“version”:“12.0.3.3”}

DAVdroid 1.8.1-ose debug info :
LOGS:
2017-11-25 13:41:27 4164 [ui.setup.DavResourceFinder] Finding initial carddav service configuration
2017-11-25 13:41:27 4164 [ui.setup.DavResourceFinder] No principal found at user-given URL, trying to discover
2017-11-25 13:41:27 4164 [ui.setup.DavResourceFinder] Looking up SRV records for _carddavs._tcp.testb.dolman.fr
2017-11-25 13:41:27 4164 [ui.setup.DavResourceFinder] Didn’t find carddav service, trying at https://testb.dolman.fr:443
2017-11-25 13:41:27 4164 [ui.setup.DavResourceFinder] Trying to determine principal from initial context path=https://testb.dolman.fr/.well-known/carddav
2017-11-25 13:41:27 4164 [HttpClient] --> PROPFIND https://testb.dolman.fr/.well-known/carddav
2017-11-25 13:41:27 4164 [HttpClient] Content-Type: application/xml; charset=utf-8
2017-11-25 13:41:27 4164 [HttpClient] Content-Length: 198
2017-11-25 13:41:27 4164 [HttpClient] Depth: 0
2017-11-25 13:41:27 4164 [HttpClient]
2017-11-25 13:41:27 4164 [HttpClient] <?xml version='1.0' encoding='UTF-8' ?>
2017-11-25 13:41:27 4164 [HttpClient] --> END PROPFIND (198-byte body)
2017-11-25 13:41:27 4164 [HttpClient] <-- 301 Moved Permanently https://testb.dolman.fr/.well-known/carddav (183ms)
2017-11-25 13:41:27 4164 [HttpClient] Set-Cookie: 90planBAK=R698939582; path=/; expires=Sat, 25-Nov-2017 13:55:53 GMT
2017-11-25 13:41:27 4164 [HttpClient] Date: Sat, 25 Nov 2017 12:41:27 GMT
2017-11-25 13:41:27 4164 [HttpClient] Content-Type: text/html; charset=iso-8859-1
2017-11-25 13:41:27 4164 [HttpClient] Content-Length: 251
2017-11-25 13:41:27 4164 [HttpClient] Set-Cookie: 90plan=R3276146845; path=/; expires=Sat, 25-Nov-2017 13:58:32 GMT
2017-11-25 13:41:27 4164 [HttpClient] Server: Apache
2017-11-25 13:41:27 4164 [HttpClient] X-Content-Type-Options: nosniff
2017-11-25 13:41:27 4164 [HttpClient] X-XSS-Protection: 1; mode=block
2017-11-25 13:41:27 4164 [HttpClient] X-Robots-Tag: none
2017-11-25 13:41:27 4164 [HttpClient] X-Download-Options: noopen
2017-11-25 13:41:27 4164 [HttpClient] X-Permitted-Cross-Domain-Policies: none
2017-11-25 13:41:27 4164 [HttpClient] Strict-Transport-Security: max-age=15768000; includeSubDomains; preload
2017-11-25 13:41:27 4164 [HttpClient] Location: https://testb.dolman.fr:443/remote.php/dav/
2017-11-25 13:41:27 4164 [HttpClient] X-IPLB-Instance: 871
2017-11-25 13:41:27 4164 [HttpClient]
2017-11-25 13:41:27 4164 [HttpClient]

301 Moved Permanently

Moved Permanently

The document has moved here.

2017-11-25 13:41:27 4164 [HttpClient] <-- END HTTP (251-byte body)
2017-11-25 13:41:27 4164 [DavResource] Redirected, new location = https://testb.dolman.fr/remote.php/dav/
2017-11-25 13:41:27 4164 [HttpClient] --> PROPFIND https://testb.dolman.fr/remote.php/dav/
2017-11-25 13:41:27 4164 [HttpClient] Content-Type: application/xml; charset=utf-8
2017-11-25 13:41:27 4164 [HttpClient] Content-Length: 198
2017-11-25 13:41:27 4164 [HttpClient] Depth: 0
2017-11-25 13:41:27 4164 [HttpClient]
2017-11-25 13:41:27 4164 [HttpClient] <?xml version='1.0' encoding='UTF-8' ?>
2017-11-25 13:41:27 4164 [HttpClient] --> END PROPFIND (198-byte body)
2017-11-25 13:41:28 4164 [HttpClient] <-- 207 Multi-Status https://testb.dolman.fr/remote.php/dav/ (831ms)
2017-11-25 13:41:28 4164 [HttpClient] Set-Cookie: 90plan=R3276146845; path=/; expires=Sat, 25-Nov-2017 13:55:53 GMT
2017-11-25 13:41:28 4164 [HttpClient] Date: Sat, 25 Nov 2017 12:41:27 GMT
2017-11-25 13:41:28 4164 [HttpClient] Server: Apache
2017-11-25 13:41:28 4164 [HttpClient] X-Powered-By: PHP/7.0.17
2017-11-25 13:41:28 4164 [HttpClient] Expires: Thu, 19 Nov 1981 08:52:00 GMT
2017-11-25 13:41:28 4164 [HttpClient] Cache-Control: no-store, no-cache, must-revalidate
2017-11-25 13:41:28 4164 [HttpClient] Pragma: no-cache
2017-11-25 13:41:28 4164 [HttpClient] Set-Cookie: oc_sessionPassphrase=qMsVS%2FmrmnJgtL0bBTCBAOt9uOHWv5zsqjJYywzuDM0LGN6cN1Euwt0Onrl%2BJyKqJESnl9eaZ08HEsotm0dwGKOmqGyzAwFOWga%2BAGIdqRWd4NNhDU9h3hfyTLanhE1I; path=/; secure; HttpOnly
2017-11-25 13:41:28 4164 [HttpClient] X-Frame-Options: SAMEORIGIN
2017-11-25 13:41:28 4164 [HttpClient] X-XSS-Protection: 1; mode=block
2017-11-25 13:41:28 4164 [HttpClient] X-Content-Type-Options: nosniff
2017-11-25 13:41:28 4164 [HttpClient] X-Robots-Tag: none
2017-11-25 13:41:28 4164 [HttpClient] X-Download-Options: noopen
2017-11-25 13:41:28 4164 [HttpClient] X-Permitted-Cross-Domain-Policies: none
2017-11-25 13:41:28 4164 [HttpClient] Content-Security-Policy: default-src ‘none’;
2017-11-25 13:41:28 4164 [HttpClient] Set-Cookie: ochk4hp81jqr=3dc9b4b7a8de79585a6cb34c4a852825; path=/; secure; HttpOnly
2017-11-25 13:41:28 4164 [HttpClient] Vary: Brief,Prefer
2017-11-25 13:41:28 4164 [HttpClient] DAV: 1, 3, extended-mkcol, access-control, calendarserver-principal-property-search, calendar-access, calendar-proxy, calendar-auto-schedule, calendar-availability, calendarserver-subscribed, oc-resource-sharing, oc-calendar-publishing, calendarserver-sharing, addressbook, nc-calendar-search
2017-11-25 13:41:28 4164 [HttpClient] Strict-Transport-Security: max-age=15768000; includeSubDomains; preload
2017-11-25 13:41:28 4164 [HttpClient] Transfer-Encoding: chunked
2017-11-25 13:41:28 4164 [HttpClient] Content-Type: application/xml; charset=utf-8
2017-11-25 13:41:28 4164 [HttpClient] X-IPLB-Instance: 871
2017-11-25 13:41:28 4164 [HttpClient]
2017-11-25 13:41:28 4164 [HttpClient] <?xml version="1.0"?>
<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” xmlns:oc=“http://owncloud.org/ns” xmlns:nc=“http://nextcloud.org/ns”><d:response><d:href>/remote.php/dav/</d:href><d:propstat><d:prop><d:current-user-principal><d:href>/remote.php/dav/principals/users/myaccount/</d:href></d:current-user-principal></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response></d:multistatus>
2017-11-25 13:41:28 4164 [HttpClient] <-- END HTTP (540-byte body)
2017-11-25 13:41:28 4164 [DavResource] Received for https://testb.dolman.fr/remote.php/dav/
PARAMETER #0 = [current-user-principal(DAV:): CurrentUserPrincipal(href=/remote.php/dav/principals/users/myaccount/)]
2017-11-25 13:41:28 4164 [ui.setup.DavResourceFinder] Found current-user-principal: https://testb.dolman.fr/remote.php/dav/principals/users/myaccount/
2017-11-25 13:41:28 4164 [HttpClient] --> OPTIONS https://testb.dolman.fr/remote.php/dav/principals/users/myaccount/
2017-11-25 13:41:28 4164 [HttpClient] --> END OPTIONS
2017-11-25 13:41:29 4164 [HttpClient] <-- 200 OK https://testb.dolman.fr/remote.php/dav/principals/users/myaccount/ (327ms)
2017-11-25 13:41:29 4164 [HttpClient] Set-Cookie: 90plan=R3276146845; path=/; expires=Sat, 25-Nov-2017 13:40:55 GMT
2017-11-25 13:41:29 4164 [HttpClient] Date: Sat, 25 Nov 2017 12:41:28 GMT
2017-11-25 13:41:29 4164 [HttpClient] Server: Apache
2017-11-25 13:41:29 4164 [HttpClient] X-Powered-By: PHP/7.0.17
2017-11-25 13:41:29 4164 [HttpClient] Expires: Thu, 19 Nov 1981 08:52:00 GMT
2017-11-25 13:41:29 4164 [HttpClient] Cache-Control: no-store, no-cache, must-revalidate
2017-11-25 13:41:29 4164 [HttpClient] Pragma: no-cache
2017-11-25 13:41:29 4164 [HttpClient] X-Frame-Options: SAMEORIGIN
2017-11-25 13:41:29 4164 [HttpClient] X-XSS-Protection: 1; mode=block
2017-11-25 13:41:29 4164 [HttpClient] X-Content-Type-Options: nosniff
2017-11-25 13:41:29 4164 [HttpClient] X-Robots-Tag: none
2017-11-25 13:41:29 4164 [HttpClient] X-Download-Options: noopen
2017-11-25 13:41:29 4164 [HttpClient] X-Permitted-Cross-Domain-Policies: none
2017-11-25 13:41:29 4164 [HttpClient] Set-Cookie: nc_username=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; secure; HttpOnly

(part 2) :
2017-11-25 13:41:29 4164 [HttpClient] Set-Cookie: nc_token=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; secure; HttpOnly
2017-11-25 13:41:29 4164 [HttpClient] Set-Cookie: nc_session_id=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; secure; HttpOnly
2017-11-25 13:41:29 4164 [HttpClient] Set-Cookie: nc_username=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; secure; HttpOnly
2017-11-25 13:41:29 4164 [HttpClient] Set-Cookie: nc_token=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; secure; HttpOnly
2017-11-25 13:41:29 4164 [HttpClient] Set-Cookie: nc_session_id=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; secure; HttpOnly
2017-11-25 13:41:29 4164 [HttpClient] Content-Security-Policy: default-src ‘none’;
2017-11-25 13:41:29 4164 [HttpClient] Set-Cookie: ochk4hp81jqr=75b3c68e0859d70a291b1cae5eae4064; path=/; secure; HttpOnly
2017-11-25 13:41:29 4164 [HttpClient] Allow: OPTIONS, GET, HEAD, DELETE, PROPFIND, PUT, PROPPATCH, COPY, MOVE, REPORT
2017-11-25 13:41:29 4164 [HttpClient] DAV: 1, 3, extended-mkcol, access-control, calendarserver-principal-property-search, calendar-access, calendar-proxy, calendar-auto-schedule, calendar-availability, calendarserver-subscribed, oc-resource-sharing, oc-calendar-publishing, calendarserver-sharing, addressbook, nc-calendar-search
2017-11-25 13:41:29 4164 [HttpClient] MS-Author-Via: DAV
2017-11-25 13:41:29 4164 [HttpClient] Accept-Ranges: bytes
2017-11-25 13:41:29 4164 [HttpClient] Strict-Transport-Security: max-age=15768000; includeSubDomains; preload
2017-11-25 13:41:29 4164 [HttpClient] Vary: Accept-Encoding
2017-11-25 13:41:29 4164 [HttpClient] Content-Type: text/html; charset=UTF-8
2017-11-25 13:41:29 4164 [HttpClient] X-IPLB-Instance: 871
2017-11-25 13:41:29 4164 [ui.setup.DavResourceFinder] Couldn’t detect services on https://testb.dolman.fr/remote.php/dav/principals/users/myaccount/
EXCEPTION java.io.EOFException
at okio.RealBufferedSource.require(RealBufferedSource.java:60)
at okio.GzipSource.consumeHeader(GzipSource.java:114)
at okio.GzipSource.read(GzipSource.java:73)
at okio.RealBufferedSource.request(RealBufferedSource.java:67)
at okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.java:240)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200)
at okhttp3.RealCall.execute(RealCall.java:77)
at at.bitfire.dav4android.DavResource.options(DavResource.kt:80)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.providesService(DavResourceFinder.kt:266)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.getCurrentUserPrincipal(DavResourceFinder.kt:364)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.discoverPrincipalUrl(DavResourceFinder.kt:337)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:118)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:68)
at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.kt:131)
at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.kt:112)
at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:312)
at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:69)
at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:66)
at android.os.AsyncTask$2.call(AsyncTask.java:304)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:760)

2017-11-25 13:41:29 4164 [ui.setup.DavResourceFinder] No resource found
EXCEPTION java.io.EOFException
at okio.RealBufferedSource.require(RealBufferedSource.java:60)
at okio.GzipSource.consumeHeader(GzipSource.java:114)
at okio.GzipSource.read(GzipSource.java:73)
at okio.RealBufferedSource.request(RealBufferedSource.java:67)
at okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.java:240)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200)
at okhttp3.RealCall.execute(RealCall.java:77)
at at.bitfire.dav4android.DavResource.options(DavResource.kt:80)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.providesService(DavResourceFinder.kt:266)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.getCurrentUserPrincipal(DavResourceFinder.kt:364)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.discoverPrincipalUrl(DavResourceFinder.kt:337)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:118)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:68)
at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.kt:131)
at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.kt:112)
at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:312)
at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:69)
at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:66)
at android.os.AsyncTask$2.call(AsyncTask.java:304)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:760)

2017-11-25 13:41:29 4164 [ui.setup.DavResourceFinder] Trying to determine principal from initial context path=https://testb.dolman.fr/
2017-11-25 13:41:29 4164 [HttpClient] --> PROPFIND https://testb.dolman.fr/
2017-11-25 13:41:29 4164 [HttpClient] Content-Type: application/xml; charset=utf-8
2017-11-25 13:41:29 4164 [HttpClient] Content-Length: 198
2017-11-25 13:41:29 4164 [HttpClient] Depth: 0
2017-11-25 13:41:29 4164 [HttpClient]
2017-11-25 13:41:29 4164 [HttpClient] <?xml version='1.0' encoding='UTF-8' ?>
2017-11-25 13:41:29 4164 [HttpClient] --> END PROPFIND (198-byte body)
2017-11-25 13:41:30 4164 [HttpClient] <-- 405 Method Not Allowed https://testb.dolman.fr/ (1639ms)
2017-11-25 13:41:30 4164 [HttpClient] Set-Cookie: 90plan=R3276146845; path=/; expires=Sat, 25-Nov-2017 13:40:55 GMT
2017-11-25 13:41:30 4164 [HttpClient] Date: Sat, 25 Nov 2017 12:41:28 GMT
2017-11-25 13:41:30 4164 [HttpClient] Server: Apache
2017-11-25 13:41:30 4164 [HttpClient] X-Powered-By: PHP/7.0.17
2017-11-25 13:41:30 4164 [HttpClient] Expires: Thu, 19 Nov 1981 08:52:00 GMT
2017-11-25 13:41:30 4164 [HttpClient] Cache-Control: no-store, no-cache, must-revalidate
2017-11-25 13:41:30 4164 [HttpClient] Pragma: no-cache
2017-11-25 13:41:30 4164 [HttpClient] Content-Security-Policy: default-src ‘self’; script-src ‘self’ ‘unsafe-eval’ ‘nonce-ckRhZE9DSUEvTGc4dVdxTXdUclNscWE5U1RhS01od0R2TGorK1F2MC9YTT06M1EvOENCb3dqdFpLaVZ6VnQxTzMwc09NSjBQWmRYbFZoT0xLam1TVHBTUT0=’; style-src ‘self’ ‘unsafe-inline’; frame-src *; img-src * data: blob:; font-src ‘self’ data:; media-src *; connect-src *; object-src ‘none’; base-uri ‘self’;
2017-11-25 13:41:30 4164 [HttpClient] X-Frame-Options: SAMEORIGIN
2017-11-25 13:41:30 4164 [HttpClient] X-XSS-Protection: 1; mode=block
2017-11-25 13:41:30 4164 [HttpClient] X-Content-Type-Options: nosniff
2017-11-25 13:41:30 4164 [HttpClient] X-Robots-Tag: none
2017-11-25 13:41:30 4164 [HttpClient] X-Download-Options: noopen
2017-11-25 13:41:30 4164 [HttpClient] X-Permitted-Cross-Domain-Policies: none
2017-11-25 13:41:30 4164 [HttpClient] Set-Cookie: nc_username=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; secure; HttpOnly
2017-11-25 13:41:30 4164 [HttpClient] Set-Cookie: nc_token=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; secure; HttpOnly
2017-11-25 13:41:30 4164 [HttpClient] Set-Cookie: nc_session_id=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; secure; HttpOnly
2017-11-25 13:41:30 4164 [HttpClient] Set-Cookie: nc_username=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; secure; HttpOnly
2017-11-25 13:41:30 4164 [HttpClient] Set-Cookie: nc_token=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; secure; HttpOnly
2017-11-25 13:41:30 4164 [HttpClient] Set-Cookie: nc_session_id=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; secure; HttpOnly
2017-11-25 13:41:30 4164 [HttpClient] Set-Cookie: ochk4hp81jqr=849eab68d37c83498d1c2c96aedbaa93; path=/; secure; HttpOnly
2017-11-25 13:41:30 4164 [HttpClient] Strict-Transport-Security: max-age=15768000; includeSubDomains; preload
2017-11-25 13:41:30 4164 [HttpClient] Transfer-Encoding: chunked
2017-11-25 13:41:30 4164 [HttpClient] Content-Type: text/html; charset=UTF-8
2017-11-25 13:41:30 4164 [HttpClient] X-IPLB-Instance: 871
2017-11-25 13:41:30 4164 [HttpClient]
2017-11-25 13:41:30 4164 [HttpClient]
2017-11-25 13:41:30 4164 [HttpClient] <-- END HTTP (0-byte body)
2017-11-25 13:41:30 4164 [ui.setup.DavResourceFinder] No resource found
EXCEPTION at.bitfire.dav4android.exception.HttpException: 405 Method Not Allowed
at at.bitfire.dav4android.DavResource.checkStatus(DavResource.kt:331)
at at.bitfire.dav4android.DavResource.checkStatus(DavResource.kt:295)
at at.bitfire.dav4android.DavResource.propfind(DavResource.kt:271)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.getCurrentUserPrincipal(DavResourceFinder.kt:355)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.discoverPrincipalUrl(DavResourceFinder.kt:337)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:118)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:68)
at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.kt:131)
at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.kt:112)
at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:312)
at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:69)
at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:66)
at android.os.AsyncTask$2.call(AsyncTask.java:304)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:760)

2017-11-25 13:41:30 4164 [ui.setup.DavResourceFinder] Finding initial caldav service configuration
2017-11-25 13:41:30 4164 [ui.setup.DavResourceFinder] No principal found at user-given URL, trying to discover
2017-11-25 13:41:30 4164 [ui.setup.DavResourceFinder] Looking up SRV records for _caldavs._tcp.testb.dolman.fr
2017-11-25 13:41:30 4164 [ui.setup.DavResourceFinder] Didn’t find caldav service, trying at https://testb.dolman.fr:443
2017-11-25 13:41:30 4164 [ui.setup.DavResourceFinder] Trying to determine principal from initial context path=https://testb.dolman.fr/.well-known/caldav
2017-11-25 13:41:30 4164 [HttpClient] --> PROPFIND https://testb.dolman.fr/.well-known/caldav
2017-11-25 13:41:30 4164 [HttpClient] Content-Type: application/xml; charset=utf-8
2017-11-25 13:41:30 4164 [HttpClient] Content-Length: 198
2017-11-25 13:41:30 4164 [HttpClient] Depth: 0
2017-11-25 13:41:30 4164 [HttpClient]
2017-11-25 13:41:30 4164 [HttpClient] <?xml version='1.0' encoding='UTF-8' ?>
2017-11-25 13:41:30 4164 [HttpClient] --> END PROPFIND (198-byte body)
2017-11-25 13:41:30 4164 [HttpClient] <-- 301 Moved Permanently https://testb.dolman.fr/.well-known/caldav (113ms)
2017-11-25 13:41:30 4164 [HttpClient] Set-Cookie: 90plan=R3276146845; path=/; expires=Sat, 25-Nov-2017 13:58:32 GMT
2017-11-25 13:41:30 4164 [HttpClient] Date: Sat, 25 Nov 2017 12:41:30 GMT
2017-11-25 13:41:30 4164 [HttpClient] Server: Apache
2017-11-25 13:41:30 4164 [HttpClient] X-Content-Type-Options: nosniff
2017-11-25 13:41:30 4164 [HttpClient] X-XSS-Protection: 1; mode=block
2017-11-25 13:41:30 4164 [HttpClient] X-Robots-Tag: none
2017-11-25 13:41:30 4164 [HttpClient] X-Download-Options: noopen
2017-11-25 13:41:30 4164 [HttpClient] X-Permitted-Cross-Domain-Policies: none
2017-11-25 13:41:30 4164 [HttpClient] Strict-Transport-Security: max-age=15768000; includeSubDomains; preload
2017-11-25 13:41:30 4164 [HttpClient] Location: https://testb.dolman.fr:443/remote.php/dav/
2017-11-25 13:41:30 4164 [HttpClient] Content-Length: 251
2017-11-25 13:41:30 4164 [HttpClient] Content-Type: text/html; charset=iso-8859-1
2017-11-25 13:41:30 4164 [HttpClient] X-IPLB-Instance: 871
2017-11-25 13:41:30 4164 [HttpClient]
2017-11-25 13:41:30 4164 [HttpClient]

301 Moved Permanently

Moved Permanently

The document has moved here.

2017-11-25 13:41:30 4164 [HttpClient] <-- END HTTP (251-byte body)
2017-11-25 13:41:30 4164 [DavResource] Redirected, new location = https://testb.dolman.fr/remote.php/dav/
2017-11-25 13:41:30 4164 [HttpClient] --> PROPFIND https://testb.dolman.fr/remote.php/dav/
2017-11-25 13:41:30 4164 [HttpClient] Content-Type: application/xml; charset=utf-8
2017-11-25 13:41:30 4164 [HttpClient] Content-Length: 198
2017-11-25 13:41:30 4164 [HttpClient] Depth: 0
2017-11-25 13:41:30 4164 [HttpClient]
2017-11-25 13:41:30 4164 [HttpClient] <?xml version='1.0' encoding='UTF-8' ?>
2017-11-25 13:41:30 4164 [HttpClient] --> END PROPFIND (198-byte body)
2017-11-25 13:41:32 4164 [HttpClient] <-- 207 Multi-Status https://testb.dolman.fr/remote.php/dav/ (1898ms)
2017-11-25 13:41:32 4164 [HttpClient] Set-Cookie: 90plan=R3276146845; path=/; expires=Sat, 25-Nov-2017 13:54:16 GMT
2017-11-25 13:41:32 4164 [HttpClient] Date: Sat, 25 Nov 2017 12:41:30 GMT
2017-11-25 13:41:32 4164 [HttpClient] Server: Apache
2017-11-25 13:41:32 4164 [HttpClient] X-Powered-By: PHP/7.0.17
2017-11-25 13:41:32 4164 [HttpClient] Expires: Thu, 19 Nov 1981 08:52:00 GMT
2017-11-25 13:41:32 4164 [HttpClient] Cache-Control: no-store, no-cache, must-revalidate
2017-11-25 13:41:32 4164 [HttpClient] Pragma: no-cache
2017-11-25 13:41:32 4164 [HttpClient] X-Frame-Options: SAMEORIGIN
2017-11-25 13:41:32 4164 [HttpClient] X-XSS-Protection: 1; mode=block
2017-11-25 13:41:32 4164 [HttpClient] X-Content-Type-Options: nosniff
2017-11-25 13:41:32 4164 [HttpClient] X-Robots-Tag: none
2017-11-25 13:41:32 4164 [HttpClient] X-Download-Options: noopen
2017-11-25 13:41:32 4164 [HttpClient] X-Permitted-Cross-Domain-Policies: none
2017-11-25 13:41:32 4164 [HttpClient] Set-Cookie: nc_username=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; secure; HttpOnly
2017-11-25 13:41:32 4164 [HttpClient] Set-Cookie: nc_token=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; secure; HttpOnly
2017-11-25 13:41:32 4164 [HttpClient] Set-Cookie: nc_session_id=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; secure; HttpOnly
2017-11-25 13:41:32 4164 [HttpClient] Set-Cookie: nc_username=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; secure; HttpOnly
2017-11-25 13:41:32 4164 [HttpClient] Set-Cookie: nc_token=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; secure; HttpOnly
2017-11-25 13:41:32 4164 [HttpClient] Set-Cookie: nc_session_id=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; secure; HttpOnly
2017-11-25 13:41:32 4164 [HttpClient] Content-Security-Policy: default-src ‘none’;
2017-11-25 13:41:32 4164 [HttpClient] Set-Cookie: ochk4hp81jqr=542c1c8058ca4536e859cb9dc252d1e0; path=/; secure; HttpOnly
2017-11-25 13:41:32 4164 [HttpClient] Vary: Brief,Prefer
2017-11-25 13:41:32 4164 [HttpClient] DAV: 1, 3, extended-mkcol, access-control, calendarserver-principal-property-search, calendar-access, calendar-proxy, calendar-auto-schedule, calendar-availability, calendarserver-subscribed, oc-resource-sharing, oc-calendar-publishing, calendarserver-sharing, addressbook, nc-calendar-search
2017-11-25 13:41:32 4164 [HttpClient] Strict-Transport-Security: max-age=15768000; includeSubDomains; preload
2017-11-25 13:41:32 4164 [HttpClient] Transfer-Encoding: chunked
2017-11-25 13:41:32 4164 [HttpClient] Content-Type: application/xml; charset=utf-8
2017-11-25 13:41:32 4164 [HttpClient] X-IPLB-Instance: 871
2017-11-25 13:41:32 4164 [HttpClient]
2017-11-25 13:41:32 4164 [HttpClient] <?xml version="1.0"?>
<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” xmlns:oc=“http://owncloud.org/ns” xmlns:nc=“http://nextcloud.org/ns”><d:response><d:href>/remote.php/dav/</d:href><d:propstat><d:prop><d:current-user-principal><d:href>/remote.php/dav/principals/users/myaccount/</d:href></d:current-user-principal></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response></d:multistatus>
2017-11-25 13:41:32 4164 [HttpClient] <-- END HTTP (540-byte body)
2017-11-25 13:41:32 4164 [DavResource] Received for https://testb.dolman.fr/remote.php/dav/
PARAMETER #0 = [current-user-principal(DAV:): CurrentUserPrincipal(href=/remote.php/dav/principals/users/myaccount/)]
2017-11-25 13:41:32 4164 [ui.setup.DavResourceFinder] Found current-user-principal: https://testb.dolman.fr/remote.php/dav/principals/users/myaccount/
2017-11-25 13:41:32 4164 [HttpClient] --> OPTIONS https://testb.dolman.fr/remote.php/dav/principals/users/myaccount/
2017-11-25 13:41:32 4164 [HttpClient] --> END OPTIONS
2017-11-25 13:41:33 4164 [HttpClient] <-- 200 OK https://testb.dolman.fr/remote.php/dav/principals/users/myaccount/ (676ms)
2017-11-25 13:41:33 4164 [HttpClient] Set-Cookie: 90plan=R3276146845; path=/; expires=Sat, 25-Nov-2017 13:55:53 GMT
2017-11-25 13:41:33 4164 [HttpClient] Date: Sat, 25 Nov 2017 12:41:32 GMT
2017-11-25 13:41:33 4164 [HttpClient] Server: Apache
2017-11-25 13:41:33 4164 [HttpClient] X-Powered-By: PHP/7.0.17
2017-11-25 13:41:33 4164 [HttpClient] Expires: Thu, 19 Nov 1981 08:52:00 GMT
2017-11-25 13:41:33 4164 [HttpClient] Cache-Control: no-store, no-cache, must-revalidate
2017-11-25 13:41:33 4164 [HttpClient] Pragma: no-cache
2017-11-25 13:41:33 4164 [HttpClient] X-Frame-Options: SAMEORIGIN
2017-11-25 13:41:33 4164 [HttpClient] X-XSS-Protection: 1; mode=block
2017-11-25 13:41:33 4164 [HttpClient] X-Content-Type-Options: nosniff
2017-11-25 13:41:33 4164 [HttpClient] X-Robots-Tag: none
2017-11-25 13:41:33 4164 [HttpClient] X-Download-Options: noopen
2017-11-25 13:41:33 4164 [HttpClient] X-Permitted-Cross-Domain-Policies: none
2017-11-25 13:41:33 4164 [HttpClient] Set-Cookie: nc_username=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; secure; HttpOnly
2017-11-25 13:41:33 4164 [HttpClient] Set-Cookie: nc_token=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; secure; HttpOnly
2017-11-25 13:41:33 4164 [HttpClient] Set-Cookie: nc_session_id=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; secure; HttpOnly
2017-11-25 13:41:33 4164 [HttpClient] Set-Cookie: nc_username=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; secure; HttpOnly
2017-11-25 13:41:33 4164 [HttpClient] Set-Cookie: nc_token=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; secure; HttpOnly
2017-11-25 13:41:33 4164 [HttpClient] Set-Cookie: nc_session_id=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; secure; HttpOnly
2017-11-25 13:41:33 4164 [HttpClient] Content-Security-Policy: default-src ‘none’;
2017-11-25 13:41:33 4164 [HttpClient] Set-Cookie: ochk4hp81jqr=ab5e7ca4e7e9f75d3b068863848f08c9; path=/; secure; HttpOnly
2017-11-25 13:41:33 4164 [HttpClient] Allow: OPTIONS, GET, HEAD, DELETE, PROPFIND, PUT, PROPPATCH, COPY, MOVE, REPORT
2017-11-25 13:41:33 4164 [HttpClient] DAV: 1, 3, extended-mkcol, access-control, calendarserver-principal-property-search, calendar-access, calendar-proxy, calendar-auto-schedule, calendar-availability, calendarserver-subscribed, oc-resource-sharing, oc-calendar-publishing, calendarserver-sharing, addressbook, nc-calendar-search
2017-11-25 13:41:33 4164 [HttpClient] MS-Author-Via: DAV
2017-11-25 13:41:33 4164 [HttpClient] Accept-Ranges: bytes
2017-11-25 13:41:33 4164 [HttpClient] Strict-Transport-Security: max-age=15768000; includeSubDomains; preload
2017-11-25 13:41:33 4164 [HttpClient] Vary: Accept-Encoding
2017-11-25 13:41:33 4164 [HttpClient] Content-Type: text/html; charset=UTF-8
2017-11-25 13:41:33 4164 [HttpClient] X-IPLB-Instance: 871
2017-11-25 13:41:33 4164 [ui.setup.DavResourceFinder] Couldn’t detect services on https://testb.dolman.fr/remote.php/dav/principals/users/myaccount/
EXCEPTION java.io.EOFException
at okio.RealBufferedSource.require(RealBufferedSource.java:60)
at okio.GzipSource.consumeHeader(GzipSource.java:114)
at okio.GzipSource.read(GzipSource.java:73)
at okio.RealBufferedSource.request(RealBufferedSource.java:67)
at okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.java:240)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200)
at okhttp3.RealCall.execute(RealCall.java:77)
at at.bitfire.dav4android.DavResource.options(DavResource.kt:80)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.providesService(DavResourceFinder.kt:266)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.getCurrentUserPrincipal(DavResourceFinder.kt:364)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.discoverPrincipalUrl(DavResourceFinder.kt:337)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:118)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:69)
at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.kt:131)
at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.kt:112)
at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:312)
at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:69)
at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:66)
at android.os.AsyncTask$2.call(AsyncTask.java:304)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:760)

2017-11-25 13:41:33 4164 [ui.setup.DavResourceFinder] No resource found
EXCEPTION java.io.EOFException
at okio.RealBufferedSource.require(RealBufferedSource.java:60)
at okio.GzipSource.consumeHeader(GzipSource.java:114)
at okio.GzipSource.read(GzipSource.java:73)
at okio.RealBufferedSource.request(RealBufferedSource.java:67)
at okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.java:240)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200)
at okhttp3.RealCall.execute(RealCall.java:77)
at at.bitfire.dav4android.DavResource.options(DavResource.kt:80)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.providesService(DavResourceFinder.kt:266)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.getCurrentUserPrincipal(DavResourceFinder.kt:364)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.discoverPrincipalUrl(DavResourceFinder.kt:337)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:118)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:69)
at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.kt:131)
at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.kt:112)
at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:312)
at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:69)
at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:66)
at android.os.AsyncTask$2.call(AsyncTask.java:304)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:760)

2017-11-25 13:41:33 4164 [ui.setup.DavResourceFinder] Trying to determine principal from initial context path=https://testb.dolman.fr/
2017-11-25 13:41:33 4164 [HttpClient] --> PROPFIND https://testb.dolman.fr/
2017-11-25 13:41:33 4164 [HttpClient] Content-Type: application/xml; charset=utf-8
2017-11-25 13:41:33 4164 [HttpClient] Content-Length: 198
2017-11-25 13:41:33 4164 [HttpClient] Depth: 0
2017-11-25 13:41:33 4164 [HttpClient]
2017-11-25 13:41:33 4164 [HttpClient] <?xml version='1.0' encoding='UTF-8' ?>
2017-11-25 13:41:33 4164 [HttpClient] --> END PROPFIND (198-byte body)
2017-11-25 13:41:35 4164 [HttpClient] <-- 405 Method Not Allowed https://testb.dolman.fr/ (1872ms)
2017-11-25 13:41:35 4164 [HttpClient] Set-Cookie: 90plan=R3276146845; path=/; expires=Sat, 25-Nov-2017 13:40:45 GMT
2017-11-25 13:41:35 4164 [HttpClient] Date: Sat, 25 Nov 2017 12:41:33 GMT
2017-11-25 13:41:35 4164 [HttpClient] Server: Apache
2017-11-25 13:41:35 4164 [HttpClient] X-Powered-By: PHP/7.0.17
2017-11-25 13:41:35 4164 [HttpClient] Expires: Thu, 19 Nov 1981 08:52:00 GMT
2017-11-25 13:41:35 4164 [HttpClient] Cache-Control: no-store, no-cache, must-revalidate
2017-11-25 13:41:35 4164 [HttpClient] Pragma: no-cache
2017-11-25 13:41:35 4164 [HttpClient] Content-Security-Policy: default-src ‘self’; script-src ‘self’ ‘unsafe-eval’ ‘nonce-YjlxODlxbXQzclZaWUtPMkxDN2NRZE5rMmFFS21JUDNxcnBRS0pKcFo1ST06SHVQZHhwR2RyTnN2VUpYdldrZTVCYlpWdDlSWjMrYWhrdUJrWC8wT1A4VT0=’; style-src ‘self’ ‘unsafe-inline’; frame-src *; img-src * data: blob:; font-src ‘self’ data:; media-src *; connect-src *; object-src ‘none’; base-uri ‘self’;
2017-11-25 13:41:35 4164 [HttpClient] X-Frame-Options: SAMEORIGIN
2017-11-25 13:41:35 4164 [HttpClient] X-XSS-Protection: 1; mode=block
2017-11-25 13:41:35 4164 [HttpClient] X-Content-Type-Options: nosniff
2017-11-25 13:41:35 4164 [HttpClient] X-Robots-Tag: none
2017-11-25 13:41:35 4164 [HttpClient] X-Download-Options: noopen
2017-11-25 13:41:35 4164 [HttpClient] X-Permitted-Cross-Domain-Policies: none
2017-11-25 13:41:35 4164 [HttpClient] Set-Cookie: nc_username=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; secure; HttpOnly
2017-11-25 13:41:35 4164 [HttpClient] Set-Cookie: nc_token=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; secure; HttpOnly
2017-11-25 13:41:35 4164 [HttpClient] Set-Cookie: nc_session_id=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; secure; HttpOnly
2017-11-25 13:41:35 4164 [HttpClient] Set-Cookie: nc_username=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; secure; HttpOnly
2017-11-25 13:41:35 4164 [HttpClient] Set-Cookie: nc_token=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; secure; HttpOnly
2017-11-25 13:41:35 4164 [HttpClient] Set-Cookie: nc_session_id=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; secure; HttpOnly
2017-11-25 13:41:35 4164 [HttpClient] Set-Cookie: ochk4hp81jqr=4aa5adf35f2f5d456d1bfa259a840264; path=/; secure; HttpOnly
2017-11-25 13:41:35 4164 [HttpClient] Strict-Transport-Security: max-age=15768000; includeSubDomains; preload
2017-11-25 13:41:35 4164 [HttpClient] Transfer-Encoding: chunked
2017-11-25 13:41:35 4164 [HttpClient] Content-Type: text/html; charset=UTF-8
2017-11-25 13:41:35 4164 [HttpClient] X-IPLB-Instance: 871
2017-11-25 13:41:35 4164 [HttpClient]
2017-11-25 13:41:35 4164 [HttpClient]
2017-11-25 13:41:35 4164 [HttpClient] <-- END HTTP (0-byte body)
2017-11-25 13:41:35 4164 [ui.setup.DavResourceFinder] No resource found
EXCEPTION at.bitfire.dav4android.exception.HttpException: 405 Method Not Allowed
at at.bitfire.dav4android.DavResource.checkStatus(DavResource.kt:331)
at at.bitfire.dav4android.DavResource.checkStatus(DavResource.kt:295)
at at.bitfire.dav4android.DavResource.propfind(DavResource.kt:271)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.getCurrentUserPrincipal(DavResourceFinder.kt:355)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.discoverPrincipalUrl(DavResourceFinder.kt:337)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:118)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:69)
at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.kt:131)
at at.bitfire.davdroid.ui.setup.DetectConfigurationFragment$ServerConfigurationLoader.loadInBackground(DetectConfigurationFragment.kt:112)
at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:312)
at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:69)
at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:66)
at android.os.AsyncTask$2.call(AsyncTask.java:304)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:760)

SOFTWARE INFORMATION
Package: at.bitfire.davdroid
Version: 1.8.1-ose (172) from 26 sept. 2017
Installed from: APK (directly)
JB Workaround installed: no

CONNECTIVITY (at the moment)
Active connection: WiFi, CONNECTED

CONFIGURATION
Power saving disabled: yes
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
Account: myaccount@testb.dolman.fr
Address book sync. interval: 60 min
Calendar sync. interval: 240 min
OpenTasks sync. interval: 240 min
WiFi only: true
[CardDAV] Contact group method: CATEGORIES
[CalDAV] Time range (past days): 90
Manage calendar colors: true

SQLITE DUMP
android_metadata
	|  locale |
	|  fr_FR |
----------
settings
	|  setting | value |
	|  time_nextDonationPopup | 1511728494860 |
	|  overrideProxy | 0 |
	|  distrustSystemCerts | 0 |
	|  logToExternalStorage | 0 |
----------
services
	|  _id | accountName | service | principal |
	|  3 | myaccount@testb.dolman.fr | carddav | <null> |
	|  4 | myaccount@testb.dolman.fr | caldav | <null> |
----------
sqlite_sequence
	|  name | seq |
	|  services | 21 |
	|  homesets | 41 |
	|  collections | 74 |
----------
homesets
	|  _id | serviceID | url |
	|  40 | 3 | https://testb.dolman.fr/remote.php/dav/addressbooks/users/myaccount/ |
	|  41 | 4 | https://testb.dolman.fr/remote.php/dav/calendars/myaccount/ |
----------
collections
	|  _id | serviceID | type | url | readOnly | displayName | description | color | timezone | supportsVEVENT | supportsVTODO | source | sync |
	|  67 | 3 | ADDRESS_BOOK | https://testb.dolman.fr/remote.php/dav/addressbooks/users/myaccount/MesContacts/ | 0 | MesContacts | <null> | <null> | <null> | 0 | 0 | <null> | 1 |
	|  72 | 4 | CALENDAR | https://testb.dolman.fr/remote.php/dav/calendars/myaccount/7e58580e-749e-4c13-9f13-a2268d119c28/ | 0 | Mon Calendrier | Sur Mon Cloud | -16772097 | <null> | 1 | 1 | <null> | 1 |
	|  73 | 4 | CALENDAR | https://testb.dolman.fr/remote.php/dav/calendars/myaccount/contact_birthdays/ | 1 | Anniversaires des contacts | <null> | -54 | <null> | 1 | 1 | <null> | 1 |
	|  74 | 4 | CALENDAR | https://testb.dolman.fr/remote.php/dav/calendars/myaccount/personal/ | 0 | Personnel | <null> | -9115694 | <null> | 1 | 1 | <null> | 1 |
----------

SYSTEM INFORMATION
Android version: 7.0 (NRD90M)
Device: Xiaomi MI 5s Plus (natrium)

--- END DEBUG INFO ---

Apache log :
V.223.253.31 testb.dolman.fr - [25/Nov/2017:13:33:50 +0100] “PROPFIND /remote.php/dav/ HTTP/1.1” 207 540 “-” "DAVdroid/1.8.1-ose (2017/09/26; dav4android; okhttp3) Android/7.0"
86.223.253.31 testb.dolman.fr - [25/Nov/2017:13:33:53 +0100] “OPTIONS /remote.php/dav/principals/users/myaccount/ HTTP/1.1” 200 25 “-” "DAVdroid/1.8.1-ose (2017/09/26; dav4android; okhttp3) Android/7.0"
86.223.253.31 testb.dolman.fr - [25/Nov/2017:13:33:54 +0100] “PROPFIND / HTTP/1.1” 405 - “-” "DAVdroid/1.8.1-ose (2017/09/26; dav4android; okhttp3) Android/7.0"
86.223.253.31 testb.dolman.fr - [25/Nov/2017:13:33:56 +0100] “PROPFIND /.well-known/caldav HTTP/1.1” 301 251 “-” "DAVdroid/1.8.1-ose (2017/09/26; dav4android; okhttp3) Android/7.0"
86.223.253.31 testb.dolman.fr - [25/Nov/2017:13:33:56 +0100] “PROPFIND /remote.php/dav/ HTTP/1.1” 207 540 “-” "DAVdroid/1.8.1-ose (2017/09/26; dav4android; okhttp3) Android/7.0"
86.223.253.31 testb.dolman.fr - [25/Nov/2017:13:33:57 +0100] “OPTIONS /remote.php/dav/principals/users/myaccount/ HTTP/1.1” 200 25 “-” "DAVdroid/1.8.1-ose (2017/09/26; dav4android; okhttp3) Android/7.0"
86.223.253.31 testb.dolman.fr - [25/Nov/2017:13:33:59 +0100] “PROPFIND / HTTP/1.1” 405 - “-” “DAVdroid/1.8.1-ose (2017/09/26; dav4android; okhttp3) Android/7.0”

Thanks

I don’t use it myself and I don’t really know why it fails. @davdroid might know more and can perhaps help you.

Maybe your resources have moved internally with NC 12. Try to refresh the calendars inside your DAVdroid account. Does DAVdroid find your calendars? You can try the same with the address books (refresh).

If you create a new account besides the existing one, does DAVdroid find your resources by using this URL:

https://testb.dolman.fr/remote.php/dav/

Nevertheless, besides all that: the EOF exception appears when the server interrupts the connection. This can happen if your resources can’t be processed (e.g. maybe unicode smilies or so are present in the title of a contact or event while using mysql without real utf-8 support)

It’s not a DAVdroid problem…

Thank you for your reply. I do not think the problem comes from DavDroid either. The problem appeared when I went from NC 11.0 to NC11.xx and was not solved by NC 12. As I, at the same time, changed my smartphone, I tried with the old and with a tablet: the problem remains. I also tried to use another user with a simple password: it’s the same. DavDroid always finds the name of the address book and the name of the agenda but nothing more. I tried 2 times to re-install NC. The message is always the same: no caldav or cardav service possible. Apart from the applications “calendar” and “contacts” and the addition of ‘/ ^ gvfs /’ and ‘/ ^ DAVdroid /’ in the file lib / base.php, I did not add anything: nothing in “Clients OAuth 2.0” nor in “white list for forcebrute” or else.
I think I have tried everything …

You could try one of the test setups. Then you at least know if it is client or server side.

Hello.
Probably I make a mistake because I have the same problem whith demo.nextcloud (https://demo.nextcloud.com/eic5aeda).
The last lines of my debug info are :
homesets
| _id | serviceID | url |

	|  42 | 23 | https://demo.nextcloud.com/eic5aeda/remote.php/dav/calendars/admin/ |
	|  43 | 22 | https://demo.nextcloud.com/eic5aeda/remote.php/dav/addressbooks/users/admin/ |
	|  45 | 24 | https://demo.nextcloud.com/eic5aeda/remote.php/dav/addressbooks/users/admin/ |
	|  46 | 25 | https://demo.nextcloud.com/eic5aeda/remote.php/dav/calendars/admin/ |
----------
collections
	|  _id | serviceID | type | url | readOnly | displayName | description | color | timezone | supportsVEVENT | supportsVTODO | source | sync |

	|  76 | 23 | CALENDAR | https://demo.nextcloud.com/eic5aeda/remote.php/dav/calendars/admin/personal/ | 0 | Personnel | <null> | <null> | <null> | 1 | 1 | <null> | 1 |
	|  77 | 22 | ADDRESS_BOOK | https://demo.nextcloud.com/eic5aeda/remote.php/dav/addressbooks/users/admin/contacts/ | 0 | Contacts | <null> | <null> | <null> | 0 | 0 | <null> | 1 |
	|  80 | 24 | ADDRESS_BOOK | https://demo.nextcloud.com/eic5aeda/remote.php/dav/addressbooks/users/admin/contacts/ | 0 | Contacts | <null> | <null> | <null> | 0 | 0 | <null> | 1 |
	|  81 | 25 | CALENDAR | https://demo.nextcloud.com/eic5aeda/remote.php/dav/calendars/admin/contact_birthdays/ | 1 | Anniversaires des contacts | <null> | -54 | <null> | 1 | 1 | <null> | 1 |
	|  82 | 25 | CALENDAR | https://demo.nextcloud.com/eic5aeda/remote.php/dav/calendars/admin/personal/ | 0 | Personnel | <null> | -1579148 | <null> | 1 | 1 | <null> | 1 |
----------
SYSTEM INFORMATION
Android version: 7.0 (NRD90M)
Device: Xiaomi MI 5s Plus (natrium)

--- END DEBUG INFO --- </cite>

The response of DavDroid is the same : no service carddav or caldav found.

6 months later : no service carddav or caldav found.
It is desperate

How can @davdroid fail on the demo server? Configuration issue on the demo server?

Bonjour
Peut-être doit on envisager que Androïd ne “veut” pas que nous utilisions autre chose que son propre cloud ! J’ai le même soucis, j’ai tout d emême pu, une ou deux fois connecter davdroid mais le compte n’apparaissait pas dans les listes de compte ni agenda, ni contacts … d’où macrainte que ce soit une volontée de G…gl.
Cordialement parano
(ja suis né dans le vosges ! cô je vois jbyvosges je me permets)

On ne doit être que deux car, apparamment, tout le monde s’en fiche. En ce qui me concerne, j’ai du y passer des heures depuis plus d’un an et ça ne fonctionne toujours pas.
'Google ->)There must be only two because, apparently, everyone does not care. In my case, I had to spend hours there for over a year and it still does not work.

It’s all a bit strange. There are demo servers of different versions if you want to try some more:

If you find out that it works for NC 11 but not in NC 12, then please open a ticket on github. Or try one of the official server images, the problem with hosting packages, you don’t know the exact configuration and they have perhaps installed a very specific version…

OVH shared hosting behaves really strange in many ways, not only with Nextcloud. So I actually switch recently. But the OVH davdroid issue is long known, see here: https://github.com/nextcloud/server/issues/223

The link above has an ugly workaround by disabling a Nextcloud security feature it seems, but I never tried that.

And now it works? So it’s really related with OVH hosting? In that case we (or davdroid) should document it…

Yes, with my new shared host (netcup.de) it works. Also the web updater issues I had with OVH are gone.

Generally speaking I can’t complain about OVH, but their shared hosting isn’t fully compatible with Nextcloud.

Certes !!
En fait c’ets vicieux comme truc … Là j’ai à nouveau réussi à mes connecter avec carddav et le symbole de la synchro tourne. Un espoir a lui dans mon esprit ! Mais non toujours pas de compte dans la liste des comptes de contacts. J’avais supprimer tous les comptes, y compris le gmail. G se serait-il vexé ?
Bon mais le pb ne vient donc vraiment pas de Nextcloud, ce qui m’aurait étonné en fait., mais bien de la config du tel ou d’une astuce de blocage de G.