openconnect / openconnect-gui

MOVED TO https://gitlab.com/openconnect/openconnect-gui
https://gitlab.com/openconnect/openconnect-gui
GNU General Public License v2.0
1.3k stars 241 forks source link

openconnect.exe terminates connection with unknown error #232

Open consultantleon opened 6 years ago

consultantleon commented 6 years ago

After a couple of hours successful my vpn gets disconnected with

-->> (exitCode: 1) <<-- [EXEC] netsh interface ip delete address 58 1.0.0.0 Element not found.

-->> (exitCode: 1) Unknown error; exiting.

I run with openconnect.exe console (as UI does not support 2FA 2 factor auth... see my other case on this).

It's annoying that the connection just gets aborted and no reconnect attempt is made either.

Open client for Cisco AnyConnect VPN, version v7.08

horar commented 6 years ago

hi @consultantleon , could you please try the original openconnect cli script - i.e. vpnc-script-win32.js (either rename it or use command line switch of cli tool). The 'vpnc-script.js' is modified version for gui. If the problem persists, then the best place to discuss will be openconnect mailing list. If the problem is solved by original script, please let me know, we have to find what get wrone here... thanks.