DAVDroid: nach vermutlich nach Android-7-Update werden die Dienste (CalDav, CardDAV) nicht erkannt

Hallo, zusammen.
Wie oben geschrieben: WebDAV-Dienste werden seitens meines Android-Handy nicht mehr erkannt. Von meinem Win7-PC aus kann Outlook auf die Dienste zugreifen und synchronisiert alles klaglos. Auch die Dateisynchronisation funktioniert top. Mein Handy aber kann ich nicht mehr in die Termin- und Kontakt-Synchronisation bringen.

Was habe ich gemacht:

  • DAV-Droid auf dem Handy deinstalliert und neu installiert
  • neues Konto mit “+” im DavDroid-App angetippt
  • Mit URL und Benutzername anmelden
  • mein Pfad wird im Kalender angezeigt: https://meine-domain.de/nextcloud/remote.php/dav/
  • Benutzername und Kennwort mehrfach (und sicher korrekt) eingegeben.

Meldung von DavDroid:
“Ressourcen-Erkennung:
Es konnte weder ein CalDAV- noch ein CardDAV-Dienst gefunden werden.”

Protokoll:

END PROPFIND
2017-04-11 21:331:13 1930
HttpClient$1 <-- HTTP FAILED: javax.net.ssl.SSLHandshakeException: SSL handshake aborted: ssl=0x7780f48400: I/O-Error during sysetm call, Connection reset by peer.

Ich tippe also darauf, dass da irgendwie meine Verschlüsselung/das SSL nicht passt. Ich habe nun aber keine Ahnung, wie ich da weiter komme.

Weiß jemand Rat?
Vielen Dank, Sven

Irgendwie habe ich den Eindruck, es liegt an der http-Version. Kann es sein, dass DAVDroid mit http1.1 dran geht (so sieht es mir in der Fehlermeldung ja aus) und Android bzw. die Nextcloud nur http2 unterstützt?

OK, danke an tescher: wir haben mal getestet:

  • 2 verschiedene nextcloud-Installationen
  • DAVDroid lauffähig auf beiden
  • Plus bei DavDroid geklickt, NextcloudPfad und Benutzername und Kennwort eingegeben

Das Ergebnis:
mit iPhone geht’s
mit Android 4.4.2 geht’s
mit Android 6 geht’s
mit unseren beiden Android 7-Mobiles geht’s nicht !!!

Mein Problem besteht auch erst, seit mir der Android7-Update auf dem Handy aufgespielt wurde :frowning:

@Nextcloud und bitfire: könnt ihr hier bitte helfen ? Danke !!! :slight_smile:

Hi @muelv

Android 7 hat eine Macke bezüglich der vewendeten elliptischen Kurven für ECDH. Du setzt serverseitig sicherlich auf nginx und hast beispielsweise die Kurve secp384r1 konfiguriert.

Ändere Deine nginx-config auf ssl_ecdh_curve prime256v1; oder ssl_ecdh_curve auto;. Dann klappt es auch mit Android 7.0.
In Android 7.1 ist der Bug behoben.

Noch etwas mehr hintergrund:

Gruß
Timm

Hi. Thank you !!! Solved ! I’m happy :slight_smile:
/etc/nginx/conf.d/my-nextcloud-domain.conf
I had to Change this file and restarted nginx-service.
Here, I commented out this line:
ssl_ecdh_curve secp384r1;
and inserted this line:
ssl_ecdh_curve prime256v1;
afterwards: service nginx restart
Done, it works fine.
Thank you, Kind regards, Sven

Ich habe gerade genau das gleiche Problem, gleiche Fehlermeldung von DavDroid, allerdings Android 7.1, NC 12 und Apache2 - Apache2 kennt diese Einstellungen von nginx nicht, ich habe ganz /etc danach gegrept, gibts nicht bei mir.

Noch jemand eine Idee? Hier die log von DAVdroid:

--- BEGIN DEBUG INFO ---

LOGS:
2017-11-22 11:09:35 433 [ui.setup.DavResourceFinder] Finding initial carddav service configuration
2017-11-22 11:09:35 433 [ui.setup.DavResourceFinder] Checking user-given URL: https://SERVER.de/cloud/
2017-11-22 11:09:35 433 [HttpClient] --> PROPFIND https://SERVER.de/cloud/
2017-11-22 11:09:35 433 [HttpClient] Content-Type: application/xml; charset=utf-8
2017-11-22 11:09:35 433 [HttpClient] Content-Length: 290
2017-11-22 11:09:35 433 [HttpClient] Depth: 0
2017-11-22 11:09:35 433 [HttpClient]
2017-11-22 11:09:35 433 [HttpClient] <?xml version='1.0' encoding='UTF-8' ?><CARD:addressbook-description /><CARD:addressbook-home-set />
2017-11-22 11:09:35 433 [HttpClient] --> END PROPFIND (290-byte body)
2017-11-22 11:09:36 433 [HttpClient] <-- 405 Method Not Allowed https://SERVER.de/cloud/ (235ms)
2017-11-22 11:09:36 433 [HttpClient] Date: Wed, 22 Nov 2017 10:09:37 GMT
2017-11-22 11:09:36 433 [HttpClient] Server: Apache
2017-11-22 11:09:36 433 [HttpClient] Strict-Transport-Security: max-age=15552000
2017-11-22 11:09:36 433 [HttpClient] Set-Cookie: oc4fd360fe32=tvpiprtupddt4unedg13fue5l3; path=/cloud; HttpOnly
2017-11-22 11:09:36 433 [HttpClient] Expires: Thu, 19 Nov 1981 08:52:00 GMT
2017-11-22 11:09:36 433 [HttpClient] Cache-Control: no-store, no-cache, must-revalidate
2017-11-22 11:09:36 433 [HttpClient] Pragma: no-cache
2017-11-22 11:09:36 433 [HttpClient] Set-Cookie: oc_sessionPassphrase=41G0hEyxZVo8wS8am38pXhRnxsg3yTlgPRvrDr2%2BTfAIXmQykn95dydtK7vh9HBVnIW%2FOFLT3K3LQafrN3tXPtyE2fZFFitnhYpN2BNUhwwKkPpbQu%2FbBbnqnUjOsLWg; path=/cloud; secure; HttpOnly
2017-11-22 11:09:36 433 [HttpClient] Content-Security-Policy: default-src ‘self’; script-src ‘self’ ‘unsafe-eval’ ‘nonce-ZUtIZFQ0ZzRwc0dyeFdmNkpXOXpTMUxQaGRvb2xKYUcwMnNZV2REWmc4Yz06RWM3ckpQQnQvL0RqOUNPOUZUMEZQd2VPOG94bDFkbmhvUWQvTEx5VndJbz0=’; 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-22 11:09:36 433 [HttpClient] X-Frame-Options: SAMEORIGIN
2017-11-22 11:09:36 433 [HttpClient] Set-Cookie: nc_sameSiteCookielax=true; path=/cloud; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax
2017-11-22 11:09:36 433 [HttpClient] Set-Cookie: nc_sameSiteCookiestrict=true; path=/cloud; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=strict
2017-11-22 11:09:36 433 [HttpClient] Set-Cookie: oc4fd360fe32=3cb7ujiuq57v6pbnu880angic2; path=/cloud; secure; HttpOnly
2017-11-22 11:09:36 433 [HttpClient] Status: 405 Method Not Allowed
2017-11-22 11:09:36 433 [HttpClient] X-Content-Type-Options: nosniff
2017-11-22 11:09:36 433 [HttpClient] X-XSS-Protection: 1; mode=block
2017-11-22 11:09:36 433 [HttpClient] X-Robots-Tag: none
2017-11-22 11:09:36 433 [HttpClient] X-Download-Options: noopen
2017-11-22 11:09:36 433 [HttpClient] X-Permitted-Cross-Domain-Policies: none
2017-11-22 11:09:36 433 [HttpClient] Content-Length: 0
2017-11-22 11:09:36 433 [HttpClient] Keep-Alive: timeout=5, max=100
2017-11-22 11:09:36 433 [HttpClient] Connection: Keep-Alive
2017-11-22 11:09:36 433 [HttpClient] Content-Type: text/html; charset=UTF-8
2017-11-22 11:09:36 433 [HttpClient] <-- END HTTP (0-byte body)
2017-11-22 11:09:36 433 [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.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.checkUserGivenURL(DavResourceFinder.kt:166)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:101)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:73)
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:305)
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:761)

2017-11-22 11:09:36 433 [HttpClient] --> PROPFIND https://SERVER.de/.well-known/carddav
2017-11-22 11:09:36 433 [HttpClient] Content-Type: application/xml; charset=utf-8
2017-11-22 11:09:36 433 [HttpClient] Content-Length: 198
2017-11-22 11:09:36 433 [HttpClient] Depth: 0
2017-11-22 11:09:36 433 [HttpClient]
2017-11-22 11:09:36 433 [HttpClient] <?xml version='1.0' encoding='UTF-8' ?>
2017-11-22 11:09:36 433 [HttpClient] --> END PROPFIND (198-byte body)
2017-11-22 11:09:36 433 [HttpClient] <-- 403 Forbidden https://SERVER.de/.well-known/carddav (58ms)
2017-11-22 11:09:36 433 [HttpClient] Date: Wed, 22 Nov 2017 10:09:38 GMT
2017-11-22 11:09:36 433 [HttpClient] Server: Apache
2017-11-22 11:09:36 433 [HttpClient] Strict-Transport-Security: max-age=15552000
2017-11-22 11:09:36 433 [HttpClient] Content-Length: 228
2017-11-22 11:09:36 433 [HttpClient] Keep-Alive: timeout=5, max=99
2017-11-22 11:09:36 433 [HttpClient] Connection: Keep-Alive
2017-11-22 11:09:36 433 [HttpClient] Content-Type: text/html; charset=iso-8859-1
2017-11-22 11:09:36 433 [HttpClient]
2017-11-22 11:09:36 433 [HttpClient]

403 Forbidden

Forbidden

You don't have permission to access /.well-known/carddav on this server.

2017-11-22 11:09:36 433 [HttpClient] <-- END HTTP (228-byte body)
2017-11-22 11:09:36 433 [ui.setup.DavResourceFinder] Well-known URL detection failed
EXCEPTION at.bitfire.dav4android.exception.HttpException: 403 Forbidden
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:352)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:105)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:73)
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:305)
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:761)

2017-11-22 11:09:36 433 [ui.setup.DavResourceFinder] No principal found at user-given URL, trying to discover
2017-11-22 11:09:36 433 [ui.setup.DavResourceFinder] Looking up SRV records for _carddavs._tcp.SERVER.de
2017-11-22 11:09:36 433 [ui.setup.DavResourceFinder] Didn’t find carddav service, trying at https://SERVER.de:443
2017-11-22 11:09:36 433 [ui.setup.DavResourceFinder] Trying to determine principal from initial context path=https://SERVER.de/.well-known/carddav
2017-11-22 11:09:36 433 [HttpClient] --> PROPFIND https://SERVER.de/.well-known/carddav
2017-11-22 11:09:36 433 [HttpClient] Content-Type: application/xml; charset=utf-8
2017-11-22 11:09:36 433 [HttpClient] Content-Length: 198
2017-11-22 11:09:36 433 [HttpClient] Depth: 0
2017-11-22 11:09:36 433 [HttpClient]
2017-11-22 11:09:36 433 [HttpClient] <?xml version='1.0' encoding='UTF-8' ?>
2017-11-22 11:09:36 433 [HttpClient] --> END PROPFIND (198-byte body)
2017-11-22 11:09:36 433 [HttpClient] <-- 403 Forbidden https://SERVER.de/.well-known/carddav (74ms)
2017-11-22 11:09:36 433 [HttpClient] Date: Wed, 22 Nov 2017 10:09:38 GMT
2017-11-22 11:09:36 433 [HttpClient] Server: Apache
2017-11-22 11:09:36 433 [HttpClient] Strict-Transport-Security: max-age=15552000
2017-11-22 11:09:36 433 [HttpClient] Content-Length: 228
2017-11-22 11:09:36 433 [HttpClient] Keep-Alive: timeout=5, max=98
2017-11-22 11:09:36 433 [HttpClient] Connection: Keep-Alive
2017-11-22 11:09:36 433 [HttpClient] Content-Type: text/html; charset=iso-8859-1
2017-11-22 11:09:36 433 [HttpClient]
2017-11-22 11:09:36 433 [HttpClient]

403 Forbidden

Forbidden

You don't have permission to access /.well-known/carddav on this server.

2017-11-22 11:09:36 433 [HttpClient] <-- END HTTP (228-byte body)
2017-11-22 11:09:36 433 [ui.setup.DavResourceFinder] No resource found
EXCEPTION at.bitfire.dav4android.exception.HttpException: 403 Forbidden
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:352)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.discoverPrincipalUrl(DavResourceFinder.kt:334)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:123)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:73)
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:305)
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:761)

2017-11-22 11:09:36 433 [ui.setup.DavResourceFinder] Trying to determine principal from initial context path=https://SERVER.de/
2017-11-22 11:09:36 433 [HttpClient] --> PROPFIND https://SERVER.de/
2017-11-22 11:09:36 433 [HttpClient] Content-Type: application/xml; charset=utf-8
2017-11-22 11:09:36 433 [HttpClient] Content-Length: 198
2017-11-22 11:09:36 433 [HttpClient] Depth: 0
2017-11-22 11:09:36 433 [HttpClient]
2017-11-22 11:09:36 433 [HttpClient] <?xml version='1.0' encoding='UTF-8' ?>
2017-11-22 11:09:36 433 [HttpClient] --> END PROPFIND (198-byte body)
2017-11-22 11:09:36 433 [HttpClient] <-- 403 Forbidden https://SERVER.de/ (73ms)
2017-11-22 11:09:36 433 [HttpClient] Date: Wed, 22 Nov 2017 10:09:38 GMT
2017-11-22 11:09:36 433 [HttpClient] Server: Apache
2017-11-22 11:09:36 433 [HttpClient] Strict-Transport-Security: max-age=15552000
2017-11-22 11:09:36 433 [HttpClient] Content-Length: 209
2017-11-22 11:09:36 433 [HttpClient] Keep-Alive: timeout=5, max=97
2017-11-22 11:09:36 433 [HttpClient] Connection: Keep-Alive
2017-11-22 11:09:36 433 [HttpClient] Content-Type: text/html; charset=iso-8859-1
2017-11-22 11:09:36 433 [HttpClient]
2017-11-22 11:09:36 433 [HttpClient]

403 Forbidden

Forbidden

You don't have permission to access / on this server.

2017-11-22 11:09:36 433 [HttpClient] <-- END HTTP (209-byte body)
2017-11-22 11:09:36 433 [ui.setup.DavResourceFinder] No resource found
EXCEPTION at.bitfire.dav4android.exception.HttpException: 403 Forbidden
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:352)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.discoverPrincipalUrl(DavResourceFinder.kt:334)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:123)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:73)
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:305)
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:761)

2017-11-22 11:09:36 433 [ui.setup.DavResourceFinder] Finding initial caldav service configuration
2017-11-22 11:09:36 433 [ui.setup.DavResourceFinder] Checking user-given URL: https://SERVER.de/cloud/
2017-11-22 11:09:36 433 [HttpClient] --> PROPFIND https://SERVER.de/cloud/
2017-11-22 11:09:36 433 [HttpClient] Content-Type: application/xml; charset=utf-8
2017-11-22 11:09:36 433 [HttpClient] Content-Length: 435
2017-11-22 11:09:36 433 [HttpClient] Depth: 0
2017-11-22 11:09:36 433 [HttpClient]
2017-11-22 11:09:36 433 [HttpClient] <?xml version='1.0' encoding='UTF-8' ?><n0:calendar-color xmlns:n0=“http://apple.com/ns/ical/” /><CAL:calendar-description /><CAL:calendar-timezone /><CAL:supported-calendar-component-set /><CAL:calendar-home-set />
2017-11-22 11:09:36 433 [HttpClient] --> END PROPFIND (435-byte body)
2017-11-22 11:09:36 433 [HttpClient] <-- 405 Method Not Allowed https://SERVER.de/cloud/ (90ms)
2017-11-22 11:09:36 433 [HttpClient] Date: Wed, 22 Nov 2017 10:09:38 GMT
2017-11-22 11:09:36 433 [HttpClient] Server: Apache
2017-11-22 11:09:36 433 [HttpClient] Strict-Transport-Security: max-age=15552000
2017-11-22 11:09:36 433 [HttpClient] Expires: Thu, 19 Nov 1981 08:52:00 GMT
2017-11-22 11:09:36 433 [HttpClient] Cache-Control: no-store, no-cache, must-revalidate
2017-11-22 11:09:36 433 [HttpClient] Pragma: no-cache
2017-11-22 11:09:36 433 [HttpClient] Content-Security-Policy: default-src ‘self’; script-src ‘self’ ‘unsafe-eval’ ‘nonce-RHNpT2d6YndLUy9wR1hYS0NGaHR6QnZDRG5tTEd6VzNMRTZmYkdCY25kRT06WjZlNDZFNmxjQjZoS0RHTk9Bb2J1RTZEZVMvR1duclFYaUw0R1F3UTNwdz0=’; 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-22 11:09:36 433 [HttpClient] X-Frame-Options: SAMEORIGIN
2017-11-22 11:09:36 433 [HttpClient] Status: 405 Method Not Allowed
2017-11-22 11:09:36 433 [HttpClient] X-Content-Type-Options: nosniff
2017-11-22 11:09:36 433 [HttpClient] X-XSS-Protection: 1; mode=block
2017-11-22 11:09:36 433 [HttpClient] X-Robots-Tag: none
2017-11-22 11:09:36 433 [HttpClient] X-Download-Options: noopen
2017-11-22 11:09:36 433 [HttpClient] X-Permitted-Cross-Domain-Policies: none
2017-11-22 11:09:36 433 [HttpClient] Content-Length: 0
2017-11-22 11:09:36 433 [HttpClient] Keep-Alive: timeout=5, max=96
2017-11-22 11:09:36 433 [HttpClient] Connection: Keep-Alive
2017-11-22 11:09:36 433 [HttpClient] Content-Type: text/html; charset=UTF-8
2017-11-22 11:09:36 433 [HttpClient] <-- END HTTP (0-byte body)
2017-11-22 11:09:36 433 [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.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.checkUserGivenURL(DavResourceFinder.kt:174)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:101)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:74)
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:305)
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:761)

2017-11-22 11:09:36 433 [HttpClient] --> PROPFIND https://SERVER.de/.well-known/caldav
2017-11-22 11:09:36 433 [HttpClient] Content-Type: application/xml; charset=utf-8
2017-11-22 11:09:36 433 [HttpClient] Content-Length: 198
2017-11-22 11:09:36 433 [HttpClient] Depth: 0
2017-11-22 11:09:36 433 [HttpClient]
2017-11-22 11:09:36 433 [HttpClient] <?xml version='1.0' encoding='UTF-8' ?>
2017-11-22 11:09:36 433 [HttpClient] --> END PROPFIND (198-byte body)
2017-11-22 11:09:36 433 [HttpClient] <-- 403 Forbidden https://SERVER.de/.well-known/caldav (59ms)
2017-11-22 11:09:36 433 [HttpClient] Date: Wed, 22 Nov 2017 10:09:38 GMT
2017-11-22 11:09:36 433 [HttpClient] Server: Apache
2017-11-22 11:09:36 433 [HttpClient] Strict-Transport-Security: max-age=15552000
2017-11-22 11:09:36 433 [HttpClient] Content-Length: 227
2017-11-22 11:09:36 433 [HttpClient] Keep-Alive: timeout=5, max=95
2017-11-22 11:09:36 433 [HttpClient] Connection: Keep-Alive
2017-11-22 11:09:36 433 [HttpClient] Content-Type: text/html; charset=iso-8859-1
2017-11-22 11:09:36 433 [HttpClient]
2017-11-22 11:09:36 433 [HttpClient]

403 Forbidden

Forbidden

You don't have permission to access /.well-known/caldav on this server.

2017-11-22 11:09:36 433 [HttpClient] <-- END HTTP (227-byte body)
2017-11-22 11:09:36 433 [ui.setup.DavResourceFinder] Well-known URL detection failed
EXCEPTION at.bitfire.dav4android.exception.HttpException: 403 Forbidden
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:352)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:105)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:74)
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:305)
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:761)

2017-11-22 11:09:36 433 [ui.setup.DavResourceFinder] No principal found at user-given URL, trying to discover
2017-11-22 11:09:36 433 [ui.setup.DavResourceFinder] Looking up SRV records for _caldavs._tcp.SERVER.de
2017-11-22 11:09:36 433 [ui.setup.DavResourceFinder] Didn’t find caldav service, trying at https://SERVER.de:443
2017-11-22 11:09:36 433 [ui.setup.DavResourceFinder] Trying to determine principal from initial context path=https://SERVER.de/.well-known/caldav
2017-11-22 11:09:36 433 [HttpClient] --> PROPFIND https://SERVER.de/.well-known/caldav
2017-11-22 11:09:36 433 [HttpClient] Content-Type: application/xml; charset=utf-8
2017-11-22 11:09:36 433 [HttpClient] Content-Length: 198
2017-11-22 11:09:36 433 [HttpClient] Depth: 0
2017-11-22 11:09:36 433 [HttpClient]
2017-11-22 11:09:36 433 [HttpClient] <?xml version='1.0' encoding='UTF-8' ?>
2017-11-22 11:09:36 433 [HttpClient] --> END PROPFIND (198-byte body)
2017-11-22 11:09:37 433 [HttpClient] <-- 403 Forbidden https://SERVER.de/.well-known/caldav (75ms)
2017-11-22 11:09:37 433 [HttpClient] Date: Wed, 22 Nov 2017 10:09:38 GMT
2017-11-22 11:09:37 433 [HttpClient] Server: Apache
2017-11-22 11:09:37 433 [HttpClient] Strict-Transport-Security: max-age=15552000
2017-11-22 11:09:37 433 [HttpClient] Content-Length: 227
2017-11-22 11:09:37 433 [HttpClient] Keep-Alive: timeout=5, max=94
2017-11-22 11:09:37 433 [HttpClient] Connection: Keep-Alive
2017-11-22 11:09:37 433 [HttpClient] Content-Type: text/html; charset=iso-8859-1
2017-11-22 11:09:37 433 [HttpClient]
2017-11-22 11:09:37 433 [HttpClient]

403 Forbidden

Forbidden

You don't have permission to access /.well-known/caldav on this server.

2017-11-22 11:09:37 433 [HttpClient] <-- END HTTP (227-byte body)
2017-11-22 11:09:37 433 [ui.setup.DavResourceFinder] No resource found
EXCEPTION at.bitfire.dav4android.exception.HttpException: 403 Forbidden
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:352)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.discoverPrincipalUrl(DavResourceFinder.kt:334)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:123)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:74)
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:305)
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:761)

2017-11-22 11:09:37 433 [ui.setup.DavResourceFinder] Trying to determine principal from initial context path=https://SERVER.de/
2017-11-22 11:09:37 433 [HttpClient] --> PROPFIND https://SERVER.de/
2017-11-22 11:09:37 433 [HttpClient] Content-Type: application/xml; charset=utf-8
2017-11-22 11:09:37 433 [HttpClient] Content-Length: 198
2017-11-22 11:09:37 433 [HttpClient] Depth: 0
2017-11-22 11:09:37 433 [HttpClient]
2017-11-22 11:09:37 433 [HttpClient] <?xml version='1.0' encoding='UTF-8' ?>
2017-11-22 11:09:37 433 [HttpClient] --> END PROPFIND (198-byte body)
2017-11-22 11:09:37 433 [HttpClient] <-- 403 Forbidden https://SERVER.de/ (52ms)
2017-11-22 11:09:37 433 [HttpClient] Date: Wed, 22 Nov 2017 10:09:38 GMT
2017-11-22 11:09:37 433 [HttpClient] Server: Apache
2017-11-22 11:09:37 433 [HttpClient] Strict-Transport-Security: max-age=15552000
2017-11-22 11:09:37 433 [HttpClient] Content-Length: 209
2017-11-22 11:09:37 433 [HttpClient] Keep-Alive: timeout=5, max=93
2017-11-22 11:09:37 433 [HttpClient] Connection: Keep-Alive
2017-11-22 11:09:37 433 [HttpClient] Content-Type: text/html; charset=iso-8859-1
2017-11-22 11:09:37 433 [HttpClient]
2017-11-22 11:09:37 433 [HttpClient]

403 Forbidden

Forbidden

You don't have permission to access / on this server.

2017-11-22 11:09:37 433 [HttpClient] <-- END HTTP (209-byte body)
2017-11-22 11:09:37 433 [ui.setup.DavResourceFinder] No resource found
EXCEPTION at.bitfire.dav4android.exception.HttpException: 403 Forbidden
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:352)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.discoverPrincipalUrl(DavResourceFinder.kt:334)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:123)
at at.bitfire.davdroid.ui.setup.DavResourceFinder.findInitialConfiguration(DavResourceFinder.kt:74)
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:305)
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:761)

SOFTWARE INFORMATION
Package: at.bitfire.davdroid
Version: 1.9.3-gplay (189) from 12.11.2017
Installed from: com.android.vending
JB Workaround installed: no

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

CONFIGURATION
Power saving disabled: no
android.permission.READ_CONTACTS permission: denied
android.permission.WRITE_CONTACTS permission: denied
android.permission.READ_CALENDAR permission: denied
android.permission.WRITE_CALENDAR permission: denied
org.dmfs.permission.READ_TASKS permission: denied
org.dmfs.permission.WRITE_TASKS permission: denied
System-wide synchronization: automatically

SQLITE DUMP
android_metadata
| locale |
| de_DE |

services
| _id | accountName | service | principal |

sqlite_sequence
| name | seq |

homesets
| _id | serviceID | url |

collections
| _id | serviceID | type | url | readOnly | displayName | description | color | timezone | supportsVEVENT | supportsVTODO | source | sync |

SYSTEM INFORMATION
Android version: 7.1.2 (lineage_hammerhead-userdebug 7.1.2 NJH47F 77433d9635)
Device: LGE Nexus 5 (hammerhead)

— END DEBUG INFO —

I join this discussion too as I have this problem too. I’m getting the same error but I use Apache.
I have my Huawei P9 working fine and my iPAD too but both are configured since a long time. I wanted now my Nvidia Shield to work too but getting the same error as mentioned above…
I also see that the login over the browser takes very long compared to a month ago…
The nextcloud app on all devices in itself works fine by the way…
Any help wou be appreciated