DAVdroid 1.11.1 + nextCloud 13.0.2 + nginx: SSLHandshakeException

  • hello I am newbie and french,
    I use DAVdroid 1.11.1 + nextCloud 13.0.2 the sync works with the Android applications nextcloud but with DAVdroid it does not work.
    my nginx config:

    location = /.well-known/carddav {
          return 301 $scheme://$host/remote.php/dav;
        location = /.well-known/caldav {
          return 301 $scheme://$host/remote.php/dav;

    DAVdroid config :

    username of nextCloud
    password of nextCloud

    DAVdroid log :
    0_1525884553649_DAVdroid 1.11.1-ose debug info.txt

    when I consult the url:

    in my browser I have this error:
    This is the WebDAV interface. It can only be accessed by WebDAV clients such as the Nextcloud desktop sync client.

    Do you have any solutions ?
    Thank you for your answers

  • developer


    This message:

    EXCEPTION javax.net.ssl.SSLHandshakeException: Handshake failed
    at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:429)

    indicates a TLS problem, probably caused by incompatible protocols/ciphers between your server and your Android device. Please have a look at https://www.davdroid.com/manual/security/#c200.

    On https://developer.android.com/reference/javax/net/ssl/SSLEngine.html, you can find a list of all ciphers which are supported by Android 7.

    Does it work when you make sure that your server allows ciphers which are supported by Android 7?

  • I am newbie so I am inevitably lost in relation to your answer.
    how can this be a protocol problem related to android 7 if i use a nextcloud application on android 7 which it works properly.

    I naively thought it was a nginx tweak to made.
    I’m afraid that my skills will not allow me to solve this problem.

Similar topics