Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate Sentry error: "Could not connect to server:" from aioapns #202

Open
callahad opened this issue Apr 2, 2021 · 0 comments
Open

Comments

@callahad
Copy link
Contributor

callahad commented Apr 2, 2021

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

Could not connect to server:

For whatever reason, Sentry does log a traceback for this error; it just reports the line above.

That error message appears to come from this line in aioapns: https://github.com/Fatal1ty/aioapns/blob/v2.0.2/aioapns/connection.py#L356

So... what could cause this to happen? What calls does Sygnal make that eventually trigger that error? Can we handle the error more gracefully?

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant