openconnect on ubuntu 14.04LTS I get "XML response has no "auth" node"

23

3

I run openconnect to connect to juniper as following

$ openconnect --version
OpenConnect version v5.02
Using GnuTLS. Features present: PKCS#11, TOTP software token, DTLS (using OpenSSL)


sudo openconnect -v -u=myuser --no-xmlpost --no-proxy https://myserver

Got HTTP response: HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Date: Mon, 25 Aug 2014 07:24:03 GMT
x-frame-options: SAMEORIGIN
Pragma: no-cache
Cache-Control: no-store
Expires: -1
Transfer-Encoding: chunked
HTTP body chunked (-2)
XML response has no "auth" node
Failed to obtain WebVPN cookie

can anyone help please?

Jas

Posted 2014-08-25T07:26:27.317

Reputation: 580

Could you fix this? What does XML response has no "auth" node mean? – displayname – 2015-04-23T15:13:36.987

For me it means it failed to connect to vpn :( – Jas – 2015-06-06T18:16:27.363

I ended up using openvpn ^^ – displayname – 2015-06-06T18:17:18.057

@StefanR.Falk hello! is openvpn working for you from ubuntu with juniper? can you post please an example command you use? – Jas – 2015-06-07T08:03:40.397

Have you tried to set UserGroup for the connection? Usually it's path after the host name like https://my.host.name/myUserGroup.

– Nikita – 2016-02-03T09:16:28.103

2How are you authenticating? You shouldn't be getting a WebVPN cookie before entering a password or other auth (and you're not using XML to auth if you've got --no-xmlpost in there). – LinuxDisciple – 2017-03-30T23:49:32.603

Does the router have a password? Try to omit the username portion... – Dagelf – 2019-03-31T21:50:09.003

No answers