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

ISSUE: Config resets to old state every TunnlTo/PC restart #213

Open
scaramurder opened this issue Aug 31, 2024 · 12 comments
Open

ISSUE: Config resets to old state every TunnlTo/PC restart #213

scaramurder opened this issue Aug 31, 2024 · 12 comments
Labels
bug Something isn't working

Comments

@scaramurder
Copy link

Describe the issue
Every time i restart TunnlTo or my PC at all (which also leads to starting TunnlTo as it's in autorun) its config resets to something like mid-august state, resetting to old tunnel which i set up at that time. New configs don't save for persistent amount of time, and restarting TunnlTo leads to state reset.

To Reproduce
Steps to reproduce the behavior:

  1. Set a new tunnel
  2. Click Save
  3. Exit TunnlTo
  4. Start TunnlTo
  5. See error

Expected behavior
Setting up new tunnel saves it in some place and not resets to old state every TunnlTo restart

Tested on official WireGuard client
Not Applicable.

Tested on different VPN servers
Not Applicable.

Screenshots and GIF's
Not Applicable.

Tunnel Config
https://imgur.com/a/txDmA5W

Logs
https://pastebin.com/u9pe8Hwx

Starting WireSock directly
Not Applicable.

@scaramurder scaramurder added the bug Something isn't working label Aug 31, 2024
@loftyshine
Copy link

I am experiencing exactly the same issue.

@brendanosborne
Copy link
Contributor

I cannot think of a reason why this would be happening. The configs are stored in Edge local storage. You can see the configs here:

  • Right click somewhere in the TunnlTo app
  • Select "Inspect"
  • Select "Application" tab
  • Expand "Local Storage" in the left panel and then select "https://tauri.localhost"

On the right panel you will see the "tunnels" key.

Is there anything unusual with the setup of Microsoft Edge on your PC's? What version of Windows are you running?

@RedSynthez
Copy link

RedSynthez commented Sep 8, 2024

I cannot think of a reason why this would be happening. The configs are stored in Edge local storage. You can see the configs here:

  • Right click somewhere in the TunnlTo app
  • Select "Inspect"
  • Select "Application" tab
  • Expand "Local Storage" in the left panel and then select "https://tauri.localhost"

On the right panel you will see the "tunnels" key.

Is there anything unusual with the setup of Microsoft Edge on your PC's? What version of Windows are you running?

Had the same problem, launched Edge, it said it was updated (don't know when, since I'm not using it). Now I can update or delete configs. Thank you.
edit: Nope, have the same problem anyway. Every time I restart my pc my config resets to an old one. I'm using windows 11. I've checked Edge and it's updated.

@scaramurder
Copy link
Author

for me, completely removing this version of TunnlTo and its configuration files, then installing older version worked just fine.
not a fix, but workaround

@SeiSilver
Copy link

@cutscries I had the same issue. I just uninstalled TunnlTo and WireSock VPN, then reinstalled them, and the issue was resolved.

@ParkSanghyeong
Copy link

I have the same issue. Previously the settings were saved permanently, but after updating from Windows 10 to Windows 11, the settings are not being saved. Of course, other issues could be the cause, but the most likely cause seems to be Windows 11.

@nikolai-imversed
Copy link

nikolai-imversed commented Oct 3, 2024

same. bump.
UPD:
This worked for me, but I dunno if this is the workaround for anyone else

Don't forget to backup your configs

  1. Goto Appdata > Local.
  2. Remove com.tunnl.to
  3. Import your configs again

It has solved local store resetting to old configs

@brendanosborne
Copy link
Contributor

same. bump. UPD: This worked for me, but I dunno if this is the workaround for anyone else

Don't forget to backup your configs

  1. Goto Appdata > Local.
  2. Remove com.tunnl.to
  3. Import your configs again

It has solved local store resetting to old configs

Is this working for anyone else?

I suspect it is something to do with a webview2 windows update.

@fullspb
Copy link

fullspb commented Oct 13, 2024

same. bump. UPD: This worked for me, but I dunno if this is the workaround for anyone else

Don't forget to backup your configs

  1. Goto Appdata > Local.
  2. Remove com.tunnl.to
  3. Import your configs again

It has solved local store resetting to old configs

it's work. thx

@AT-StephenDetomasi
Copy link

Looking forward to a proper fix of this, it's quite annoying

@nikolai-imversed
Copy link

same. bump. UPD: This worked for me, but I dunno if this is the workaround for anyone else
Don't forget to backup your configs

  1. Goto Appdata > Local.
  2. Remove com.tunnl.to
  3. Import your configs again

It has solved local store resetting to old configs

Is this working for anyone else?

I suspect it is something to do with a webview2 windows update.

The bug has reoccured couple of weeks after. It might be an issue with local store. I've been playing around with storage folders in EBWebView > Default. Removing Local Storage (Also removed Sessions, Session Storage, shared_dbs, but I am not certain these parts of an app are where bug is) and re-importing configs back are solving this issue temporarily.

@brendanosborne
Copy link
Contributor

All I can do with this version is update dependencies and hope for the best, as I can't replicate the issue. It appears to be something to do with windows update and Edge.

Local storage has been a pain to deal with. In the premium beta I've started moving away from local storage altogether.

#222

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

9 participants