element-hq / element-hq/sygnal

Investigate Sentry error: RequestGenerationFailed in WebPush

Open
#205 0 comments 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
Python
Stars
44
Forks
20
Avg merge
16h 53m
Merged PRs (30d)
1

Description

*This issue was originally created by [**@callahad**](https://github.com/callahad) at .*

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

```
RequestGenerationFailed: []
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 183, in _dispatch_notification_unlimited
response = await response_wrapper.deferred
File "twisted/internet/defer.py", line 749, in send
raise result.value
```

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/216317/)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.