Failed to obtain WebVPN cookie

Dustin Hartung dustin.hartung at gmail.com
Tue Jan 24 09:28:50 PST 2017


I am trying to use openconnect on my Mac to connect to a Junos vpn.
Below is my command and the response i am getting.  I am not sure
where to go from here.  I downloaded generic tncc-wrapper.py from
Github.  Does it need to be modified?


openconnect --juniper --useragent 'Mozilla/5.0 (Linux) Firefox'
--csd-wrapper=tncc-wrapper.py https://vpn.mycompany.com/mycompany
WARNING: Juniper Network Connect support is experimental.
It will probably be superseded by Junos Pulse support.
GET https://vpn.mycompany.com/mycompany
Connected to https://vpn.mycompany.com/mycompany:443
SSL negotiation with vpn.mycompany.com
Connected to HTTPS on vpn.mycompany.com
Got HTTP response: HTTP/1.1 302 Found
GET https://vpn.mycompany.com/dana-na/auth/url_default/welcome.cgi
SSL negotiation with vpn.mycompany.com
Connected to HTTPS on vpn.mycompany.com
Failed to obtain WebVPN cookie

Thanks
Dusitn



More information about the openconnect-devel mailing list