I am quite desperate to get Unified Push working. In fact I should say “working again”, as it did provide me with notifications previously, with momentary problems with one or the other application.
I have an FP3 with the latest official /e/OS version 4.1.1 installed (Android 15). I have been using and would like to use ntfy for SchildiChat (Matrix), MollyFOSS (Signal fork) and Forkgram (Telegram fork).
I have looked for similar topics here and elsewhere and have tried to fix configurations and apply workarounds in one case or the other, but recently none of the aplications is working and I have no idea what to do anymore. I do not know if the troubles relate to updates of any of the applications in question, the ntfy implementation in /e/OS or a combination thereof. In any case, I did not observe that the push notifications stopped working all together with some system update.
As for Molly, there are no notifications with WebSocket either. As for SchildiChat, Background synchronization does not work either.
It would be very kind, if you could help me with the troubleshooting. Any Ideas?
As for workarounds, I have tried:
I installed Activity Manager to get access to the configuration of the build in ntfy, in order to change the default server to https://ntfy.adminforge.de/, to no avail. For now it is https://foundation.e.ntfy
Although I would like to use the build-in Unified Push, I tried Sunup. It did not work at all.
I did find information about other people struggling with Molly or Matrix notifications, or issues with the Forkgram code, but there does not seem to be any conclusive analysis. Here are some links for reference:
I can’t speak about the other apps but Molly (currently v8.19.2-3 from F-Droid) should work very well. I use the https://mollysocket.yourdevice.ch push server with the /e/ internal ntfy. Also my other push related app (Foss Warn) works with the /e/ internal ntfy.
I would suggest you to clean up the cache of Molly, perhaps also of ntfy. And when this doesn’t help clear the entire storage of both apps. And then configure Molly again to use UP over a Mollysocket server. It should indeed work.
When several UP related apps do not work then rather ntfy will be the problem.
If you really don’t get it working try Sunup (from F-Droid) as another push distributor, just for testing. Works fine with Molly and has a user interface for control.
So, I cleared the cache of Molly and ntfy and it did not resolve the problem. I cleared also the storage of Molly and ntfy and it did not make the push notifications work either, but the error message of the MollySocket did not appear.
However, as I had to set up Molly again in the process, it mentioned that activating the database encryption would deactivate the notifications, which was not the case before. Previously, I did receive push notifications while Molly was locked, telling me “You may have a new message”!
After confirming that I did not get notifications indeed, I deactivated the database encryption and the push notification came through.
As it did work before, I guess that is something that was changed in some Molly version. As the lock is actually a nice Molly feature, it would be a pity, if they modified its compability with the push service.
In conclusion, this part of my problem can be considered somewhat solved (I want the lock!) and it suggests that the /e/OS ntfy does still work.
Sounds like your’re still on Websockets (or a part of Molly thinks you’re still on Websockets). With a locked database and Websockets you will not receive notifications. On UP locking doesn’t matter because notifications come already from ntfy in background, that’s the great advantage.
I use also the lock continuously for more than a year (not the self locking feature after a period but after each reboot). Worked all the time. Can’t confirm that something should have changed there, my Molly had never a malfunction with that.
The only issue was that I had to change the Mollysocket server some months ago because of the server (!) had a problem - this was the true reason of many threads here and elsewhere, Molly doesn’t notify anymore …
Before that I cleaned the caches. Also, I installed UP-Example, which seemed to work unreliably. I got the WebPush test notification after considerable delay. Could Molly be having delays as well?
On which push server? The one I mentioned above has no delays, I get the messages in seconds, I tried it last week, it takes always a remarkable time but never longer than 10s.
And you mean, without the lock it would work correctly?
I would still suggest you to try the Sunup app instead of ntfy, just to find the responsible part of the chain. You must then tell Molly that it should use Sunup instead of ntfy. When this works stable your ntfy has a problem.
Well, Sunup does notify about a message: “You may have a new message”. However, the led was not blinking. I tried it twice with the same result. First, locking Molly manually before turning off the display. Then, just turning off the display, which locks Molly automatically.
At least I can now know if there are messages waiting for me behind the Molly lock.
I would suggest to (temporarily) switch back to ntfy.adminforge.de. Unfortunately, push.murena.com currently seems to have performance issues, i.e., probably too many UP users, so that you may get a 502 error if you open https://push.murena.com (or one of your push channels, as displayed by ntfy). I have brought up the problem in the weekly thread and pinged @Manoj . Additionally, I have also contacted Murena support (I pay for a Murena subscription, so why not?).
EDIT: While I am not really happy about the frequent 502 errors, I also have to emphasize that the native support of UnifiedPush by /e/OS is something positive for me: Without it, I would probably never have tried Molly or other UP apps. Moreover, we see the advantage of the open UP protocol and its decentral nature: We can seamlessly switch to another provider if one has temporary problems.
Could you please explain exactly how to change the push server?
I’m trying to convince my family to switch to a different instant messaging app, but the frequent lack of notifications is a major obstacle to making the switch.
When all UP apps have re-registered, launch the MainActivity again to verify that all apps now use the new UP server. They have the app name and “(UnifiedPush)” next to it.
You may notice that the MainActivity also has several subscribed topics, i.e., notification channels, by Murena with the URL push.murena.com/… . These are not UP subscriptions. When updating, ntfy may recreate them with your new server URL, but the old ones are still there.
I do not know whether these notification channels (with push.murena.com or with the new server URL) still work - you may ignore them or delete the ones with the new server URL.
And be also aware that you have to disable battery optimization for UP apps if new push notifications should instantly be displayed by them.