TunnlTo / desktop-app

TunnlTo is a Windows WireGuard VPN client built for split tunnelling.
https://tunnl.to
1.51k stars 61 forks source link

Crashing on startup #83

Closed devintly closed 1 year ago

devintly commented 1 year ago

Describe the issue After starting, app immediately crashing.

To Reproduce Steps to reproduce the behavior:

  1. Run app

Expected behavior Start app and see "Install wiresock"

Tested on official WireGuard client Is the tunnel working on the official Windows WireGuard client? Yes

I think problem in my updated system or something, because before reinstalling windows or on another pc all works fine win10 22h2 19045.2965

brendanosborne commented 1 year ago

Can you please try uninstalling both TunnlTo and WireSock and reinstalling if you haven't already done so.

Failing that, could you try launching this version and see what happens: https://github.com/TunnlTo/desktop-app/releases/download/v0.1.7/TunnlTo_0.1.7_x64_en-US-debug-2.msi

It should open with a console displaying debug information.

AdrianBaqueiro commented 1 year ago

i have the same issue but with windows 11 22621.2134

I have tried the debug version but the console also closes immediately

AdrianBaqueiro commented 1 year ago

add more info C:\Program Files\TunnlTo>TunnlTo.exe thread 'main' panicked at 'error while running tauri application: Runtime(CreateWebview(WebView2Error(WindowsError(Error { code: 0x80070002, message: The system cannot find the file specified. }))))', src\main.rs:395:10 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

brendanosborne commented 1 year ago

Can you check that webview2 is installed on your system

AdrianBaqueiro commented 1 year ago

Yes, I searched for the issue on Google and it was the first thing I found about webview but I have it installed in version 116, I will try to reinstall it

AdrianBaqueiro commented 1 year ago

Ok, I reinstalled it and it works, sorry for the inconvenience.

brendanosborne commented 1 year ago

Okay, glad to hear it. Eventually there should be a warning if webview2 is not installed and ask the user to install it.