[GH-ISSUE #1003] iOS notifications not working from the public/official ntfy.sh platform #705

Open
opened 2026-05-07 00:26:42 +02:00 by BreizhHardware · 16 comments

Originally created by @andreizy on GitHub (Jan 15, 2024).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1003

🐞 Describe the bug
I don't receive any iOS notifications from ntfy.sh on the iOS app.
Notifications are turned on for the app in the iPhone's settings.
Not using any self-hosted server; this is from the public/official ntfy.sh platform.
The notifications come in just fine on the web application (can't test on Android).
The only way to see the latest notifications is to manually refresh the topic on iOS. This won't generate the actual notifications on iOS but it will show you all the new notifications you've missed in the ntfy.sh app.

💻 Components impacted
iOS version 17.2
iPhone 14 Pro Max
iOS app version 1.3 (4)
ntfy.sh server: public/official one

💡 Screenshots and/or logs

🔮 Additional context
Notifications are sent to token-protected topics and are being received just fine on the web app, just not on iOS.
Paid subscriber of the public/official ntfy.sh platform.
Even tried reinstalling the app completely and it's still the same issue.

Hopefully, this can be looked into and fixed soon.
Thank you.

Originally created by @andreizy on GitHub (Jan 15, 2024). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1003 :lady_beetle: **Describe the bug** I don't receive any iOS notifications from ntfy.sh on the iOS app. Notifications are turned on for the app in the iPhone's settings. Not using any self-hosted server; this is from the public/official ntfy.sh platform. The notifications come in just fine on the web application (can't test on Android). The only way to see the latest notifications is to manually refresh the topic on iOS. This won't generate the actual notifications on iOS but it will show you all the new notifications you've missed in the ntfy.sh app. :computer: **Components impacted** iOS version 17.2 iPhone 14 Pro Max iOS app version 1.3 (4) ntfy.sh server: public/official one :bulb: **Screenshots and/or logs** - :crystal_ball: **Additional context** Notifications are sent to token-protected topics and are being received just fine on the web app, just not on iOS. Paid subscriber of the public/official ntfy.sh platform. Even tried reinstalling the app completely and it's still the same issue. Hopefully, this can be looked into and fixed soon. Thank you.
Author
Owner

@JustJoostNL commented on GitHub (Jan 18, 2024):

Same issue here unfortunately

<!-- gh-comment-id:1897947216 --> @JustJoostNL commented on GitHub (Jan 18, 2024): Same issue here unfortunately
Author
Owner

@thunderwin commented on GitHub (Jan 19, 2024):

me too, ios not working

<!-- gh-comment-id:1899909930 --> @thunderwin commented on GitHub (Jan 19, 2024): me too, ios not working
Author
Owner

@TheRealFu commented on GitHub (Jan 24, 2024):

I just subscribed to a month of Pro and repo the same issue. Messages sent to public (non-reserved) topics show up instantly on the iPhone app and show notifications. Messages sent to reserved topics do not cause a notification on the iPhone app and I have to manually refresh the topic to get the message. I haven't waited more than a few minutes to see if they come in (I'm only willing to pay for timely notifications). I have unsubscribed to the topic on the iPhone and re-subscribed and the issue still persists.

<!-- gh-comment-id:1907370589 --> @TheRealFu commented on GitHub (Jan 24, 2024): I just subscribed to a month of Pro and repo the same issue. Messages sent to public (non-reserved) topics show up instantly on the iPhone app and show notifications. Messages sent to reserved topics do not cause a notification on the iPhone app and I have to manually refresh the topic to get the message. I haven't waited more than a few minutes to see if they come in (I'm only willing to pay for timely notifications). I have unsubscribed to the topic on the iPhone and re-subscribed and the issue still persists.
Author
Owner

@TheRealFu commented on GitHub (Jan 24, 2024):

I just installed the Testflight ntfy app on iOS, unsubscribed to the topic and resubscribed, but the issue still reproduces - no notification if the app is not active, and have to manually pull down to refresh if the app is active.

<!-- gh-comment-id:1907375403 --> @TheRealFu commented on GitHub (Jan 24, 2024): I just installed the Testflight ntfy app on iOS, unsubscribed to the topic and resubscribed, but the issue still reproduces - no notification if the app is not active, and have to manually pull down to refresh if the app is active.
Author
Owner

@another commented on GitHub (Jan 24, 2024):

Similar issue as above.

Not sure if stream or WebSocket subscribers has anything to do with push but this TRACE appears immediately prior to the Publishing poll request DEBUG line:

2024/01/24 17:31:14 TRACE No stream or WebSocket subscribers, not forwarding (message_body_size=11, message_event=message, message_id=IOrLHBmc3de0, message_sender=69.x.x.x, message_time=1706135474, tag=publish, topic=test0, visitor_auth_limiter_limit=0.016666666666666666, visitor_auth_limiter_tokens=30, visitor_id=ip:69.x.x.x, visitor_ip=69.x.x.x, visitor_messages=1, visitor_messages_limit=17280, visitor_messages_remaining=17279, visitor_request_limiter_limit=0.2, visitor_request_limiter_tokens=59.0006235826, visitor_seen=2024-01-24T17:31:14.141-05:00)

2024/01/24 17:31:14 DEBUG Publishing poll request to https://ntfy.sh/f93a75538f80c87718087bfa84d45af409257b3687a579eef201171f5303dbe4 (message_body_size=11, message_event=message, message_id=IOrLHBmc3de0, message_sender=69.x.x.x, message_time=1706135474, topic=test0, visitor_auth_limiter_limit=0.016666666666666666, visitor_auth_limiter_tokens=30, visitor_id=ip:69.x.x.x, visitor_ip=69.x.x.x, visitor_messages=1, visitor_messages_limit=17280, visitor_messages_remaining=17279, visitor_request_limiter_limit=0.2, visitor_request_limiter_tokens=59.0006466348, visitor_seen=2024-01-24T17:31:14.141-05:00)

The TRACE shows the topic has 0 subscribers?

2024/01/24 17:31:23 TRACE - topic test0: 0 subscribers, accessed 2024-01-24T17:31:14.145-05:00 (tag=manager, topic=test0, topic_last_access=2024-01-24T17:31:14.145-05:00, topic_subscribers=0)

<!-- gh-comment-id:1909085152 --> @another commented on GitHub (Jan 24, 2024): Similar issue as above. Not sure if stream or WebSocket subscribers has anything to do with push but this TRACE appears immediately prior to the Publishing poll request DEBUG line: 2024/01/24 17:31:14 TRACE No stream or WebSocket subscribers, not forwarding (message_body_size=11, message_event=message, message_id=IOrLHBmc3de0, message_sender=69.x.x.x, message_time=1706135474, tag=publish, topic=test0, visitor_auth_limiter_limit=0.016666666666666666, visitor_auth_limiter_tokens=30, visitor_id=ip:69.x.x.x, visitor_ip=69.x.x.x, visitor_messages=1, visitor_messages_limit=17280, visitor_messages_remaining=17279, visitor_request_limiter_limit=0.2, visitor_request_limiter_tokens=59.0006235826, visitor_seen=2024-01-24T17:31:14.141-05:00) 2024/01/24 17:31:14 DEBUG Publishing poll request to https://ntfy.sh/f93a75538f80c87718087bfa84d45af409257b3687a579eef201171f5303dbe4 (message_body_size=11, message_event=message, message_id=IOrLHBmc3de0, message_sender=69.x.x.x, message_time=1706135474, topic=test0, visitor_auth_limiter_limit=0.016666666666666666, visitor_auth_limiter_tokens=30, visitor_id=ip:69.x.x.x, visitor_ip=69.x.x.x, visitor_messages=1, visitor_messages_limit=17280, visitor_messages_remaining=17279, visitor_request_limiter_limit=0.2, visitor_request_limiter_tokens=59.0006466348, visitor_seen=2024-01-24T17:31:14.141-05:00) The TRACE shows the topic has 0 subscribers? 2024/01/24 17:31:23 TRACE - topic test0: 0 subscribers, accessed 2024-01-24T17:31:14.145-05:00 (tag=manager, topic=test0, topic_last_access=2024-01-24T17:31:14.145-05:00, topic_subscribers=0)
Author
Owner

@TheRealFu commented on GitHub (Jan 29, 2024):

Notifications are working for me for reserved topics on the PWA (ntfy.sh/app) on the iPhone, so I have a work-around. Hopefully PWA notification subscriptions don't timeout or are in any other way second-class to "real app" notifications.

<!-- gh-comment-id:1915325775 --> @TheRealFu commented on GitHub (Jan 29, 2024): Notifications are working for me for reserved topics on the PWA (ntfy.sh/app) on the iPhone, so I have a work-around. Hopefully PWA notification subscriptions don't timeout or are in any other way second-class to "real app" notifications.
Author
Owner

@lostfocus commented on GitHub (Jan 31, 2024):

Same here

<!-- gh-comment-id:1918854814 --> @lostfocus commented on GitHub (Jan 31, 2024): Same here
Author
Owner

@thokich commented on GitHub (Feb 3, 2024):

2024/02/03 13:11:12 WARN Unable to publish poll request (error=Post "https://ntfy.sh/418f6bb73dc2007743ef710911bd56f97e4e60163617aff03d4d1ed786a5f5b2": context deadline exceeded (Client.Timeout exceeded while awaiting headers), message_body_size=126, message_event=message, message_id=sd56zq0VC6Lf, message_sender=xxxx, message_time=1706965862, message_user=xxxxxx, topic=monitoring, user_id=xxx, user_name=monitor, visitor_auth_limiter_limit=0.016666666666666666, visitor_auth_limiter_tokens=30, visitor_id=ip:xxx, visitor_ip=xxx, visitor_messages=2, visitor_messages_limit=17280, visitor_messages_remaining=17278, visitor_request_limiter_limit=0.2, visitor_request_limiter_tokens=60, visitor_seen=2024-02-03T13:11:02.504Z)same problem, i have open a issues to

A direct message with ntfy.sh over command line curl works and send a notification to iOS.
Sample in Doc : I replace the parameters with my own an run the statement on the computer where the docker container is running and it works. In the docker container i have no curl. I think the interface between application and ntfy.sh is the problem.
curl -X POST -H "X-Poll-ID: s4PdJozxM8na" https://ntfy.sh/6de73be8dfb7d69e32fb2c00c23fe7adbd8b5504406e3068c273aa24cef4055b
{"id":"4HsClFEuCIcs","time":1654087955,"event":"poll_request","topic":"6de73be8dfb7d69e32fb2c00c23fe7adbd8b5504406e3068c273aa24cef4055b","message":"New message","poll_id":"s4PdJozxM8na"}

I use the binwiederhier/ntfy:latest docker image for an arm64 enviroment. The logical network enviroment is
application_X send ip-intern:8880->ntfy(docker 80->8880)/ntfy.sh<- pfsense NAT ip-intern:8880<-ip-internet:8880<-nginx ip-internet:8880<-https://ip-proxy-internet<-phone

Version:
ntfy 2.8.0 (aaa4976), runtime go1.21.3, built at 2023-11-19T21:51:43Z
Copyright (C) 2022 Philipp C. Heckel, licensed under Apache License 2.0 & GPLv2

<!-- gh-comment-id:1925316401 --> @thokich commented on GitHub (Feb 3, 2024): 2024/02/03 13:11:12 WARN Unable to publish poll request (error=Post "https://ntfy.sh/418f6bb73dc2007743ef710911bd56f97e4e60163617aff03d4d1ed786a5f5b2": context deadline exceeded (**Client.Timeout exceeded while awaiting headers**), message_body_size=126, message_event=message, message_id=sd56zq0VC6Lf, message_sender=xxxx, message_time=1706965862, message_user=xxxxxx, topic=monitoring, user_id=xxx, user_name=monitor, visitor_auth_limiter_limit=0.016666666666666666, visitor_auth_limiter_tokens=30, visitor_id=ip:xxx, visitor_ip=xxx, visitor_messages=2, visitor_messages_limit=17280, visitor_messages_remaining=17278, visitor_request_limiter_limit=0.2, visitor_request_limiter_tokens=60, visitor_seen=2024-02-03T13:11:02.504Z)same problem, i have open a issues to A direct message with ntfy.sh over command line curl works and send a notification to iOS. Sample in Doc : I replace the parameters with my own an run the statement on the computer where the docker container is running and it works. In the docker container i have no curl. I think the interface between application and ntfy.sh is the problem. curl -X POST -H "X-Poll-ID: s4PdJozxM8na" https://ntfy.sh/6de73be8dfb7d69e32fb2c00c23fe7adbd8b5504406e3068c273aa24cef4055b {"id":"4HsClFEuCIcs","time":1654087955,"event":"poll_request","topic":"6de73be8dfb7d69e32fb2c00c23fe7adbd8b5504406e3068c273aa24cef4055b","message":"New message","poll_id":"s4PdJozxM8na"} I use the binwiederhier/ntfy:latest docker image for an arm64 enviroment. The logical network enviroment is application_X send ip-intern:8880->ntfy(docker 80->8880)/ntfy.sh<- pfsense NAT ip-intern:8880<-ip-internet:8880<-nginx ip-internet:8880<-https://ip-proxy-internet<-phone Version: ntfy 2.8.0 (aaa4976), runtime go1.21.3, built at 2023-11-19T21:51:43Z Copyright (C) 2022 Philipp C. Heckel, licensed under Apache License 2.0 & GPLv2
Author
Owner

@binwiederhier commented on GitHub (Feb 3, 2024):

I'm going to try to take a look later this week.

<!-- gh-comment-id:1925324844 --> @binwiederhier commented on GitHub (Feb 3, 2024): I'm going to try to take a look later this week.
Author
Owner

@rafazundt commented on GitHub (Feb 26, 2024):

I'm also getting this error, but I'm running the docker container.
Server is continuously getting down.

<!-- gh-comment-id:1965150677 --> @rafazundt commented on GitHub (Feb 26, 2024): I'm also getting this error, but I'm running the docker container. Server is continuously getting down.
Author
Owner

@isshenye commented on GitHub (Mar 7, 2024):

me too, ios not working

<!-- gh-comment-id:1982238576 --> @isshenye commented on GitHub (Mar 7, 2024): me too, ios not working
Author
Owner

@skiddex25 commented on GitHub (Mar 7, 2024):

Any news on this? Running Docker Server and also getting the "error publishing poll request"-error.

<!-- gh-comment-id:1983475443 --> @skiddex25 commented on GitHub (Mar 7, 2024): Any news on this? Running Docker Server and also getting the "error publishing poll request"-error.
Author
Owner

@thokich commented on GitHub (Mar 26, 2024):

Any News here, my error is not resolve. I have install the :lates Image. HELP please

<!-- gh-comment-id:2021662205 --> @thokich commented on GitHub (Mar 26, 2024): Any News here, my error is not resolve. I have install the :lates Image. HELP please
Author
Owner

@thokich commented on GitHub (Mar 27, 2024):

I have solved my problem and works fine
The Docker Container with an own Network needs in my Cloud Hoster Environment (Hetzner) the individual network setting "com.docker.network.driver.mtu=1450".

<!-- gh-comment-id:2022896610 --> @thokich commented on GitHub (Mar 27, 2024): I have solved my problem and works fine The Docker Container with an own Network needs in my Cloud Hoster Environment (Hetzner) the individual network setting "com.docker.network.driver.mtu=1450".
Author
Owner

@andreizy commented on GitHub (Mar 27, 2024):

The public/official ntfy.sh iOS app still does not receive notifications from the public/official ntfy.sh platform, which is a pretty big deterrent to paying the monthly subscription.

<!-- gh-comment-id:2023277170 --> @andreizy commented on GitHub (Mar 27, 2024): The public/official ntfy.sh iOS app still does not receive notifications from the public/official ntfy.sh platform, which is a pretty big deterrent to paying the monthly subscription.
Author
Owner

@skiddex25 commented on GitHub (Mar 27, 2024):

I have solved my problem and works fine

The Docker Container with an own Network needs in my Cloud Hoster Environment (Hetzner) the individual network setting "com.docker.network.driver.mtu=1450".

Solved it for me. Had this issue with other containers but didn't consider it with this one. @thokich Thank you very very much.

<!-- gh-comment-id:2023982993 --> @skiddex25 commented on GitHub (Mar 27, 2024): > I have solved my problem and works fine > > The Docker Container with an own Network needs in my Cloud Hoster Environment (Hetzner) the individual network setting "com.docker.network.driver.mtu=1450". Solved it for me. Had this issue with other containers but didn't consider it with this one. @thokich Thank you very very much.
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#705
No description provided.