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

Notification broken when matrix.org is blocked #1133

Closed
nisbet-hubbard opened this issue Jun 22, 2023 · 3 comments
Closed

Notification broken when matrix.org is blocked #1133

nisbet-hubbard opened this issue Jun 22, 2023 · 3 comments
Labels

Comments

@nisbet-hubbard
Copy link

nisbet-hubbard commented Jun 22, 2023

Steps to reproduce

Push notification on iOS is broken in geography where matrix.org is blocked.

Outcome

What did you expect?

FluffyChat’ push notification is working fine, whilst Element iOS’s is similarly broken. This is related to matrix.org getting blocked in the area.

What happened instead?

No push notification is received. And the following error message appears in homeserver log:

WARN conduit::service::pusher: Could not send request to pusher https://matrix.org: Could not send request to pusher https://matrix.org: error sending request for url (https://matrix.org/_matrix/push/v1/notify): error trying to connect: operation timed out

Your phone model

SE2

Operating system version

16.3.1

Application version

111(48)

Homeserver

Conduit next

Will you send logs?

No

@nisbet-hubbard
Copy link
Author

nisbet-hubbard commented Jul 6, 2023

Added homeserver log that shows the cause is matrix.org having been blocked.

@pixlwave
Copy link
Member

Unfortunately the notifications backend (Sygnal) is a hard-coded end-point per client in the matrix world. If this is blocked you will need to find another client that has its own instance of Sygnal on a different URL.

@nisbet-hubbard
Copy link
Author

Thanks for the pointer.

It is indeed an unfortunate design choice, since this makes it easy for a surveillance state to break Matrix’s push notification.

On the brighter side, it’s already possible to self-host the push server for Android, so the design flaw mainly affects the iOS apps in the ecosystem. Considering iOS apps can always be taken down by state actors, it’s probably not worth the effort to pursue an iOS-specific solution for push (matrix-org/sygnal#14).

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

No branches or pull requests

3 participants