mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #1003] iOS notifications not working from the public/official ntfy.sh platform #705
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#705
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
@JustJoostNL commented on GitHub (Jan 18, 2024):
Same issue here unfortunately
@thunderwin commented on GitHub (Jan 19, 2024):
me too, ios not working
@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.
@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.
@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)
@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.
@lostfocus commented on GitHub (Jan 31, 2024):
Same here
@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:43ZCopyright (C) 2022 Philipp C. Heckel, licensed under Apache License 2.0 & GPLv2
@binwiederhier commented on GitHub (Feb 3, 2024):
I'm going to try to take a look later this week.
@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.
@isshenye commented on GitHub (Mar 7, 2024):
me too, ios not working
@skiddex25 commented on GitHub (Mar 7, 2024):
Any news on this? Running Docker Server and also getting the "error publishing poll request"-error.
@thokich commented on GitHub (Mar 26, 2024):
Any News here, my error is not resolve. I have install the :lates Image. HELP please
@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".
@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.
@skiddex25 commented on GitHub (Mar 27, 2024):
Solved it for me. Had this issue with other containers but didn't consider it with this one. @thokich Thank you very very much.