sygnal
sygnal copied to clipboard
Investigate Sentry error: ResponseNeverReceived in WebPush
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/)