Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] - delay for auto tunnel #493

Open
Scrounger opened this issue Dec 13, 2024 · 7 comments
Open

[FEATURE] - delay for auto tunnel #493

Scrounger opened this issue Dec 13, 2024 · 7 comments
Assignees
Labels
enhancement New feature or request

Comments

@Scrounger
Copy link

Scrounger commented Dec 13, 2024

Is your feature request related to a problem? Please describe.
Sometimes i loose wifi connection for 1 seconds. Then auto tunnel is triggered an start the vpn connection, but it doesn't close it after reconnect

Describe the solution you'd like
a delay for autotunnel would be perfect for this. E.g. you can set a time in seconds after this, condition for autotunnel will be checked and if it's true start the auto tunnel

@Scrounger Scrounger added the enhancement New feature or request label Dec 13, 2024
@zaneschepke
Copy link
Owner

Hello! What version is this happening on? It should automatically reconnect even if there is a rapid network change.

@popy2k14
Copy link

@zaneschepke also for me the issue is back.
We discussed this in a previous issue/version that when I change networks rapidly (same SSID but could shortly fall Back to LTE) there should be:

  • Delay of few seconds before switching
  • Recheck in an interval

I think you have implemented the first workaround.

Since the update to 3.6.3, it's not working anymore.
I am on my whitelisted Wifi SSID and since the update (few days ago) the tunnel was two times on.

Is the delay present in current versions?
Any chance to implement rechecks in an interval?

Thx

@popy2k14
Copy link

Here is the old closed issue: #303

@zaneschepke
Copy link
Owner

Hey @popy2k14! Yeah, I remember these. Thanks for the additional information and feedback. The thing is both of these solutions are work arounds and don't address the core issue of why things are getting out of sync in the first place. In 3.6.3/3.6.2 had I believed I found and fixed the core issue of these sync problems so I removed these delays/rechecks as I thought they would no longer be necessary.

As I can see you are also reporting that these issues are still present, I'll add back some of these measures to make it more reliable again.

@popy2k14
Copy link

@zaneschepke yeah, issue is also back for me.
It seems the workaround is indeed needed in some situations. It worked flawlessly with the workaround of #303 up until 3.6.X.

Nice to hear that you will add back these workarounds.

If you need a tester, I am here.

@Scrounger
Copy link
Author

Scrounger commented Dec 17, 2024

Hello! What version is this happening on? It should automatically reconnect even if there is a rapid network change.

v3.6.3

As I can see you are also reporting that these issues are still present, I'll add back some of these measures to make it more reliable again.

Would be great if you could make this configurable, because I would like to start the vpn connection only after I am no longer in the wifi for a certain time

@popy2k14
Copy link

@Scrounger @zaneschepke
I am also on 3.6.3 and the issue happens on this version (i think current play store version).

@zaneschepke
We also discussed a configurable time back than on #303.
I think you decided against an setting to keep the app simple (and the fixed delay value worked also like charm).

I also think a configurable delay in seconds (which defaults and has a minimum of 1 second) would be great.
Please correct me if the default delay was higher in older versions.

The benefit of an configurable delay would be, that the user can increase it if there are switching issues.
As you know, there are so much android manufacturer out there which are also touching the AOSP network switching code (and want to make it better 🤣).

And sure like @Scrounger which want's an higher delay for his use cases.

How do you plan to solve the issue (fixed delay or configurable)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants