Skip to content

Newpipe searches for new videos when vpn block the network #12386

@ulairii

Description

@ulairii

Checklist

  • I am able to reproduce the bug with the latest version given here: CLICK THIS LINK.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have read the FAQ and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateIssue or discussion is a duplicate of an existing issue or discussion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions