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

[BUG] - Turning tunnel off/auto-tunneling paused required before editing tunnels #271

Closed
Dondrejohnson5 opened this issue Jul 25, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@Dondrejohnson5
Copy link

Describe the bug
WG Tunnel requires the tunnel to be turned off before it can be edited. Same error extends to other disabled tunnels in the app, if there are more than one, if auto tunneling is not paused or off entirely. The official WireGuard app does not present this restriction

Smartphone (please complete the following information):

  • Device: Motorola Edge 40 Pro
  • Android Version: 14
  • App Version 3.4.7

To Reproduce
Steps to reproduce the behavior:

1: Import two WireGuard tunnels and enable the first one.
2a: Long press on the second tunnel to edit it, it is successful.
2b: Long press on the first one to attempt to edit it, an error occurs to prompt you to disable the tunnel first.
3: Start auto-tunneling, ensuring the first tunnel remains enabled
4: Now attempt to edit the second tunnel again, you can no longer edit this tunnel because auto-tunneling is on

Expected behavior
I expect to be able to edit the tunnel, save the new settings, and the tunnel instantly restarts for the new settings to take effect, similar to what official WireGuard app allows, with no need of tampering current auto-tunneling mode or disabling and re-enabling tunnel manually

Screenshots (Only if necessary)

Additional context

@Dondrejohnson5 Dondrejohnson5 added the bug Something isn't working label Jul 25, 2024
@dkoppenh
Copy link

I can edit an active tunnel on version 3.5.4

@Dondrejohnson5
Copy link
Author

True, however when you save your changes, the tunnel does not update or restart, it is continuously active with your previous settings until you manually restart it

@zaneschepke
Copy link
Owner

This auto restart on config changes has been added in #476 and should be live in the nightly tonight and in the next release soon. Marking this as closed for now. If there are any issues, we can reopen. Thanks!

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

3 participants