Open shawn-mty opened 4 years ago
Since you don't have Cisco AnyConnect vpncli.exe
installed at C:/Program Files (x86)/Cisco/Cisco AnyConnect Secure Mobility Client/vpncli.exe
, you must provide a different exe
option pointing to your AnyConnect installation location.
Duplicate of https://github.com/MarkTiedemann/cisco-vpn/issues/4.
I actually do have it installed there. Which is why I'm confused 🤔
On Fri, Nov 20, 2020 at 2:03 AM Mark Tiedemann notifications@github.com wrote:
Since you don't have Cisco AnyConnect vpncli.exe installed at C:/Program Files (x86)/Cisco/Cisco AnyConnect Secure Mobility Client/vpncli.exe, you must provide a different exe option pointing to your AnyConnect installation location.
Duplicate of #4 https://github.com/MarkTiedemann/cisco-vpn/issues/4.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MarkTiedemann/cisco-vpn/issues/5#issuecomment-731072256, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK5DDSKNY3XYHI2T5XY6EZDSQY5IJANCNFSM4T4HUKMA .
There's a /bin/sh
in your error log. Can you try running from cmd.exe
?
UnhandledPromiseRejectionWarning: Error: Command failed: "C:/Program Files (x86)/Cisco/Cisco AnyConnect Secure Mobility Client/vpncli.exe" connect someServer.com -s < /tmp/vpn-31cEIYST2AzHXR.txt node-app | /bin/sh: 1: C:/Program Files (x86)/Cisco/Cisco AnyConnect Secure Mobility Client/vpncli.exe: not found
Know why this came up perhaps?
I looked at the path but I don't know why it didn't work.
Thanks if you can help. Cool repo here!