-
Notifications
You must be signed in to change notification settings - Fork 395
NO more notifications at all, strange behaviour #3162
Comments
Hi! Same for me. No notifications at all. Android 9 (AEX) with microg and google play version, all troubleshooting checks pass! All other apps have working notifications. |
Seems ios started to have same issues. Also, my riot crashes after every call... |
It might be the latest version of synapse and not the client. |
Yes, i just installed 0.99.4 and they work again! Maybe test a day or two before closing this ticket... |
No, even after the update the notifications only appear when the app is running... |
Maybe relevant. It appears to me as if the push infrastructure isn't working correctly, because I have delivery delays up to 15min for my homeserver. |
At my side, I use the docker version of synapse and did not updated it since install. I have |
yes, in my case. but after I updated synapse to 0.99.4 |
These might actually be related: #3192 and microg/GmsCore#845 |
Hello. As I understood, new versions from F-DROID (microG) don't have background service code anymore, it don't ask for a permission, so that's why it is not working. Because of this, I am using version 0.8.26, which still have background service code... The downgrade was painful, needed to recreate all keys, verify again with everyone, because on android downgrade is not possible, only uninstall and install again. Now I have another problem... I can't call anymore to IOS users. It seems they upgraded to latest versions, and connection never establishes. |
The OSS buid of Riot on F-Droid comes without GCM/FCM support. This is intentional and (probably, I am also just a user) two reasons:
As far as I can tell, the F-Droid version of Riot instead periodically connects to the homeserver to check for new events. I have not used the current F-Droid version (using the Play Store one with microG), but the last time I did it already did not request background permission. Instead it looks (I have not checked the code) like it is using the Android Job scheduler to get started periodically and then opens a notification to not get closed until the synchronization finishes. The thing is, protocols like XMPP (Conversations) or IMAP (Email) use long-lived TCP sockets, so the non-GCM/FCM version of such apps can ask for the background permission, open a long-lived TCP connection and then receive notifications instantly. If the XMPP or Mail server is set up properly, this does not even take that much battery. To get back from that tangent to the missing notifications: |
Well, no need to implement GCM/FCM in f-droid version. Please just keep the old behaviour, as in version 0.8.26. It was synced every N seconds without any keep-alive, and worked perfectly, with no battery drain. I use 30 sec for sync and it is fine for me. Why this code was removed? Right now the version 0.8.26 can't establish calls anymore with updated ios clients... I don't know what to do. Using Signal as failover. I hope the old code with background permission and background sync every N seconds will be back and we will close all riot-fdroid notifications issues. I found about version 0.8.26 in this issue #3122 and people confirming it. |
So why can't the F-Droid version of Riot ask for the background permission and periodically (re)connect to the homeserver? (I have no clue about Android internals, just a user asking.)
I can observe that "Riot Desktop" (installed from |
I had the same issue (no push notifications on Android, playstore version. Both Riot and RiotX affected) and it took me quite some time to debug. The problem in my case was that I use an outbound web proxy globaly (http_proxy, https_proxy defined as http://my-proxy.local:3128 in /etc/systemd/system.conf). And synapse does not support this format. Those env vars must be defined as my-proxy.local:3128 (striping the scheme part). So if you have problems with notifications, you should check if those env vars are defined for your synapse process. |
Hi. It is not duplicate of #3138, I have more detailed description and strange behaviour, which may help resolve this issue.
After matrix.org incident, I installed my own server, latest matrix-synapse. All worked fine, but only one device stopped to receive notifications at all. Other 3 (two IOS and one android exact same phone and OS) was working.
So we are talking about 2 android devices, ios seems to not have such issues.
They are both same hardware, same OS Lineage, same version without GCM, but with microg.
Both use riot latest versions from F-droid.
One had working notifications, one not. Reinstalling the app not helped.
Before matrix.org incident, they both worked perfectly!!!
2 days ago, the working android device also stopped to receive notifications!!! no background sync at all!!! So now two android devices not having notifications at all. Only when I click to app, it syncs with the server.
I think something changed in new riot.app version and broke this. Other apps can do background sync.
Please help, I urgently need to have notifications working again. Thanks for great work.
The text was updated successfully, but these errors were encountered: