Project

General

Profile

Bug #70911

WebPushException: Push failed: 406 Not Acceptable

Added by Benjamin Dauvergne 3 months ago. Updated 12 days ago.

Status:
Nouveau
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
01 November 2022
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No
Tags:
pwa

Description

Cette erreur est produite par le serveur Microsoft pour les notifications web vers Edge, c'est du throttling1 dont on a aucune idée de la politique. Il faudrait émettre les notifications via une queue, pour pouvoir faire des ressaies.

https://sentry.entrouvert.org/entrouvert/publik/issues/54248/

Notification.DoesNotExist: Notification matching query does not exist.
  File "django/db/models/query.py", line 554, in update_or_create
    obj = self.select_for_update().get(**kwargs)
  File "django/db/models/query.py", line 408, in get
    self.model._meta.object_name

WebPushException: WebPushException: Push failed: 406 Not Acceptable
  File "combo/apps/pwa/signals.py", line 62, in notification
    vapid_claims=claims,
  File "__init__.py", line 404, in webpush
    response=response)

1 https://learn.microsoft.com/en-us/answers/questions/940324/406-not-acceptable-may-be-returned-when-sending-a

History

#1

Updated by Benjamin Dauvergne 3 months ago

  • Description updated (diff)
#2

Updated by Benjamin Dauvergne 12 days ago

  • Tags set to pwa
#3

Updated by Benjamin Dauvergne 12 days ago

  • Description updated (diff)

Also available in: Atom PDF