element-hq / element-ios

A glossy Matrix collaboration client for iOS
https://element.io
Apache License 2.0
1.73k stars 486 forks source link

Notification broken when matrix.org is blocked #7606

Closed nisbet-hubbard closed 1 year ago

nisbet-hubbard commented 1 year ago

Steps to reproduce

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

1.10.14

Homeserver

Conduit next

Will you send logs?

No

nisbet-hubbard commented 1 year ago

Updated description to add homeserver log that shows the cause is matrix.org having been blocked.

nisbet-hubbard commented 1 year ago

Same as https://github.com/vector-im/element-x-ios/issues/1133.

It’s now mainly an iOS issue. Possible solutions are discussed at https://github.com/matrix-org/sygnal/issues/14.

pixlwave commented 1 year ago

Closing this one for the same reason as https://github.com/vector-im/element-x-ios/issues/1133 in favour of the issue on Sygnal.