No notifications on GrapheneOS #91

Closed
opened 2026-03-30 21:27:55 +00:00 by WollyDolly · 9 comments
WollyDolly commented 2026-03-30 21:27:55 +00:00 (Migrated from codeberg.org)

Description

I do not receive any notifications, neiter with holos in foregrounfd or background.

Steps to Reproduce

  1. Send a direct message from an other phone

Expected Behavior

A notification should be received

Actual Behavior

Nothing. But when I open the app again, I notice it is doing updates of news and after that an in-app notification is generated. So it looks like the app doesn't run in background.
Ntfy is able to generate notifications from other source, so that works, and also in background.
I suspect Holos may need to issue a permanent notification, to be able to run in the background, just like ntfy does.
But I also wonder, since holos is the server itself, why does it need a distributor of notifications ? It is perfectly able to generate a local notification when it synchronize, without using ntfy, so why not the notifications for newsfeed ?

Screenshots / Logs

Environment

  • App version:
    1.1.1
    GrapheneOS Android 16, latest updates.
    Ntft
    Holos registered with ntfy
    App battery usage set to unlimited
<!-- Thanks for reporting a bug! Please fill in the sections below. The more details you provide, the easier it is to fix. Read our contributing guide: https://codeberg.org/tom79/Holos-App/src/branch/main/CONTRIBUTING.md --> ## Description <!-- What happened? Be clear and concise. --> I do not receive any notifications, neiter with holos in foregrounfd or background. ## Steps to Reproduce <!-- How can we reproduce this bug? --> 1. Send a direct message from an other phone 2. 3. ## Expected Behavior <!-- What did you expect to happen? --> A notification should be received ## Actual Behavior <!-- What actually happened? --> Nothing. But when I open the app again, I notice it is doing updates of news and after that an in-app notification is generated. So it looks like the app doesn't run in background. Ntfy is able to generate notifications from other source, so that works, and also in background. I suspect Holos may need to issue a permanent notification, to be able to run in the background, just like ntfy does. But I also wonder, since holos is the server itself, why does it need a distributor of notifications ? It is perfectly able to generate a local notification when it synchronize, without using ntfy, so why not the notifications for newsfeed ? ## Screenshots / Logs <!-- If applicable, add screenshots or error logs. --> ## Environment - **App version**: 1.1.1 GrapheneOS Android 16, latest updates. Ntft Holos registered with ntfy App battery usage set to unlimited <!-- Optional: add device/OS info if you think it's relevant -->
tom79 commented 2026-03-31 06:16:59 +00:00 (Migrated from codeberg.org)

Fix was deployed on the relay codeberg.org/tom79/Holos-Relay-Server@4e8069a9c9

Push notifications to ntfy distributors were sent using web-push encryption (RFC 8030) which ntfy doesn't support. They are now sent as plain JSON.

Fix was deployed on the relay https://codeberg.org/tom79/Holos-Relay-Server/commit/4e8069a9c9c32a87660d7ad16172cb451ca14934 Push notifications to ntfy distributors were sent using web-push encryption (RFC 8030) which ntfy doesn't support. They are now sent as plain JSON.
WollyDolly commented 2026-03-31 07:19:46 +00:00 (Migrated from codeberg.org)

After the changes yesterday, it is no longer possible to register for notifications, I get a timeout when I try.
And still no notifications received.

After the changes yesterday, it is no longer possible to register for notifications, I get a timeout when I try. And still no notifications received.
tom79 commented 2026-03-31 07:34:58 +00:00 (Migrated from codeberg.org)

The fix was deployed less than an hour ago. Could you please try again now?
Also, could you share your exact Holos handle so I can check your push configuration on the relay?

Regarding the registration timeout, this is unrelated to the push fix. Can you describe exactly what happens: which screen, what error message?

The fix was deployed less than an hour ago. Could you please try again now? Also, could you share your exact Holos handle so I can check your push configuration on the relay? Regarding the registration timeout, this is unrelated to the push fix. Can you describe exactly what happens: which screen, what error message?
WollyDolly commented 2026-03-31 07:56:12 +00:00 (Migrated from codeberg.org)

I go to holos->settings->notifications->Distributor
Then click "Register", then a long wait and timeout message briefly in the bottom of the screen.
I just tried sending a private message from Mastodon, but no notification received.
A huge thank you for your attention. Where can I find the donor contribution link ?

I go to holos->settings->notifications->Distributor Then click "Register", then a long wait and timeout message briefly in the bottom of the screen. I just tried sending a private message from Mastodon, but no notification received. A huge thank you for your attention. Where can I find the donor contribution link ?
WollyDolly commented 2026-03-31 08:30:38 +00:00 (Migrated from codeberg.org)
Holos handle: dennis_melhede@holos.melhede.net
tom79 commented 2026-03-31 15:31:19 +00:00 (Migrated from codeberg.org)

I tested push notifications with an ntfy account and they work correctly. Your issue is that your push endpoint became stale/disconnected. I've fixed a bug where re-registering could timeout, this will be in the next build. Once updated, go to UnifiedPush Setup and tap Register again.

I tested push notifications with an ntfy account and they work correctly. Your issue is that your push endpoint became stale/disconnected. I've fixed a bug where re-registering could timeout, this will be in the next build. Once updated, go to UnifiedPush Setup and tap Register again.
WollyDolly commented 2026-03-31 15:44:29 +00:00 (Migrated from codeberg.org)

When you asked me, I was actually able to perform a new registration without timeout, so I should already be in a situation where thw registration succeeded, but i still do not receive any notifications.

When you asked me, I was actually able to perform a new registration without timeout, so I should already be in a situation where thw registration succeeded, but i still do not receive any notifications.
WollyDolly commented 2026-03-31 15:48:21 +00:00 (Migrated from codeberg.org)

Aaaaand I just tested after a re-register, it now works.
Still on 1.1.1

Aaaaand I just tested after a re-register, it now works. Still on 1.1.1
jandi commented 2026-04-03 10:28:26 +00:00 (Migrated from codeberg.org)

Thank you, you made me realize that push notifications weren't working (maybe because my install comes from the very early betas?), but after re-registering they're working fine with the app closed and all, yay! (I use Conversations as a distributor.)

We have work to do in the notifications presentation, for the bubbles and for the whole Notifications tab, but push working feels great!

Thank you, you made me realize that push notifications weren't working (maybe because my install comes from the very early betas?), but after re-registering they're working fine with the app closed and all, yay! (I use Conversations as a distributor.) We have work to do in the notifications presentation, for the bubbles and for the whole Notifications tab, but push working feels great!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
tom79/Holos-App#91
No description provided.