-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when accepting a calendar invite on Thunderbird: Processing message failed. Status: 80004005.
#17915
Comments
I think this log could be related:
|
After more investigation, it looks like the event can be accepted only if I manually sync the calendar.
It should work in step 2 above, I shouldn't be required to go up to step 6 |
Does nobody meet the same issue? Any support? |
That's exactly the point, this is the bug tracker for the development and NOT the Nextcloud help forum. Yo should search the forum first for any related issues, and if you cannot find an answer, you should raise your question there 😉 |
@j-ed I already did, no answer there either https://help.nextcloud.com/t/accepting-invitation-with-thunderbird-lightning-and-nextcloud-12-0-5/26791/2?u=sisim |
Does nobody meet the same issue? I don't see any answer neither here nor on https://help.nextcloud.com/t/error-when-accepting-a-calendar-invite-on-thunderbird/65117 😢 |
For the record, the workaround is to let Thunderbird manage the invitations:
I don't close the issue because I still think it's a bug: there should not be such issues between Nextcloud and Thunderbird, which is one of the most important open-source email/calendar software |
Same issue here, but your workaround doesn't seem to work for me. Double clicking the event in the calendar and selecting Accept does seem to work however. Thunderbird 68.3.1 I found other applications struggling with the same thing, i.e. DavMail to Exchange: "The cause of the error is Microsoft Exchange's Calendar attendant. It automatically processes the invitation and adds it to the calendar on the server-side. On the client side (Thunderbird), this change is not known because the calendar is not yet synchronized. As a result, the client tries to add an event that has already been added, hence the error." It looks like exchange does the same thing as Nextcloud: it processs the event. If you then try to accept in Thunderbird before syncing it will fail. Sync first and the message will show the event has already been processed. |
Thanks @biva, the workaround in Thunderbird works for us. Does anybody know if there is a similar option to set in Evolution Mail to get Invites accepted through mailclient? |
Today I had the same issue. Seems to me like a Thunderbird issue. |
This comment was marked as duplicate.
This comment was marked as duplicate.
Hi all, I also had the same error meesage. After some further searching I came across a thread in this google group mozilla.support.calendar (https://groups.google.com/forum/#!topic/mozilla.support.calendar/dGxYnEwdOBo). |
Having the same issue. I'm receiving the invitations from Outlook 365 and Outlook client via Exchange. I'm going to try the workarounds. |
I just had the same issue with an invitation from Exchange. Version: 68.9.0 (64-Bit) on linux. |
As @TooManyUsers63920 stated this is a clash of an out-of-sync TB client with the server.
The same happened for us (in my company) reproducibly and by simply asking TB to sync the invite showed up. Accepting it after that worked. So unless this can be fixed on the server side, e.g. by treating the additional event as a user's accept/reject feedback, I'd say this is a client issue: TB should re-sync when it encounters this error and restart its accept process. EDIT: As @marcelstoer pointed out 3 comments down, the server actually refuses an update that should be idempotent. Hence it's a server issue or at least should be fixable on the server side. |
This was my experience as well: It looked like a huge arcane problem, and then it fixed itself by auto-syncing while I was off making coffee. |
I have same problem with caldav on kopano. Using tbsync connector instead works ok. So i'd say it's indeed a client issue. |
I have the exactly same issue with Thunderbird 68.10.0 on Ubuntu 20.04. |
Also experiencing this and from what I understand this not a Thunderbird bug. Thunderbird request Nextcloud/SabreDAV log
=> a PUT operation on an existing resource should be idempotent i.e. "ok to update an existing item with the same uid" |
We are struggling with it in our company too.
Now:
This is why I think, thunderbird needs to sync calendars when you click 'accept', before it sends ics, or simply when you open the message containing ics file. Summary: Thunderbird needs to synchronize in order to have the same ics as the one on the server so it does not overwrite any changes. |
Same issue here, Thunderbird 68.10.0 (64-bit) on Linux with Google calendar. |
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as spam.
This comment was marked as spam.
I debugged this locally with mitmproxy and it turns out that Thunderbird attempts to PUT the accepted ics to an invalid name, because it doesn't know the name on the remote Nextcloud/CalDAV server (yet). The Nextcloud server responds with an error, as the UID is already existing because the invitation was already added to the invitees personal calendar by Sabre. After syncing the target calendar manually once in Thunderbird it works. Now, Thunderbird knows about the personal copy of the event and successfully maps the UID in the email attachment to the remote event it just synced and it PUTs the accepted event with the correct name. I investigated the possibility of just renaming the attached ics file but that wouldn't work because:
A possible solution would be to "hack" our backend by querying our database for the "correct" event by UID when Thunderbird PUTs and then update the actual event. Thunderbird could probably be recognized by its user agent. However, I don't recommend such a workaround as it might lead to other problems. cc @miaulalala @tcitworld Perhaps you have some ideas about a better solution? An exampleNote: I assume that User B is syncing their personal calendar with enabled offline mode and disabled client side scheduling in Thunderbird.
Intercepted error (steps 5 and 6)
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
<s:exception>Sabre\DAV\Exception\BadRequest</s:exception>
<s:message>Calendar object with uid already exists in this calendar collection.</s:message>
</d:error> |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
has anyone got a solution for this yet? |
Same problem here since Ubuntu 24.04 upgrade (also tested on 115.11.1 tar package). |
As mentioned above the workaround is to sync the target calendar first and then accept the invite. |
Same problem, same context. |
It's not working.
|
I agree, it's not working. I've now given it a try to do these things on the Nextcloud web interface to work around, and I'm getting similarly an error/a failure there. There (obviously) is not even a sync involved. As soon as a calendar event with a location (even creating a new one in the calendar web interface), I get an error. This is on Nextcloud 29.0.2 with Calendar 4.7.6 (just tested again). |
@Quentin-ctrL @pohutukawa Are you getting the following error in Thunderbird: And please provide some more details if you open a new issue. It would be nice to know which error message you see and what exactly happens. |
This comment was marked as duplicate.
This comment was marked as duplicate.
Processing message failed. Status: 80004005.
@st3iny can you confirm that sabre-io/dav#1563 would fix this issue? As far as i understand that issue, i dont think thats the case. |
Steps to reproduce
Expected behaviour
The event should be added to the calendar and the answer sent to the organizer
Actual behaviour
I’m experiencing this on Mozilla Thunderbird 68.2.2. This problem happens when I receive an invitation. Sometimes, I see the HTML message (with the Nextcloud logo…). In this case, the error message 80004005 appears.
At some point, I don’t know why, the email looks different, with only one single table, with a blue row on top with the title of the event: when the email turns into this format, I can accept an invitation without any problem.
It happens if the person sending the invite is using Thunderbird, and is using a calendar on the same Nextcloud server. And it can also happen if the sender is not in my organisation. (using Outlook or Thunderbird, I don't know)
It might be related to the server managed scheduling mode: (on thunderbird, I have calendar.caldav.sched.enabled = false
In my config.php, I see:
'app_install_overwrite' =>
array (
0 => 'calendar',
),
Should I remove that?
I see related issues here:
Server configuration
20191026.48+debian101.gbpf71ca0 (cli) (built: Oct 26 2019 14:20:37) ( NTS )The text was updated successfully, but these errors were encountered: