Invalid DAV response: No CalDAV-/CardDAV service is available at this location.



  • DAVDroid version: DAVdroid 0.6.11 from F-Droid
    CalDAV/CardDAV server: Owncloud 8.0.0
    Android device model and version: Samsung Galaxy S2 running Android 4.0.4 (Replicant 3.0.32-replicant)

    DAVDroid returns "Invalid DAV response: No CalDAV-/CardDAV service is available at this location." when trying to add CalDAV calendars served by Owncloud.

    Here's the logs (https://gist.github.com/mcladyz/45172e1f0c8a56cd9366):

    /davdroid.DavHttpClient(12706): Wire logging active, disabling HTTP compression
    D/davdroid.DavResourceFinder(12706): Looking up SRV records for _carddavs._tcp.myserver.example.net
    D/davdroid.WebDavResource(12706): Using preemptive authentication (not compatible with Digest auth)
    V/davdroid.URIUtils(12706): Normalized URL /.well-known/carddav -> /.well-known/carddav
    D/HttpClient(12706): Re-using cached 'basic' auth scheme for https://myserver.example.net:443
    D/HttpClient(12706): Connection request: [route: HttpRoute[{s}->https://myserver.example.net:443]][total kept alive: 0; route allocated: 0 of 2; total allocated: 0 of 3]
    D/HttpClient(12706): Connection leased: [id: 46][route: HttpRoute[{s}->https://myserver.example.net:443]][total kept alive: 0; route allocated: 1 of 2; total allocated: 1 of 3]
    D/HttpClient(12706): Opening connection HttpRoute[{s}->https://myserver.example.net:443]
    D/HttpClient(12706): Connecting to myserver.example.net/123.45.678.9:443
    D/HttpClient(12706): Connecting socket to myserver.example.net/123.45.678.9:443 with timeout 20000
    D/HttpClient(12706): Enabled protocols: [TLSv1]
    D/HttpClient(12706): Enabled cipher suites:[TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_ECDH_RSA_WITH_AES_128_CBC_SHA, TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA, SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA, SSL_RSA_EXPORT_WITH_RC4_40_MD5, TLS_DHE_RSA_WITH_AES_256_CBC_SHA, SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA, TLS_ECDH_RSA_WITH_AES_256_CBC_SHA, SSL_RSA_WITH_RC4_128_SHA, TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, SSL_DHE_DSS_WITH_DES_CBC_SHA, TLS_ECDHE_RSA_WITH_RC4_128_SHA, TLS_ECDH_ECDSA_WITH_RC4_128_SHA, TLS_DHE_DSS_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA, SSL_DHE_RSA_WITH_DES_CBC_SHA, TLS_ECDHE_ECDSA_WITH_RC4_128_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_256_CBC_SHA, SSL_RSA_WITH_DES_CBC_SHA, TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA, TLS_ECDH_RSA_WITH_RC4_128_SHA, TLS_EMPTY_RENEGOTIATION_INFO_SCSV, SSL_RSA_EXPORT_WITH_DES40_CBC_SHA, TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA, SSL_RSA_WITH_RC4_128_MD5, TLS_DHE_DSS_WITH_AES_128_CBC_SHA, SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA, SSL_RSA_WITH_3DES_EDE_CBC_SHA]
    D/HttpClient(12706): Enabling SNI for myserver.example.net
    D/HttpClient(12706): Starting handshake
    D/HttpClient(12706): Secure session established
    D/HttpClient(12706):  negotiated protocol: TLSv1
    D/HttpClient(12706):  negotiated cipher suite: TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
    D/HttpClient(12706):  peer principal: CN=myserver.example.net, OU=ICT, O=myserver, C=IS
    D/HttpClient(12706):  peer alternative names: [myserver.example.net]
    D/HttpClient(12706):  issuer principal: CN=myserver.example.net, OU=ICT, O=myserver, C=IS
    D/HttpClient(12706): Connection established 10.60.102.171:48694<->123.45.678.9:443
    D/HttpClient(12706): Executing request PROPFIND /.well-known/carddav HTTP/1.1
    D/HttpClient(12706): Target auth state: CHALLENGED
    D/HttpClient(12706): Proxy auth state: UNCHALLENGED
    D/Wire    (12706): http-outgoing-46 >> "PROPFIND /.well-known/carddav HTTP/1.1[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Content-Type: text/xml; charset=UTF-8[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Accept: text/xml[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Depth: 0[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Content-Length: 88[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Host: myserver.example.net[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Connection: Keep-Alive[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "User-Agent: DAVdroid/0.6.11[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Authorization: Basic xxxxxxxxxxxxxxxxxxxxxxxxxxx[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "<propfind xmlns="DAV:">[\n]"
    D/Wire    (12706): http-outgoing-46 >> "   <prop>[\n]"
    D/Wire    (12706): http-outgoing-46 >> "      <current-user-principal/>[\n]"
    D/Wire    (12706): http-outgoing-46 >> "   </prop>[\n]"
    D/Wire    (12706): http-outgoing-46 >> "</propfind>"
    D/Wire    (12706): http-outgoing-46 << "HTTP/1.1 302 Moved Temporarily[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Server: nginx/1.2.1[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Date: Wed, 18 Feb 2015 09:41:17 GMT[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Content-Type: text/html[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Content-Length: 160[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Location: https://myserver.example.net/services/.well-known/caldav[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Connection: keep-alive[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Public-Key-Pins: pin-sha256="xxxxxxxxxxxxxxxxxxxxxxxxx="; max-age=5184000; includeSubDomains[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "<html>[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "<head><title>302 Found</title></head>[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "<body bgcolor="white">[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "<center><h1>302 Found</h1></center>[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "<hr><center>nginx/1.2.1</center>[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "</body>[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "</html>[\r][\n]"
    D/HttpClient(12706): Connection can be kept alive indefinitely
    D/HttpClient(12706): Authentication succeeded
    V/davdroid.URIUtils(12706): Normalized URL https://myserver.example.net/services/.well-known/caldav -> https://myserver.example.net/services/.well-known/caldav
    I/davdroid.WebDavResource(12706): Redirection on PROPFIND; trying again at new content URL: https://myserver.example.net/services/.well-known/caldav
    D/HttpClient(12706): Connection [id: 46][route: HttpRoute[{s}->https://myserver.example.net:443]] can be kept alive indefinitely
    D/HttpClient(12706): Connection released: [id: 46][route: HttpRoute[{s}->https://myserver.example.net:443]][total kept alive: 1; route allocated: 1 of 2; total allocated: 1 of 3]
    D/HttpClient(12706): Connection request: [route: HttpRoute[{s}->https://myserver.example.net:443]][total kept alive: 1; route allocated: 1 of 2; total allocated: 1 of 3]
    D/HttpClient(12706): Connection leased: [id: 46][route: HttpRoute[{s}->https://myserver.example.net:443]][total kept alive: 0; route allocated: 1 of 2; total allocated: 1 of 3]
    D/HttpClient(12706): Executing request PROPFIND /services/.well-known/caldav HTTP/1.1
    D/HttpClient(12706): Target auth state: SUCCESS
    D/HttpClient(12706): Proxy auth state: UNCHALLENGED
    D/Wire    (12706): http-outgoing-46 >> "PROPFIND /services/.well-known/caldav HTTP/1.1[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Content-Type: text/xml; charset=UTF-8[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Accept: text/xml[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Depth: 0[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Content-Length: 88[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Host: myserver.example.net[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Connection: Keep-Alive[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "User-Agent: DAVdroid/0.6.11[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Authorization: Basic xxxxxxxxxxxxxxxxxxxxxxxxx[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "<propfind xmlns="DAV:">[\n]"
    D/Wire    (12706): http-outgoing-46 >> "   <prop>[\n]"
    D/Wire    (12706): http-outgoing-46 >> "      <current-user-principal/>[\n]"
    D/Wire    (12706): http-outgoing-46 >> "   </prop>[\n]"
    D/Wire    (12706): http-outgoing-46 >> "</propfind>"
    D/Wire    (12706): http-outgoing-46 << "HTTP/1.1 302 Moved Temporarily[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Server: nginx/1.2.1[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Date: Wed, 18 Feb 2015 09:41:18 GMT[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Content-Type: text/html[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Content-Length: 160[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Location: https://myserver.example.net/services/remote.php/caldav/[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Connection: keep-alive[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Public-Key-Pins: pin-sha256="xxxxxxxxxxxxxxxxxxxxxxxxx="; max-age=5184000; includeSubDomains[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "<html>[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "<head><title>302 Found</title></head>[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "<body bgcolor="white">[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "<center><h1>302 Found</h1></center>[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "<hr><center>nginx/1.2.1</center>[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "</body>[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "</html>[\r][\n]"
    D/HttpClient(12706): Connection can be kept alive indefinitely
    V/davdroid.URIUtils(12706): Normalized URL https://myserver.example.net/services/remote.php/caldav/ -> https://myserver.example.net/services/remote.php/caldav/
    I/davdroid.WebDavResource(12706): Redirection on PROPFIND; trying again at new content URL: https://myserver.example.net/services/remote.php/caldav/
    D/HttpClient(12706): Connection [id: 46][route: HttpRoute[{s}->https://myserver.example.net:443]] can be kept alive indefinitely
    D/HttpClient(12706): Connection released: [id: 46][route: HttpRoute[{s}->https://myserver.example.net:443]][total kept alive: 1; route allocated: 1 of 2; total allocated: 1 of 3]
    D/HttpClient(12706): Connection request: [route: HttpRoute[{s}->https://myserver.example.net:443]][total kept alive: 1; route allocated: 1 of 2; total allocated: 1 of 3]
    D/HttpClient(12706): Connection leased: [id: 46][route: HttpRoute[{s}->https://myserver.example.net:443]][total kept alive: 0; route allocated: 1 of 2; total allocated: 1 of 3]
    D/HttpClient(12706): Executing request PROPFIND /services/remote.php/caldav/ HTTP/1.1
    D/HttpClient(12706): Target auth state: SUCCESS
    D/HttpClient(12706): Proxy auth state: UNCHALLENGED
    D/Wire    (12706): http-outgoing-46 >> "PROPFIND /services/remote.php/caldav/ HTTP/1.1[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Content-Type: text/xml; charset=UTF-8[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Accept: text/xml[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Depth: 0[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Content-Length: 88[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Host: myserver.example.net[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Connection: Keep-Alive[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "User-Agent: DAVdroid/0.6.11[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Authorization: Basic xxxxxxxxxxxxxxxxxxxxxxxxx[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "<propfind xmlns="DAV:">[\n]"
    D/Wire    (12706): http-outgoing-46 >> "   <prop>[\n]"
    D/Wire    (12706): http-outgoing-46 >> "      <current-user-principal/>[\n]"
    D/Wire    (12706): http-outgoing-46 >> "   </prop>[\n]"
    D/Wire    (12706): http-outgoing-46 >> "</propfind>"
    D/Wire    (12706): http-outgoing-46 << "HTTP/1.1 207 Multi-Status[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Server: nginx/1.2.1[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Date: Wed, 18 Feb 2015 09:41:18 GMT[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Content-Type: application/xml; charset=utf-8[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Transfer-Encoding: chunked[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Connection: keep-alive[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "X-Powered-By: PHP/5.4.36-0+deb7u3[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Expires: Thu, 19 Nov 1981 08:52:00 GMT[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Pragma: no-cache[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Strict-Transport-Security: max-age=31536000; includeSubDomains[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "X-XSS-Protection: 1; mode=block[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "X-Content-Type-Options: nosniff[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "X-Frame-Options: Sameorigin[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-src *; img-src *; font-src 'self' data:; media-src *; connect-src *[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "X-Robots-Tag: none[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Set-Cookie: xxxxxxxxxxxxxxxxxxxxxxxxx; path=/services; secure; HttpOnly[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Vary: Brief,Prefer[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "DAV: 1, 3, extended-mkcol, calendar-access, calendar-proxy, access-control, calendarserver-principal-property-search[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "1a7[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "<?xml version="1.0" encoding="utf-8"?>[\n]"
    D/Wire    (12706): http-outgoing-46 << "<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/"><d:response><d:href>/services/remote.php/caldav/</d:href><d:propstat><d:prop><d:current-user-principal><d:unauthenticated/></d:current-user-principal></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response></d:multistatus>[\n]"
    D/Wire    (12706): http-outgoing-46 << "[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "0[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "[\r][\n]"
    D/HttpClient(12706): Connection can be kept alive indefinitely
    V/davdroid.URIUtils(12706): Normalized URL /services/remote.php/caldav/ -> /services/remote.php/caldav/
    D/davdroid.WebDavResource(12706): Processing multi-status element: https://myserver.example.net/services/remote.php/caldav/
    D/HttpClient(12706): Connection [id: 46][route: HttpRoute[{s}->https://myserver.example.net:443]] can be kept alive indefinitely
    D/HttpClient(12706): Connection released: [id: 46][route: HttpRoute[{s}->https://myserver.example.net:443]][total kept alive: 1; route allocated: 1 of 2; total allocated: 1 of 3]
    D/HttpClient(12706): Connection request: [route: HttpRoute[{s}->https://myserver.example.net:443]][total kept alive: 1; route allocated: 1 of 2; total allocated: 1 of 3]
    D/HttpClient(12706): Connection leased: [id: 46][route: HttpRoute[{s}->https://myserver.example.net:443]][total kept alive: 0; route allocated: 1 of 2; total allocated: 1 of 3]
    D/HttpClient(12706): Executing request PROPFIND /services/remote.php/caldav/ HTTP/1.1
    D/HttpClient(12706): Target auth state: SUCCESS
    D/HttpClient(12706): Proxy auth state: UNCHALLENGED
    D/Wire    (12706): http-outgoing-46 >> "PROPFIND /services/remote.php/caldav/ HTTP/1.1[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Content-Type: text/xml; charset=UTF-8[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Accept: text/xml[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Depth: 0[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Content-Length: 88[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Host: myserver.example.net[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Connection: Keep-Alive[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "User-Agent: DAVdroid/0.6.11[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Authorization: Basic xxxxxxxxxxxxxxxxxxxxxxxxx[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "<propfind xmlns="DAV:">[\n]"
    D/Wire    (12706): http-outgoing-46 >> "   <prop>[\n]"
    D/Wire    (12706): http-outgoing-46 >> "      <current-user-principal/>[\n]"
    D/Wire    (12706): http-outgoing-46 >> "   </prop>[\n]"
    D/Wire    (12706): http-outgoing-46 >> "</propfind>"
    D/Wire    (12706): http-outgoing-46 << "HTTP/1.1 207 Multi-Status[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Server: nginx/1.2.1[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Date: Wed, 18 Feb 2015 09:41:19 GMT[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Content-Type: application/xml; charset=utf-8[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Transfer-Encoding: chunked[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Connection: keep-alive[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "X-Powered-By: PHP/5.4.36-0+deb7u3[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Expires: Thu, 19 Nov 1981 08:52:00 GMT[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Pragma: no-cache[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Strict-Transport-Security: max-age=31536000; includeSubDomains[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "X-XSS-Protection: 1; mode=block[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "X-Content-Type-Options: nosniff[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "X-Frame-Options: Sameorigin[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-src *; img-src *; font-src 'self' data:; media-src *; connect-src *[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "X-Robots-Tag: none[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Set-Cookie: xxxxxxxxxxxxxxxxxxxxxxxxx; path=/services; secure; HttpOnly[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Vary: Brief,Prefer[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "DAV: 1, 3, extended-mkcol, calendar-access, calendar-proxy, access-control, calendarserver-principal-property-search[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "1a7[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "<?xml version="1.0" encoding="utf-8"?>[\n]"
    D/Wire    (12706): http-outgoing-46 << "<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/"><d:response><d:href>/services/remote.php/caldav/</d:href><d:propstat><d:prop><d:current-user-principal><d:unauthenticated/></d:current-user-principal></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response></d:multistatus>[\n]"
    D/Wire    (12706): http-outgoing-46 << "[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "0[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "[\r][\n]"
    D/HttpClient(12706): Connection can be kept alive indefinitely
    V/davdroid.URIUtils(12706): Normalized URL /services/remote.php/caldav/ -> /services/remote.php/caldav/
    D/davdroid.WebDavResource(12706): Processing multi-status element: https://myserver.example.net/services/remote.php/caldav/
    D/HttpClient(12706): Connection [id: 46][route: HttpRoute[{s}->https://myserver.example.net:443]] can be kept alive indefinitely
    D/HttpClient(12706): Connection released: [id: 46][route: HttpRoute[{s}->https://myserver.example.net:443]][total kept alive: 1; route allocated: 1 of 2; total allocated: 1 of 3]
    I/davdroid.DavResourceFinder(12706): Couldn't find current-user-principal for service carddav
    D/davdroid.DavResourceFinder(12706): Looking up SRV records for _caldavs._tcp.myserver.example.net
    D/davdroid.WebDavResource(12706): Using preemptive authentication (not compatible with Digest auth)
    V/davdroid.URIUtils(12706): Normalized URL /.well-known/caldav -> /.well-known/caldav
    D/HttpClient(12706): Re-using cached 'basic' auth scheme for https://myserver.example.net:443
    D/HttpClient(12706): Connection request: [route: HttpRoute[{s}->https://myserver.example.net:443]][total kept alive: 1; route allocated: 1 of 2; total allocated: 1 of 3]
    D/HttpClient(12706): Connection leased: [id: 46][route: HttpRoute[{s}->https://myserver.example.net:443]][total kept alive: 0; route allocated: 1 of 2; total allocated: 1 of 3]
    D/HttpClient(12706): Executing request PROPFIND /.well-known/caldav HTTP/1.1
    D/HttpClient(12706): Target auth state: CHALLENGED
    D/HttpClient(12706): Proxy auth state: UNCHALLENGED
    D/Wire    (12706): http-outgoing-46 >> "PROPFIND /.well-known/caldav HTTP/1.1[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Content-Type: text/xml; charset=UTF-8[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Accept: text/xml[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Depth: 0[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Content-Length: 88[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Host: myserver.example.net[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Connection: Keep-Alive[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "User-Agent: DAVdroid/0.6.11[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Authorization: Basic xxxxxxxxxxxxxxxxxxxxxxxxxF[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "<propfind xmlns="DAV:">[\n]"
    D/Wire    (12706): http-outgoing-46 >> "   <prop>[\n]"
    D/Wire    (12706): http-outgoing-46 >> "      <current-user-principal/>[\n]"
    D/Wire    (12706): http-outgoing-46 >> "   </prop>[\n]"
    D/Wire    (12706): http-outgoing-46 >> "</propfind>"
    D/Wire    (12706): http-outgoing-46 << "HTTP/1.1 302 Moved Temporarily[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Server: nginx/1.2.1[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Date: Wed, 18 Feb 2015 09:41:19 GMT[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Content-Type: text/html[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Content-Length: 160[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Location: https://myserver.example.net/services/.well-known/caldav[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Connection: keep-alive[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Public-Key-Pins: pin-sha256="xxxxxxxxxxxxxxxxxxxxxxxxx="; max-age=5184000; includeSubDomains[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "<html>[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "<head><title>302 Found</title></head>[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "<body bgcolor="white">[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "<center><h1>302 Found</h1></center>[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "<hr><center>nginx/1.2.1</center>[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "</body>[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "</html>[\r][\n]"
    D/HttpClient(12706): Connection can be kept alive indefinitely
    D/HttpClient(12706): Authentication succeeded
    V/davdroid.URIUtils(12706): Normalized URL https://myserver.example.net/services/.well-known/caldav -> https://myserver.example.net/services/.well-known/caldav
    I/davdroid.WebDavResource(12706): Redirection on PROPFIND; trying again at new content URL: https://myserver.example.net/services/.well-known/caldav
    D/HttpClient(12706): Connection [id: 46][route: HttpRoute[{s}->https://myserver.example.net:443]] can be kept alive indefinitely
    D/HttpClient(12706): Connection released: [id: 46][route: HttpRoute[{s}->https://myserver.example.net:443]][total kept alive: 1; route allocated: 1 of 2; total allocated: 1 of 3]
    D/HttpClient(12706): Connection request: [route: HttpRoute[{s}->https://myserver.example.net:443]][total kept alive: 1; route allocated: 1 of 2; total allocated: 1 of 3]
    D/HttpClient(12706): Connection leased: [id: 46][route: HttpRoute[{s}->https://myserver.example.net:443]][total kept alive: 0; route allocated: 1 of 2; total allocated: 1 of 3]
    D/HttpClient(12706): Executing request PROPFIND /services/.well-known/caldav HTTP/1.1
    D/HttpClient(12706): Target auth state: SUCCESS
    D/HttpClient(12706): Proxy auth state: UNCHALLENGED
    D/Wire    (12706): http-outgoing-46 >> "PROPFIND /services/.well-known/caldav HTTP/1.1[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Content-Type: text/xml; charset=UTF-8[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Accept: text/xml[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Depth: 0[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Content-Length: 88[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Host: myserver.example.net[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Connection: Keep-Alive[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "User-Agent: DAVdroid/0.6.11[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Authorization: Basic xxxxxxxxxxxxxxxxxxxxxxxxx[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "<propfind xmlns="DAV:">[\n]"
    D/Wire    (12706): http-outgoing-46 >> "   <prop>[\n]"
    D/Wire    (12706): http-outgoing-46 >> "      <current-user-principal/>[\n]"
    D/Wire    (12706): http-outgoing-46 >> "   </prop>[\n]"
    D/Wire    (12706): http-outgoing-46 >> "</propfind>"
    D/Wire    (12706): http-outgoing-46 << "HTTP/1.1 302 Moved Temporarily[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Server: nginx/1.2.1[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Date: Wed, 18 Feb 2015 09:41:19 GMT[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Content-Type: text/html[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Content-Length: 160[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Location: https://myserver.example.net/services/remote.php/caldav/[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Connection: keep-alive[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Public-Key-Pins: pin-sha256="xxxxxxxxxxxxxxxxxxxxxxxxx="; max-age=5184000; includeSubDomains[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "<html>[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "<head><title>302 Found</title></head>[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "<body bgcolor="white">[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "<center><h1>302 Found</h1></center>[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "<hr><center>nginx/1.2.1</center>[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "</body>[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "</html>[\r][\n]"
    D/HttpClient(12706): Connection can be kept alive indefinitely
    V/davdroid.URIUtils(12706): Normalized URL https://myserver.example.net/services/remote.php/caldav/ -> https://myserver.example.net/services/remote.php/caldav/
    I/davdroid.WebDavResource(12706): Redirection on PROPFIND; trying again at new content URL: https://myserver.example.net/services/remote.php/caldav/
    D/HttpClient(12706): Connection [id: 46][route: HttpRoute[{s}->https://myserver.example.net:443]] can be kept alive indefinitely
    D/HttpClient(12706): Connection released: [id: 46][route: HttpRoute[{s}->https://myserver.example.net:443]][total kept alive: 1; route allocated: 1 of 2; total allocated: 1 of 3]
    D/HttpClient(12706): Connection request: [route: HttpRoute[{s}->https://myserver.example.net:443]][total kept alive: 1; route allocated: 1 of 2; total allocated: 1 of 3]
    D/HttpClient(12706): Connection leased: [id: 46][route: HttpRoute[{s}->https://myserver.example.net:443]][total kept alive: 0; route allocated: 1 of 2; total allocated: 1 of 3]
    D/HttpClient(12706): Executing request PROPFIND /services/remote.php/caldav/ HTTP/1.1
    D/HttpClient(12706): Target auth state: SUCCESS
    D/HttpClient(12706): Proxy auth state: UNCHALLENGED
    D/Wire    (12706): http-outgoing-46 >> "PROPFIND /services/remote.php/caldav/ HTTP/1.1[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Content-Type: text/xml; charset=UTF-8[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Accept: text/xml[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Depth: 0[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Content-Length: 88[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Host: myserver.example.net[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Connection: Keep-Alive[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "User-Agent: DAVdroid/0.6.11[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "Authorization: Basic xxxxxxxxxxxxxxxxxxxxxxxxx[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "[\r][\n]"
    D/Wire    (12706): http-outgoing-46 >> "<propfind xmlns="DAV:">[\n]"
    D/Wire    (12706): http-outgoing-46 >> "   <prop>[\n]"
    D/Wire    (12706): http-outgoing-46 >> "      <current-user-principal/>[\n]"
    D/Wire    (12706): http-outgoing-46 >> "   </prop>[\n]"
    D/Wire    (12706): http-outgoing-46 >> "</propfind>"
    D/Wire    (12706): http-outgoing-46 << "HTTP/1.1 207 Multi-Status[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Server: nginx/1.2.1[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Date: Wed, 18 Feb 2015 09:41:19 GMT[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Content-Type: application/xml; charset=utf-8[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Transfer-Encoding: chunked[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Connection: keep-alive[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "X-Powered-By: PHP/5.4.36-0+deb7u3[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Expires: Thu, 19 Nov 1981 08:52:00 GMT[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Pragma: no-cache[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Strict-Transport-Security: max-age=31536000; includeSubDomains[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "X-XSS-Protection: 1; mode=block[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "X-Content-Type-Options: nosniff[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "X-Frame-Options: Sameorigin[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-src *; img-src *; font-src 'self' data:; media-src *; connect-src *[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "X-Robots-Tag: none[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Set-Cookie: xxxxxxxxxxxxxxxxxxxxxxxxx; path=/services; secure; HttpOnly[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "Vary: Brief,Prefer[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "DAV: 1, 3, extended-mkcol, calendar-access, calendar-proxy, access-control, calendarserver-principal-property-search[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "1a7[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "<?xml version="1.0" encoding="utf-8"?>[\n]"
    D/Wire    (12706): http-outgoing-46 << "<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/"><d:response><d:href>/services/remote.php/caldav/</d:href><d:propstat><d:prop><d:current-user-principal><d:unauthenticated/></d:current-user-principal></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response></d:multistatus>[\n]"
    D/Wire    (12706): http-outgoing-46 << "[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "0[\r][\n]"
    D/Wire    (12706): http-outgoing-46 << "[\r][\n]"
    D/HttpClient(12706): Connection can be kept alive indefinitely
    V/davdroid.URIUtils(12706): Normalized URL /services/remote.php/caldav/ -> /services/remote.php/caldav/
    D/davdroid.WebDavResource(12706): Processing multi-status element: https://myserver.example.net/services/remote.php/caldav/
    D/HttpClient(12706): Connection [id: 46][route: HttpRoute[{s}->https://myserver.example.net:443]] can be kept alive indefinitely
    D/HttpClient(12706): Connection released: [id: 46][route: HttpRoute[{s}->https://myserver.example.net:443]][total kept alive: 1; route allocated: 1 of 2; total allocated: 1 of 3]
    D/HttpClient(12706): Connection request: [route: HttpRoute[{s}->https://myserver.example.net:443]][total kept alive: 1; route allocated: 1 of 2; total allocated: 1 of 3]
    D/HttpClient(12706): Connection leased: [id: 46][route: HttpRoute[{s}->https://myserver.example.net:443]][total kept alive: …
    
    [truncated while importing]

  • developer

    D/Wire    (12706): http-outgoing-46 << "<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/"><d:response><d:href>/services/remote.php/caldav/</d:href><d:propstat><d:prop><d:current-user-principal><d:unauthenticated/></d:current-user-principal></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response></d:multistatus>[\n]"
    

    Seems like OwnCloud doesn't send a current-user-principal (because "unauthenticated").

    Is the location in /service a default configuration?


  • admin

    Is it possible that you activated the webdav user backend in your owncloud?

    https://github.com/owncloud/core/issues/14085



  • No, but I use LDAP as a user/groups backend and this problem was caused by the same bug in Owncloud. So applied the changes from owncloud/core/pull/14275 and everythings dandy now.


  • admin

    Great, thanks for the update. You've got a very fancy avatar ;)


Log in to reply
 

Looks like your connection to Bitfire App Forums was lost, please wait while we try to reconnect.