element-hq / element-ios

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

Access to matrix.org might blocks ringing progress on incoming calls, only showing notification. #7736

Open basncy opened 5 months ago

basncy commented 5 months ago

Steps to reproduce

Maybe I found the root cause: the access to matrix.org blocks ringing progress.

Here is how to reproduce this issue: (only notification) set up an HTTP proxy that deny access to tcp matrix.org:443(is it https://matrix.org ?), and set that HTTP proxy in iOS wifi settings.

Here is how to "fix": (callkit ringing) set up an HTTP proxy that allows access to tcp matrix.org:443, and set that HTTP proxy in iOS wifi settings.

expected patch: decouple the dependence of accessing tcp matrix.org:443 on incoming calls.

Outcome

Similar issue: https://github.com/element-hq/element-ios/issues/7665 https://github.com/element-hq/element-ios/issues/6258

Your phone model

No response

Operating system version

No response

Application version

No response

Homeserver

No response

Will you send logs?

No

rumz26 commented 4 months ago

Hi @basncy i am getting the ringing but multiple blank push notifications are still coming, can you please help if this issue is not coming at your end.

basncy commented 4 months ago

you can use another account like https://chat.mozilla.org/ to exclude the problem that might come with your miss synapse configuration.

estylib commented 4 months ago

Hi @basncy I have empty notifications 4-6 coming... 443 port is open, the calls are coming... What did I miss? Why notifications coming 4-6 times?

rumz26 commented 4 months ago

Hi @basncy I have empty notifications 4-6 coming... 443 port is open, the calls are coming... What did I miss? Why notifications coming 4-6 times?

Same thing is happening with me any idea if it is related to sygnal, synapse or element-ios @basncy @estylib

ziv-gabel commented 4 months ago

Hi @basncy I have empty notifications 4-6 coming... 443 port is open, the calls are coming... What did I miss? Why notifications coming 4-6 times?

Same here, anyone has a solution for this? it's really annoying.

basncy commented 3 months ago

@rumz26 @estylib @ziv-gabel enable logs on your synapse server, check out if your client connecting the synapse server to fetch the latest encrypted msg when receiving a new notification. The push notification comes from the Apple push server, while the content is fetched from your synapse home server and decrypted on the app client side. If there's no log from the synapse server, check out if Service Discovery via .well-known is configured correctly to instruct your client to connect to your home server.

rumz26 commented 3 months ago

Thankyou so much @basncy i'll try this.