-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Comments
Hello! What version is this happening on? It should automatically reconnect even if there is a rapid network change. |
@zaneschepke also for me the issue is back.
I think you have implemented the first workaround. Since the update to 3.6.3, it's not working anymore. Is the delay present in current versions? Thx |
Here is the old closed issue: #303 |
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. |
@zaneschepke yeah, issue is also back for me. Nice to hear that you will add back these workarounds. If you need a tester, I am here. |
v3.6.3
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 |
@Scrounger @zaneschepke @zaneschepke I also think a configurable delay in seconds (which defaults and has a minimum of 1 second) would be great. The benefit of an configurable delay would be, that the user can increase it if there are switching issues. 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)? |
In the latest nightly build I've added something called a debounce which will delay when there are rapid changes and keep delaying while there are rapid changes then emit the latest value, otherwise for single changea it wont delay. I've added one for network events and one for general auto tunnel state. Would one of you be able to try it out and see if it improves things? I think this is a more robust solution than a standard delay and should hopefully help. |
@zaneschepke thx for fix. Debouncing is a really nice solution. I have now installed the 3.6.4 nightly with the fix and will report back in a few days. |
@zaneschepke Sadly, Auto tunneling was stucked and the tunnel was always connected, regardless if my devices was connected to an white listed Wifi or not. Also switching auto tunneling on/off did not help. Just when I disabled the tunnel in the app manually the auto tunneling worked again. Maybe I had accidentally activated the tunnel manually and overridden auto tunneling. Is this a feature? I have activated local logging after the issue happened, where is the log file located? |
Yikes, that doesn't sound good. :( Thanks again for testing. Did it at least work for a while? Did it become stuck after working for a period of time? When you enable local logging there will be a logging screen you can navigate to from the support screen by clicking "Read the logs" . On that screen, you can view and copy individual log message or share out the logs. |
Yeah, i think it worked a day without an hickup. Sorry totally oversight the logging view function of the app. The issue was around i posted the first post today. I think it's around here in the log:
I was at home but i tried to disable wifi and enable it again and checked if the issue is gone (tunnel down). After disabling the tunnel in the app (with the switch) it was down and working when i toggled LTE & white listed wifi. I now leave logging on and if it happens again, post here. |
I saw this behavior as well. I just added some changes to the latest nightly that I think will fix these issues if you could give that a try! Thanks again for the testing! |
Thx a lot for your work and efforts. |
Saw that you did a full release, are those fixes included? |
Yeah, those fixes are included. Please give the new release a try! I did a full release because there were some other pretty critical bugs with kernel mode that had been resolved so it seemed like a good time to create a new release to fix those bugs. |
Nice, thx. |
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
The text was updated successfully, but these errors were encountered: