Checklist
Affected version
0.27.7
Steps to reproduce the bug
Hi,
I’ve enabled background sync, and I’m using a VPN for internet access. It seems that when the VPN blocks Newpipe's internet connection, the app still continues to perform scanning attempts in the background.
Although I noticed that you’ve already implemented some backoff mechanisms for retries, the app still performs multiple continuous retries, which can lead to unnecessary battery drain.
Would it be possible to implement a customized, app-specific server reachability check before attempting synchronization? This could help prevent redundant sync attempts when the app is not actually able to reach the server through the VPN.
Here are some resources might be useful:
StackOverflow: Checking server reachability
How DAVx⁵ handles server reachability with VPN
Thank you!
Expected behavior
No battery drain if no network connectivity for this app.
Actual behavior
No response
Screenshots/Screen recordings
No response
Logs
log.txt
Affected Android/Custom ROM version
Android 15
Affected device model
Pixel 6
Additional information
No response
Checklist
Affected version
0.27.7
Steps to reproduce the bug
Hi,
I’ve enabled background sync, and I’m using a VPN for internet access. It seems that when the VPN blocks Newpipe's internet connection, the app still continues to perform scanning attempts in the background.
Although I noticed that you’ve already implemented some backoff mechanisms for retries, the app still performs multiple continuous retries, which can lead to unnecessary battery drain.
Would it be possible to implement a customized, app-specific server reachability check before attempting synchronization? This could help prevent redundant sync attempts when the app is not actually able to reach the server through the VPN.
Here are some resources might be useful:
StackOverflow: Checking server reachability
How DAVx⁵ handles server reachability with VPN
Thank you!
Expected behavior
No battery drain if no network connectivity for this app.
Actual behavior
No response
Screenshots/Screen recordings
No response
Logs
log.txt
Affected Android/Custom ROM version
Android 15
Affected device model
Pixel 6
Additional information
No response