Prueba / myroundcube

Automatically exported from code.google.com/p/myroundcube
0 stars 0 forks source link

[libgpl] - CardDAV (missing Depth header) #809

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Token: c775f3f5edd408dc1248953d535b0341 (Don't modify this token!)
Version: 8.0.14 (15-04-2015)
PHP: 5.5.20
RCMAIL: 1.1.1
Database: 
SERVER: Apache
----
I.  Issue Description:
Cannot connect to Mac OSX CardDAV Server.

"Can't connect to the CardDAV server"

II. Steps to reproduce the Issue:
1. Add new carddav server with url: 
https://domain:8443/addressbooks/users/MYUSERNAME/addressbook/
2. Error appears

I've turned on debugging and logs/CardDAV-timeline shows me a lot of FORBIDDEN 
errors

[15-Apr-2015 20:49:31 +0200]: <efr4vjim> 1
[15-Apr-2015 20:49:31 +0200]: <efr4vjim> HTTP/1.1 401 Unauthorized
Strict-Transport-Security: max-age=604800
DAV: 1, access-control, calendar-access, calendar-schedule, 
calendar-auto-schedule, calendar-availability, inbox-availability, 
calendar-proxy, calendarserver-private-events, calendarserver-private-comments, 
calendarserver-sharing, calendarserver-sharing-no-scheduling, 
calendar-query-extended, calendar-default-alarms, calendar-managed-attachments, 
calendarserver-partstat-changes, calendar-no-timezone, 
calendarserver-recurrence-split, addressbook, extended-mkcol, 
calendarserver-principal-property-search, calendarserver-principal-search, 
calendarserver-home-sync
WWW-Authenticate: basic realm="home.fritz.box"
WWW-Authenticate: digest algorithm="md5", nonce="e071b7237570c70812195977", 
opaque="d63be5bd58b0beba591ea6876749a9cc-ZTA3MWI3MjM3NTcwYzcwODEyMTk1OTc3LDE5Mi4
xNjguMi40LDE0MjkxMjM3NzE=", realm="home.fritz.box"
Content-Type: text/html;charset=utf-8
Server: Twisted/13.2.0 TwistedWeb/9.0.0
Date: Wed, 15 Apr 2015 18:49:31 GMT
Content-Length: 141
Connection: close

HTTP/1.1 207 Multi-Status
Date: Wed, 15 Apr 2015 18:49:31 GMT
Last-Modified: Wed, 15 Apr 2015 18:32:05 GMT
Content-Length: 475
Strict-Transport-Security: max-age=604800
DAV: 1, access-control, calendar-access, calendar-schedule, 
calendar-auto-schedule, calendar-availability, inbox-availability, 
calendar-proxy, calendarserver-private-events, calendarserver-private-comments, 
calendarserver-sharing, calendarserver-sharing-no-scheduling, 
calendar-query-extended, calendar-default-alarms, calendar-managed-attachments, 
calendarserver-partstat-changes, calendar-no-timezone, 
calendarserver-recurrence-split, addressbook, extended-mkcol, 
calendarserver-principal-property-search, calendarserver-principal-search, 
calendarserver-home-sync
ETag: "c6bf1c999f8a6bb36443cea1f90002ba"
Accept-Ranges: bytes
Content-Type: text/xml
Server: Twisted/13.2.0 TwistedWeb/9.0.0
Connection: close

<?xml version='1.0' encoding='UTF-8'?>
<multistatus xmlns='DAV:'>
  <response>
    <href>/addressbooks/users/sascha/addressbook/</href>
    <propstat>
      <prop>
        <getctag xmlns='http://calendarserver.org/ns/'>3_195</getctag>
      </prop>
      <status>HTTP/1.1 200 OK</status>
    </propstat>
    <propstat>
      <prop>
        <displayname/>
      </prop>
      <status>HTTP/1.1 404 Not Found</status>
    </propstat>
  </response>
</multistatus>
[15-Apr-2015 20:49:31 +0200]: <efr4vjim> PROPFIND 
https://MYDOMAIN:8443/addressbooks/users/sascha/addressbook/  1
[15-Apr-2015 20:49:31 +0200]: <efr4vjim> 0
[15-Apr-2015 20:49:31 +0200]: <efr4vjim> HTTP/1.1 401 Unauthorized
Date: Wed, 15 Apr 2015 18:49:31 GMT
Content-Length: 141
Strict-Transport-Security: max-age=604800
WWW-Authenticate: digest realm="home.fritz.box", algorithm="md5", 
opaque="fc57191e865f52d6af67992f7b072a74-OWI2MTNlNmVmZDcxM2NmOTk1NjUxNWFkLDE5Mi4
xNjguMi40LDE0MjkxMjM3NzE=", nonce="9b613e6efd713cf9956515ad"
WWW-Authenticate: basic realm="home.fritz.box"
DAV: 1, access-control, calendar-access, calendar-schedule, 
calendar-auto-schedule, calendar-availability, inbox-availability, 
calendar-proxy, calendarserver-private-events, calendarserver-private-comments, 
calendarserver-sharing, calendarserver-sharing-no-scheduling, 
calendar-query-extended, calendar-default-alarms, calendar-managed-attachments, 
calendarserver-partstat-changes, calendar-no-timezone, 
calendarserver-recurrence-split, addressbook, extended-mkcol, 
calendarserver-principal-property-search, calendarserver-principal-search, 
calendarserver-home-sync
Content-Type: text/html;charset=utf-8
Server: Twisted/13.2.0 TwistedWeb/9.0.0
Connection: close

HTTP/1.1 403 Forbidden
Content-Length: 97
Server: Twisted/13.2.0 TwistedWeb/9.0.0
Date: Wed, 15 Apr 2015 18:49:31 GMT
Content-Type: text/xml
Strict-Transport-Security: max-age=604800
DAV: 1, access-control, calendar-access, calendar-schedule, 
calendar-auto-schedule, calendar-availability, inbox-availability, 
calendar-proxy, calendarserver-private-events, calendarserver-private-comments, 
calendarserver-sharing, calendarserver-sharing-no-scheduling, 
calendar-query-extended, calendar-default-alarms, calendar-managed-attachments, 
calendarserver-partstat-changes, calendar-no-timezone, 
calendarserver-recurrence-split, addressbook, extended-mkcol, 
calendarserver-principal-property-search, calendarserver-principal-search, 
calendarserver-home-sync
Connection: close

<?xml version='1.0' encoding='UTF-8'?>
<error xmlns='DAV:'>
  <propfind-finite-depth/>
</error>

Original issue reported on code.google.com by realriot on 15 Apr 2015 at 6:53

GoogleCodeExporter commented 8 years ago
Most probably this is caused by a missing Depth header in a PROPFIND request. I 
have added this header in latest "libgpl" plugin update. It should fix the 
issue. If the issue persists then re-open the ticket and send credentials of a 
test account by https://myroundcube.com#contact. We don't host a MAC OSX.

Original comment by roland.l...@gmail.com on 16 Apr 2015 at 3:42