Hi π
I am trying to import an ICS Calendar (coming from Google Agenda) into Sogo, using Thunderbird Import feature.
I have an empty calendar that is well synchronized between Thunderbird and Sogo. I can create/modify/delete events in Thunderbird and it gets updated on Sogo (I can see that by using the web UI).
But when I try to import a calendar (using Thunderbird > Tools > Import > From file, into the existing synchronized calendar), some events fail when Thunderbird performs a PUT, and I see a 412 Precondition Failed
error.
When I look at the Sogo container logs, I can see that error too. Here is an example:
mailcowdockerized-sogo-mailcow-1 | Apr 9 13:38:15 c670f41756f1 sogod [109771]: 79.143.250.140 "PUT /SOGo/dav/my-user-redacted@my-domain-redacted.com/Calendar/personal/4ucgtlft1bhagb9ld9enpen6gv@google.com.ics HTTP/1.0" 412 91/1221 0.021 - - -744K - 14
When I delete the faulty events from the ICS, the import works fine.
I managed to isolate one of the faulty event, and the problem seem to be coming from the ORGANIZER
field.
If I change the mail address of this field (for an email that does not even exist), the import works.
Any idea what could cause the 412 error ? And how to prevent it ?
I am using the Mailcow stack version 2024-02 (will update soon) and Thunderbird version 115.9.0 on Debian Bookworm.