mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 16:35:53 +02:00
[GH-ISSUE #1375] Battery Optimization When App Sync is Blocked by VPN or Firewall #974
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#974
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 @ulairii on GitHub (Jun 29, 2025).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1375
❓ Question
Hi,
I’ve encountered an issue when using ntfy with a VPN connection. When the VPN blocks ntfy’s internet access, the app still continuously attempts to sync in the background.
Although I assume there may already be some retry or backoff mechanisms in place, the repeated sync attempts while the server is unreachable can lead to unnecessary battery consumption.
Would it be possible to add a customized, app-level server reachability check before starting synchronization? This could help prevent redundant sync attempts when the app is effectively blocked by the VPN.
Here are some references that may help:
StackOverflow: Server reachability check
DAVx⁵ solution for handling VPN-related sync issues
Thank you!
@binwiederhier commented on GitHub (Feb 1, 2026):
The retry is only every 2 minutes, so it shouldn't bleed the battery. I also added a "connection error dialog" recently that should make it more obvious that it's blocked/unreachable.