TunnlTo/desktop-app

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

Opened this issue · 12 comments

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.

I am experiencing exactly the same issue.

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?

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.

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

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

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.

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

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.

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

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

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.

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