After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 788176 - Failed to put data: HTTP error code 501 (Method Not Implemented)
Failed to put data: HTTP error code 501 (Method Not Implemented)
Status: RESOLVED DUPLICATE of bug 787656
Product: evolution-data-server
Classification: Platform
Component: Calendar
3.26.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2017-09-26 10:38 UTC by Cédric Bellegarde
Modified: 2017-09-26 11:48 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Cédric Bellegarde 2017-09-26 10:38:00 UTC
When trying to add an event to my CalDAV calendar, I get this error message:
Failed to put data: HTTP error code 501 (Method Not Implemented)

Only happen with 3.26, rollback to 3.24 fix the issue.

Here full debug:
> CONNECT zimbra.mydomain.fr:443 HTTP/1.1
> Soup-Debug-Timestamp: 1506422020
> Soup-Debug: EWebDAVSession 1 (0x55824388f7e0), SoupMessage 1 (0x7f504c8281b0), SoupSocket 1 (0x558243821400)
> Host: zimbra.mydomain.fr
> Accept-Language: fr-fr, fr;q=0.9
> Connection: Keep-Alive
  
< HTTP/1.1 200 Connection established
< Soup-Debug-Timestamp: 1506422020
< Soup-Debug: SoupMessage 1 (0x7f504c8281b0)
< 
  
> OPTIONS /dav/username@mydomain.fr/Calendar/ HTTP/1.1
> Soup-Debug-Timestamp: 1506422020
> Soup-Debug: EWebDAVSession 1 (0x55824388f7e0), SoupMessage 2 (0x7f504c8280c0), SoupSocket 1 (0x558243821400)
> Host: zimbra.mydomain.fr
> User-Agent: Evolution/3.26.0
> Connection: close
> Cache-Control: no-cache
> Pragma: no-cache
> Accept-Language: fr-fr, fr;q=0.9
  
< HTTP/1.1 401 Unauthorized
< Soup-Debug-Timestamp: 1506422020
< Soup-Debug: SoupMessage 2 (0x7f504c8280c0)
< Date: Tue, 26 Sep 2017 10:33:40 GMT
< Server: Koala Web Server/2.4.0 (FreeBSD 6.2)
< WWW-Authenticate: BASIC realm="Zimbra"
< Content-Length: 0
< Connection: close
< Content-Type: text/plain
< 
  
> CONNECT zimbra.mydomain.fr:443 HTTP/1.1
> Soup-Debug-Timestamp: 1506422020
> Soup-Debug: EWebDAVSession 1 (0x55824388fde0), SoupMessage 1 (0x7f504c828750), SoupSocket 1 (0x5582438214d0)
> Host: zimbra.mydomain.fr
> Accept-Language: fr-fr, fr;q=0.9
> Connection: Keep-Alive
  
< HTTP/1.1 200 Connection established
< Soup-Debug-Timestamp: 1506422020
< Soup-Debug: SoupMessage 1 (0x7f504c828750)
< 
  
> OPTIONS /dav/username@mydomain.fr/Calendar/ HTTP/1.1
> Soup-Debug-Timestamp: 1506422020
> Soup-Debug: EWebDAVSession 1 (0x55824388fde0), SoupMessage 2 (0x7f504c828660), SoupSocket 1 (0x5582438214d0)
> Host: zimbra.mydomain.fr
> User-Agent: Evolution/3.26.0
> Connection: close
> Cache-Control: no-cache
> Pragma: no-cache
> Accept-Language: fr-fr, fr;q=0.9
  
< HTTP/1.1 401 must authenticate
< Soup-Debug-Timestamp: 1506422020
< Soup-Debug: SoupMessage 2 (0x7f504c828660)
< Date: Tue, 26 Sep 2017 10:33:40 GMT
< Server: Koala Web Server/2.4.0 (FreeBSD 6.2)
< WWW-Authenticate: BASIC realm="Zimbra"
< Content-Length: 0
< Connection: close
< Content-Type: text/plain
< 
  
> CONNECT zimbra.mydomain.fr:443 HTTP/1.1
> Soup-Debug-Timestamp: 1506422020
> Soup-Debug: EWebDAVSession 1 (0x55824388fde0), SoupMessage 3 (0x7f5050006a80), SoupSocket 2 (0x7f5058003400)
> Host: zimbra.mydomain.fr
> Accept-Language: fr-fr, fr;q=0.9
> Connection: Keep-Alive
  
< HTTP/1.1 200 Connection established
< Soup-Debug-Timestamp: 1506422020
< Soup-Debug: SoupMessage 3 (0x7f5050006a80)
< 
  
> OPTIONS /dav/username@mydomain.fr/Calendar/ HTTP/1.1
> Soup-Debug-Timestamp: 1506422020
> Soup-Debug: EWebDAVSession 1 (0x55824388fde0), SoupMessage 2 (0x7f504c828660), SoupSocket 2 (0x7f5058003400), restarted
> Host: zimbra.mydomain.fr
> User-Agent: Evolution/3.26.0
> Connection: close
> Cache-Control: no-cache
> Pragma: no-cache
> Accept-Language: fr-fr, fr;q=0.9
> Authorization: Basic [username:**********]
  
< HTTP/1.1 200 OK
< Soup-Debug-Timestamp: 1506422020
< Soup-Debug: SoupMessage 2 (0x7f504c828660)
< Date: Tue, 26 Sep 2017 10:33:40 GMT
< Server: Koala Web Server/2.4.0 (FreeBSD 6.2)
< DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
< DAV: version-control, addressbook, extended-mkcol, calendar-proxy
< DAV: calendarserver-principal-property-search
< Allow: MKCOL, REPORT, MOVE, COPY, HEAD, POST, GET, DELETE, ACL, MKCALENDAR
< Allow: PROPFIND, LOCK, OPTIONS, PUT, PROPPATCH, UNLOCK
< Content-Length: 0
< Connection: close
< Content-Type: text/plain
< 
  
> CONNECT zimbra.mydomain.fr:443 HTTP/1.1
> Soup-Debug-Timestamp: 1506422020
> Soup-Debug: EWebDAVSession 1 (0x55824388fde0), SoupMessage 4 (0x7f5050006990), SoupSocket 3 (0x7f50580035a0)
> Host: zimbra.mydomain.fr
> Accept-Language: fr-fr, fr;q=0.9
> Connection: Keep-Alive
  
< HTTP/1.1 200 Connection established
< Soup-Debug-Timestamp: 1506422020
< Soup-Debug: SoupMessage 4 (0x7f5050006990)
< 
  
> PROPFIND /dav/username@mydomain.fr/Calendar/ HTTP/1.1
> Soup-Debug-Timestamp: 1506422020
> Soup-Debug: EWebDAVSession 1 (0x55824388fde0), SoupMessage 5 (0x7f5050006b70), SoupSocket 3 (0x7f50580035a0)
> Host: zimbra.mydomain.fr
> User-Agent: Evolution/3.26.0
> Connection: close
> Cache-Control: no-cache
> Pragma: no-cache
> Depth: 0
> Content-Type: application/xml; charset="utf-8"
> Accept-Language: fr-fr, fr;q=0.9
> Authorization: Basic [username:**********]
> 
> <propfind xmlns="DAV:" xmlns:CS="http://calendarserver.org/ns/">
>   <prop>
>     <CS:getctag/>
>   </prop>
> </propfind>
  
< HTTP/1.1 207 Multi Status
< Soup-Debug-Timestamp: 1506422020
< Soup-Debug: SoupMessage 5 (0x7f5050006b70)
< Date: Tue, 26 Sep 2017 10:33:40 GMT
< Server: Koala Web Server/2.4.0 (FreeBSD 6.2)
< Content-Type: text/xml; charset=utf-8
< DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
< DAV: version-control, addressbook, extended-mkcol, calendar-proxy
< DAV: calendarserver-principal-property-search
< Vary: Accept-Encoding
< Content-Length: 374
< Connection: close
< 
  
<?xml version="1.0" encoding="UTF-8"?>

<D:multistatus xmlns:D="DAV:">
  <D:response>
    <D:href>/dav/username@mydomain.fr/Calendar/</D:href>
    <D:propstat>
      <D:status>HTTP/1.1 200 OK</D:status>
      <D:prop>
        <CS:getctag xmlns:CS="http://calendarserver.org/ns/">18-1458</CS:getctag>
      </D:prop>
    </D:propstat>
  </D:response>
</D:multistatus>

> CONNECT zimbra.mydomain.fr:443 HTTP/1.1
> Soup-Debug-Timestamp: 1506422020
> Soup-Debug: EWebDAVSession 1 (0x55824388fde0), SoupMessage 6 (0x7f504c828570), SoupSocket 4 (0x7f504c655120)
> Host: zimbra.mydomain.fr
> Accept-Language: fr-fr, fr;q=0.9
> Connection: Keep-Alive
  
< HTTP/1.1 200 Connection established
< Soup-Debug-Timestamp: 1506422020
< Soup-Debug: SoupMessage 6 (0x7f504c828570)
< 
  
> PROPFIND /dav/username@mydomain.fr/Calendar/ HTTP/1.1
> Soup-Debug-Timestamp: 1506422020
> Soup-Debug: EWebDAVSession 1 (0x55824388fde0), SoupMessage 7 (0x7f504c828480), SoupSocket 4 (0x7f504c655120)
> Host: zimbra.mydomain.fr
> User-Agent: Evolution/3.26.0
> Connection: close
> Cache-Control: no-cache
> Pragma: no-cache
> Depth: 0
> Content-Type: application/xml; charset="utf-8"
> Accept-Language: fr-fr, fr;q=0.9
> Authorization: Basic [username:**********]
> 
> <propfind xmlns="DAV:" xmlns:CS="http://calendarserver.org/ns/">
>   <prop>
>     <CS:getctag/>
>   </prop>
> </propfind>
  
< HTTP/1.1 207 Multi Status
< Soup-Debug-Timestamp: 1506422020
< Soup-Debug: SoupMessage 7 (0x7f504c828480)
< Date: Tue, 26 Sep 2017 10:33:40 GMT
< Server: Koala Web Server/2.4.0 (FreeBSD 6.2)
< Content-Type: text/xml; charset=utf-8
< DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
< DAV: version-control, addressbook, extended-mkcol, calendar-proxy
< DAV: calendarserver-principal-property-search
< Vary: Accept-Encoding
< Content-Length: 374
< Connection: close
< 
  
<?xml version="1.0" encoding="UTF-8"?>

<D:multistatus xmlns:D="DAV:">
  <D:response>
    <D:href>/dav/username@mydomain.fr/Calendar/</D:href>
    <D:propstat>
      <D:status>HTTP/1.1 200 OK</D:status>
      <D:prop>
        <CS:getctag xmlns:CS="http://calendarserver.org/ns/">18-1458</CS:getctag>
      </D:prop>
    </D:propstat>
  </D:response>
</D:multistatus>

> CONNECT zimbra.mydomain.fr:443 HTTP/1.1
> Soup-Debug-Timestamp: 1506422037
> Soup-Debug: EWebDAVSession 1 (0x55824388fde0), SoupMessage 8 (0x7f504c8282a0), SoupSocket 5 (0x7f504c655390)
> Host: zimbra.mydomain.fr
> Accept-Language: fr-fr, fr;q=0.9
> Connection: Keep-Alive
  
< HTTP/1.1 200 Connection established
< Soup-Debug-Timestamp: 1506422037
< Soup-Debug: SoupMessage 8 (0x7f504c8282a0)
< 
  
> GET /dav/username@mydomain.fr/Calendar/9eb8633caec79e413af8e2ead5996c14c620d6de.ics HTTP/1.1
> Soup-Debug-Timestamp: 1506422037
> Soup-Debug: EWebDAVSession 1 (0x55824388fde0), SoupMessage 9 (0x7f504c8281b0), SoupSocket 5 (0x7f504c655390)
> Host: zimbra.mydomain.fr
> User-Agent: Evolution/3.26.0
> Connection: close
> Cache-Control: no-cache
> Pragma: no-cache
> Accept-Language: fr-fr, fr;q=0.9
> Authorization: Basic [username:**********]
  
< HTTP/1.1 404 Not Found
< Soup-Debug-Timestamp: 1506422037
< Soup-Debug: SoupMessage 9 (0x7f504c8281b0)
< Date: Tue, 26 Sep 2017 10:33:57 GMT
< Server: Koala Web Server/2.4.0 (FreeBSD 6.2)
< Content-Length: 0
< Connection: close
< Content-Type: text/calendar
< 
  
> CONNECT zimbra.mydomain.fr:443 HTTP/1.1
> Soup-Debug-Timestamp: 1506422037
> Soup-Debug: EWebDAVSession 1 (0x55824388fde0), SoupMessage 10 (0x7f504c8280c0), SoupSocket 6 (0x7f504c6551f0)
> Host: zimbra.mydomain.fr
> Accept-Language: fr-fr, fr;q=0.9
> Connection: Keep-Alive
  
< HTTP/1.1 200 Connection established
< Soup-Debug-Timestamp: 1506422037
< Soup-Debug: SoupMessage 10 (0x7f504c8280c0)
< 
  
> GET /dav/username@mydomain.fr/Calendar/9eb8633caec79e413af8e2ead5996c14c620d6de HTTP/1.1
> Soup-Debug-Timestamp: 1506422037
> Soup-Debug: EWebDAVSession 1 (0x55824388fde0), SoupMessage 11 (0x7f504c828570), SoupSocket 6 (0x7f504c6551f0)
> Host: zimbra.mydomain.fr
> User-Agent: Evolution/3.26.0
> Connection: close
> Cache-Control: no-cache
> Pragma: no-cache
> Accept-Language: fr-fr, fr;q=0.9
> Authorization: Basic [username:**********]
  
< HTTP/1.1 404 Not Found
< Soup-Debug-Timestamp: 1506422037
< Soup-Debug: SoupMessage 11 (0x7f504c828570)
< Date: Tue, 26 Sep 2017 10:33:57 GMT
< Server: Koala Web Server/2.4.0 (FreeBSD 6.2)
< Content-Length: 0
< Connection: close
< Content-Type: text/plain
< 
  
> CONNECT zimbra.mydomain.fr:443 HTTP/1.1
> Soup-Debug-Timestamp: 1506422037
> Soup-Debug: EWebDAVSession 1 (0x55824388fde0), SoupMessage 12 (0x7f504c828480), SoupSocket 7 (0x7f504c655120)
> Host: zimbra.mydomain.fr
> Accept-Language: fr-fr, fr;q=0.9
> Connection: Keep-Alive
  
< HTTP/1.1 200 Connection established
< Soup-Debug-Timestamp: 1506422037
< Soup-Debug: SoupMessage 12 (0x7f504c828480)
< 
  
> PUT /dav/username@mydomain.fr/Calendar/9eb8633caec79e413af8e2ead5996c14c620d6de.ics HTTP/1.1
> Soup-Debug-Timestamp: 1506422037
> Soup-Debug: EWebDAVSession 1 (0x55824388fde0), SoupMessage 13 (0x7f504c8282a0), SoupSocket 7 (0x7f504c655120)
> Host: zimbra.mydomain.fr
> User-Agent: Evolution/3.26.0
> Connection: close
> Cache-Control: no-cache
> Pragma: no-cache
> If-None-Match: *
> Content-Type: text/calendar; charset="utf-8"
> Transfer-Encoding: chunked
> Accept-Language: fr-fr, fr;q=0.9
> Authorization: Basic [username:**********]
  
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:-//Ximian//NONSGML Evolution Calendar//EN
VERSION:2.0
BEGIN:VTIMEZONE
TZID:/freeassociation.sourceforge.net/Europe/Paris
X-LIC-LOCATION:Europe/Paris
BEGIN:STANDARD
TZNAME:CET
DTSTART:19701029T030000
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
END:STANDARD
BEGIN:DAYLIGHT
TZNAME:CEST
DTSTART:19700326T020000
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
UID:9eb8633caec79e413af8e2ead5996c14c620d6de
DTSTAMP:20170926T103340Z
DTSTART;TZID=/freeassociation.sourceforge.net/Europe/Paris:
 20170906T090000
DTEND;TZID=/freeassociation.sourceforge.net/Europe/Paris:20170906T093000
SEQUENCE:2
SUMMARY:test
TRANSP:OPAQUE
CLASS:PUBLIC
CREATED:20170926T103357Z
LAST-MODIFIED:20170926T103357Z
END:VEVENT
END:VCALENDAR
< HTTP/1.1 501 Method Not Implemented
< Soup-Debug-Timestamp: 1506422037
< Soup-Debug: SoupMessage 13 (0x7f504c8282a0)
< Date: Tue, 26 Sep 2017 10:33:57 GMT
< Allow: 
< Vary: Accept-Encoding
< Content-Length: 433
< Connection: close
< Content-Type: text/html; charset=iso-8859-1
< 
  
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>501 Method Not Implemented</title>
</head><body>
<h1>Method Not Implemented</h1>
<p>PUT to /dav/username@mydomain.fr/Calendar/9eb8633caec79e413af8e2ead5996c14c620d6de.ics not supported.<br />
</p>
<hr>
<address>Koala Web Server/2.4.0 (FreeBSD 6.2) Server at <a href="mailto:irts@mydomain.fr">zimbra.mydomain.fr</a> Port 443</address>
</body></html>
Comment 1 Milan Crha 2017-09-26 11:48:43 UTC
Thanks for a bug report. I'm afraid they reject the PUT due to the:

  Transfer-Encoding: chunked

I only know of bug #787656, where this had been found for a Radicale servers. Weird that my zimbra server works fine with the chunked encoding.

I will mark this as a duplicate of the older bug and I'll reopen it and I'll try to find some solution.

*** This bug has been marked as a duplicate of bug 787656 ***