[GH-ISSUE #1279] Notifications for reserved topics not working #905

Closed
opened 2026-05-07 00:28:38 +02:00 by BreizhHardware · 4 comments

Originally created by @Ulimn on GitHub (Feb 18, 2025).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1279

🐞 Describe the bug

Notifications for reserved topics aren't working properly. Free ones are ok.
I already tried to remove and re-add the topics and to reinstall the apps.

💻 Components impacted

iOS app, iPadOS app

💡 Screenshots and/or logs

🔮 Additional context

Originally created by @Ulimn on GitHub (Feb 18, 2025). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1279 :lady_beetle: **Describe the bug** <!-- A clear and concise description of the problem. --> Notifications for reserved topics aren't working properly. Free ones are ok. I already tried to remove and re-add the topics and to reinstall the apps. :computer: **Components impacted** <!-- ntfy server, Android app, iOS app, web app --> iOS app, iPadOS app :bulb: **Screenshots and/or logs** <!-- If applicable, add screenshots or share logs help explain your problem. To get logs from the ... - ntfy server: Enable "log-level: trace" in your server.yml file - Android app: Go to "Settings" -> "Record logs", then eventually "Copy/upload logs" - web app: Press "F12" and find the "Console" window --> :crystal_ball: **Additional context** <!-- Add any other context about the problem here. -->
BreizhHardware 2026-05-07 00:28:38 +02:00
  • closed this issue
  • added the
    🪲 bug
    label
Author
Owner

@ilovelinux commented on GitHub (Feb 23, 2025):

Hi @Ulimn.

  1. Did you follow instructions at https://github.com/binwiederhier/ntfy-ios/blob/main/docs/GETTING_STARTED.md
  2. Are you running ntfy app or a custom app?
  3. Which version of ntfy are you using?
  4. Do you think there are other useful details you could give us to investigate the issue?

Thank you

<!-- gh-comment-id:2676463587 --> @ilovelinux commented on GitHub (Feb 23, 2025): Hi @Ulimn. 1. Did you follow instructions at https://github.com/binwiederhier/ntfy-ios/blob/main/docs/GETTING_STARTED.md 2. Are you running ntfy app or a custom app? 3. Which version of ntfy are you using? 4. Do you think there are other useful details you could give us to investigate the issue? Thank you
Author
Owner

@nudefireninja commented on GitHub (Apr 21, 2025):

Hi, I have the same problem.

  1. I am using the ntfy app and ntfy.sh server, so the development docs do not appear relevant to me.
  2. ntfy app.
  3. ntfy app 1.3 on iOS 18.3.1
  4. Additional details: I have tried multiple reserved topics. In each case the messages are always sent successfully but I never get any push notifications (even after 20+ hours) and the messages don't show up in the ntfy app until I pull down the list to refresh it (unlike public topic messages which show up automatically once I get the notification). I have also tried deleting and reinstalling the app and rebooting the phone. A few days before I started my ntfy.sh Supporter membership I had the same issue with a public topic and in that case it was resolved by reinstalling the app.

Here is the python code that I am using to send the messages:

import logging
from urllib.request import Request, urlopen

url = "https://ntfy.sh/pigeons"
logging.info("Sending push notification to " + url)
request = Request(url)
request.data = "Look to the rooftops.".encode("utf-8")
request.add_header("X-Tags", "dove")
request.add_header("X-Click", "http://192.168.1.155")
request.add_header("Authorization", "Bearer tk_smj4l1wzj04ndhdz671vizjmwsvpj") # not my real access token 🤨
urlopen(request).read()
<!-- gh-comment-id:2817715703 --> @nudefireninja commented on GitHub (Apr 21, 2025): Hi, I have the same problem. 1. I am using the ntfy app and ntfy.sh server, so the development docs do not appear relevant to me. 2. ntfy app. 3. ntfy app 1.3 on iOS 18.3.1 4. Additional details: I have tried multiple reserved topics. In each case the messages are always sent successfully but I never get any push notifications (even after 20+ hours) and the messages don't show up in the ntfy app until I pull down the list to refresh it (unlike public topic messages which show up automatically once I get the notification). I have also tried deleting and reinstalling the app and rebooting the phone. A few days before I started my ntfy.sh Supporter membership I had the same issue with a public topic and in that case it was resolved by reinstalling the app. Here is the python code that I am using to send the messages: ```python import logging from urllib.request import Request, urlopen url = "https://ntfy.sh/pigeons" logging.info("Sending push notification to " + url) request = Request(url) request.data = "Look to the rooftops.".encode("utf-8") request.add_header("X-Tags", "dove") request.add_header("X-Click", "http://192.168.1.155") request.add_header("Authorization", "Bearer tk_smj4l1wzj04ndhdz671vizjmwsvpj") # not my real access token 🤨 urlopen(request).read() ```
Author
Owner

@wunter8 commented on GitHub (Apr 21, 2025):

This is a known bug with reserved topics and the native iOS app: the push notifications do not work in the background and you need to pull to refresh. Like you said, this is not an issue for public topics.

There is a PR that has yet to be merged that should fix this problem. We just haven't had very much time to work on ntfy recently.

In the meantime, if you use the PWA instead of the native app, the reserved topics should work fine. If you'd like your ntfy.sh Supporter membership refunded, reach out to @binwiederhier (for example, on Discord)

<!-- gh-comment-id:2818389925 --> @wunter8 commented on GitHub (Apr 21, 2025): This is a known bug with reserved topics and the native iOS app: the push notifications do not work in the background and you need to pull to refresh. Like you said, this is not an issue for public topics. There is a PR that has yet to be merged that should fix this problem. We just haven't had very much time to work on ntfy recently. In the meantime, if you use the PWA instead of the native app, the reserved topics should work fine. If you'd like your ntfy.sh Supporter membership refunded, reach out to @binwiederhier (for example, on Discord)
Author
Owner

@nudefireninja commented on GitHub (Apr 22, 2025):

Ok, thanks!

<!-- gh-comment-id:2821067788 --> @nudefireninja commented on GitHub (Apr 22, 2025): Ok, thanks!
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
starred/ntfy#905
No description provided.