sygnal icon indicating copy to clipboard operation
sygnal copied to clipboard

Investigate Sentry error: ResponseNeverReceived in WebPush

Open callahad opened this issue 3 years ago • 0 comments

Our monitoring for Syngal on matrix.org occasionally sees an error:

ResponseNeverReceived: [<twisted.python.failure.Failure twisted.internet.error.ConnectionDone: Connection was closed cleanly.>]
  File "sygnal/http.py", line 265, in _handle_dispatch
    result = await pushkin.dispatch_notification(notif, d, context)
  File "sygnal/notifications.py", line 180, in dispatch_notification
    return await self._dispatch_notification_unlimited(n, device, context)
  File "sygnal/webpushpushkin.py", line 190, in _dispatch_notification_unlimited
    response = await response_wrapper.deferred

So... what causes this to happen? Can we handle the error more gracefully?

(For Element employees, this is https://sentry.matrix.org/sentry/sygnal-matrixorg/issues/216330/)

callahad avatar Apr 02 '21 10:04 callahad