Kozea / Radicale

A simple CalDAV (calendar) and CardDAV (contact) server.
https://radicale.org
GNU General Public License v3.0
3.31k stars 428 forks source link

MODIFICATION_FAILED: Lightning on Linux #826

Closed Weuxel closed 7 months ago

Weuxel commented 6 years ago

Hello,

i am seeing write problems of Lightning specific to the Linux version.

nginx Logs: ==> radicale_ssl_error_log <== 2018/05/17 14:29:05 [error] 26926#0: *1099 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 2a01:xxxxxx:a9ce, server: dav.xxxxxx.org, request: "PUT /norman/Kalender.ics/ HTTP/2.0", upstream: "http://[::1]:5232/norman/Kalender.ics/", host: "dav.xxxxxx.org"

==> radicale_ssl_access_log <== 2a01:xxxxxxxx:a9ce - norman [17/May/2018:14:29:05 +0200] dav.xxxxxx.org "PUT /norman/Kalender.ics/ HTTP/2.0" 504 255 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 Lightning/5.4.7" "-"

radicale Logs:

2018-05-17 14:28:05,229 - [7f76867fc700] INFO: PUT request for '/norman/Kalender.ics/' received from '2a01:xxxxxxx:a9ce' (forwarded by ::1) using 'Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 Lightning/5.4.7' 2018-05-17 14:28:05,230 - [7f76867fc700] INFO: Successful login: 'norman' 2018-05-17 14:29:05,296 - [7f7686ffd700] INFO: GET request for '/norman/Kalender.ics/' received from '2a01:xxxxxx:a9ce' (forwarded by ::1) using 'Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 Lightning/5.4.7' 2018-05-17 14:29:05,297 - [7f7686ffd700] INFO: Successful login: 'norman' 2018-05-17 14:29:34,175 - [7f76867fc700] INFO: PUT response status for '/norman/Kalender.ics/' in 88.946 seconds: 201 Created 2018-05-17 14:29:34,275 - [7f7686ffd700] INFO: GET response status for '/norman/Kalender.ics/' in 28.979 seconds: 200 OK

The whole process takes some time. Lightning reports MODIFICATION_FAILD as error message and the calendar is set to "read only" after that. But the calendar item is entered regardless.

This problem does not occur with the same Lighning version on Mac. I can reproduce this with two separate Linux/Thunderbird/Lightning installations, though. Radicale Version is 2.1.8.

Regards, Norman

Weuxel commented 6 years ago

Hello,

i played with this and it turns out, it could be a result of the transition from 1.X to 2.X of radicale. Downloading all calendars and addressbooks, removing the complete collection-root folder, recreating all calendars and addressbooks and importing the saved files seems to have solved the issue.

There where errors with some items on the import, so maybe these particular items where the problem in the first place and have now been filtered out on import, i don´t know...

Norman