Closed Bug 1150571 Opened 9 years ago Closed 5 years ago

403 forbidden dismissing event notification

Categories

(Calendar :: Provider: GData, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED MOVED

People

(Reporter: bugzilla, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

Attached file Log β€”
Thunderbird 31.6.0, GData Provider 1.0.4, Lightning 3.3.3

I'm seeing the same stuff that we saw in bug 1101175.
Is this the problem mentioned in bug 1137249 comment 1?
Attached file calendar.log β€”
Comment on attachment 8588232 [details]
calendar.log

I am seeing this, too.  Posted about it on the google group.
https://groups.google.com/d/topic/provider-for-google-calendar/Y6eefaVeA2Y/discussion
(In reply to Stefan Sitter from comment #1)
> Is this the problem mentioned in bug 1137249 comment 1?

Unsure. I didn't start seeing this again until the last week or so.
It looks like I can dismiss events that I created for my own calendar. The ones that I have trouble with are events that I have been invited to by someone else.
(In reply to Aaron Klotz [:aklotz] (please use needinfo) from comment #5)
> It looks like I can dismiss events that I created for my own calendar. The
> ones that I have trouble with are events that I have been invited to by
> someone else.

Actually, the events that I've been having a problem with are for recurring meetings whose events were imported during the Google Calendar migration.
Attached file thunderbird.calendar.log β€”
I seem to have a very similar problem, or possibly two similar problems. There are a lot of bugs about dismissing reminders, but I think my problem is either this one, or the one described in #1271867.

I have just added a new google calendar to Thunderbird, and after connection it showed me reminders for a couple hundred events, all in the past. Dismiss All worked fine for most of them, but three reminders remain, and refuse to go away.

If I try clicking Dismiss, I get a dialog about modification failed, asking me to either "discard and reload", or "submit anyway". Which ever selection I go for, I get the same reminder again, and the same options if I try to discard it again. Similar behavior for the other two reminders.

I've enabled debug logging for the calendar (attached, with some privacy edits), and it looks like one of the events are returning a 404 when I try to dismiss, while the others return 403.

I've tried removing the calendar and adding it again, but the same three event reminders show up again. 

The only way to get rid of the reminders dialog is to close it using the X in the corner, and then selecting "submit anyway". The next time a reminder triggers, I still have those three, in addition to the new one. The new one will dismiss fine.
Forgot to add version info:
Linux fimojoha-w530 4.13.4-gentoo #1 SMP Tue Oct 3 10:31:58 CEST 2017 x86_64 Intel(R) Core(TM) i7-3820QM CPU @ 2.70GHz GenuineIntel GNU/Linux

Mozilla Thunderbird 52.4.0 (64-bit)
Lightning 5.4.4
Provider for Google Calendar 3.3
I also have three reminders that cannot be dismissed.

Windows 10
Mozilla Thunderbird 60.0 (32-bit)
Lightning 6.2
Provider for Google Calendar 4.4.1

Error in log:

Lightning:[calGoogleCalendar] Modifying item Team Meeting failed:2147500037: {
 "error": {
  "errors": [
   {
    "domain": "global",
    "reason": "forbidden",
    "message": "Forbidden"
   }
  ],
  "code": 403,
  "message": "Forbidden"
 }
}
 calGoogleCalendar.js:517

Interesting info from bug 1454901:

(eivindt from bug 1454901 comment #11)

I am also now seeing this again, but it's not the same behaviour as in my original report. Let me know if you want me to open a separate bug, or keep it in this one.

The behaviour I'm seeing now seems to be only for recurring events that I have been invited to (i.e. they are not my events).

As other people have noted, there's now a 403 Forbidden response, not the 404 in the original report, and there are no response at all in the user interface (no dialogs of any kind).

I don't know why the provider sends a full calendar json to the googleapis in order to dismiss a notification, but I was able to figure out what field that's causing this problem.

If I manually send the same request to the same url with the same authorization header, I also get a 403 Forbidden. But if I remove the 'recurrence' field:

"recurrence" : [
      "RRULE:FREQ=WEEKLY;BYDAY=FR"
],

and then resend, I get a 200 OK response.

Also interesting to notice is that in the 200 OK response, the recurrence field looks like this:

"recurrence": [
        "RRULE:FREQ=WEEKLY;WKST=MO;BYDAY=FR"
    ],

I.e. the WKST=MO; has been added.

After manually posting this, the reminder is dismissed correctly from Thunderbird as well.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → MOVED

Please update the see-also field with the URL of the new bug in the external tracker.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: