sakai135 / wsl-vpnkit

Provides network connectivity to WSL 2 when blocked by VPN
MIT License
2.32k stars 170 forks source link

cannot connect to host: fork/exec /app/wsl-gvproxy.exe: no such file or directory #217

Open koekto1968 opened 1 year ago

koekto1968 commented 1 year ago

Hi guys! Something strange happened. The service stopped running all of a sudden.

wsl.exe -d wsl-vpnkit --cd /app wsl-vpnkit

Installation was done according to the manual. Yesterday and before everything works fine. No updates have been installed. The change systemd=false in /etc/wsl.conf helps to start the kit in manual mode. But at the same time, it is not possible to start the service at the start of the WSL. Ubuntu 22.04 WSL 1.2.5.0

Please, help!!!

kropptrevor commented 1 year ago

I had a similar problem, but instead it was "exec format error". This fixed it. Not sure if it's related to this.

koekto1968 commented 1 year ago

@kropptrevor, thanks a lot for the valid path! As a result, everything was solved by adding lines to wsl.conf [boot]
command=update-binfmts --disable cli

rudironsonijr commented 1 year ago

I had a similar problem, but instead it was "exec format error". This fixed it. Not sure if it's related to this.

Same here, but I used the approach described in the comment bellow the one you've used.