mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 16:35:53 +02:00
[GH-ISSUE #757] Notifications for android sometimes get delayed several minutes #545
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#545
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 @happysalada on GitHub (May 31, 2023).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/757
🐞 Describe the bug
Sometimes a notification sent will only be received on the android app several minute later.
💻 Components impacted
ntfy server, Android app
💡 Screenshots and/or logs
I haven't seen anything in the logs, maybe I should just increase the verbosity
🔮 Additional context
I'm not sure how to get additional context here, but happy to try anything.
@binwiederhier commented on GitHub (May 31, 2023):
You're going to need to get some logs (mostly Android probably). Without logs, I cannot help.
Are you using ntfy.sh or selfhosted?
If you are using ntfy.sh, are you using "instant delivery"?
In your Android app, are subscriptions showing "connecting ..."? If they do, you are not actually connected to your server.
@happysalada commented on GitHub (May 31, 2023):
Self hosted, and im connected with the websocket.
Im sure im connected because im receiving 90% of the notifications instantly. Its just once in a while one takes several minutes.
Ill have a look at the logs and will paste them here next time this happens.
Thank you for this amazing software !
@binwiederhier commented on GitHub (May 31, 2023):
If it's only every now and then it's likely Android killing the connection. It just happens. There is nothing you can do about it except disable battery optimization for ntfy. If it is this, you'll see a software abort exception in the logs. It's quite normal. But some manufacturers are worse than others.
Also check: https://dontkillmyapp.com/
@happysalada commented on GitHub (Jun 1, 2023):
Ive disabled battery optimization for the app though (which your very helpful onboarding guide helped )
@binwiederhier commented on GitHub (Jun 12, 2023):
Without more information, I unfortunately cannot help. Feel free to ask on Discord/Matrix/Lemmy.
@happysalada commented on GitHub (Jun 12, 2023):
No worries at all, it hasnt happened since last time, next time ill only reopen if i have more info.