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

Route redialing continues after app is closed #636

Closed
jdknives opened this issue Dec 9, 2020 · 1 comment
Closed

Route redialing continues after app is closed #636

jdknives opened this issue Dec 9, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@jdknives
Copy link
Member

jdknives commented Dec 9, 2020

Describe the bug
After requesting a route and closing the app that created a route, the visor keeps on retrying to redial for the old route. This prevents to dial for a new route for a while for me.

Environment information:

  • OS:Mac OS X

  • happens on fix/vpn-start-stop

Steps to Reproduce
Steps to reproduce the behavior:

1.Setup VPN client with remote PK
2. Start app
3. Stop app
4. Check logs
5. Start app with new PK set

Actual behavior
Visor keeps redialing for quite some time

Expected behavior
The visor stops when app requesting routes is closed or just does not try as often.

Possible implementation
Simplest fix would be to modify route redialing logic to only retry 4-5 times.

@jdknives jdknives added the bug Something isn't working label Dec 9, 2020
@jdknives
Copy link
Member Author

This issue is actually not an issue with the redialing logic but the shutdown logic. The VPN is still running even though the shutdown signal was received by visor. Attaching logs, which show that the HTTP request only completes after 52s when I manually kill the VPN process.

log-vpn-client.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant