Public bug reported: kubuntu 15.04 64bit openconnect: Installed: 6.00-1 Candidate: 6.00-1 Version table: *** 6.00-1 0
Login attempt fails with plasma-nm and command line as follows: openconnect --verbose --no-cert-check --user=myusername --dump-http --no-xmlpost --passwd-on-stdin servername GET https://servername/ Attempting to connect to server i.p.add.ress:443 SSL negotiation with servername Connected to HTTPS on servername > GET / HTTP/1.1 > Host: servername > User-Agent: Open AnyConnect VPN Agent v6.00 > Accept: */* > Accept-Encoding: identity > X-Transcend-Version: 1 > Got HTTP response: HTTP/1.0 302 Object Moved Content-Type: text/html Content-Length: 0 Cache-Control: no-cache Pragma: no-cache Connection: Close Date: Wed, 20 May 2015 06:16:56 GMT Location: /+webvpn+/index.html Set-Cookie: tg=; expires=Thu, 01 Jan 1970 22:00:00 GMT; path=/; secure HTTP body length: (0) GET https://servername/+webvpn+/index.html SSL negotiation with servername Connected to HTTPS on servername > GET /+webvpn+/index.html HTTP/1.1 > Host: servername > User-Agent: Open AnyConnect VPN Agent v6.00 > Accept: */* > Accept-Encoding: identity > X-Transcend-Version: 1 > Got HTTP response: HTTP/1.1 200 OK Transfer-Encoding: chunked Content-Type: text/xml Cache-Control: max-age=0 Set-Cookie: webvpn=; expires=Thu, 01 Jan 1970 22:00:00 GMT; path=/; secure Set-Cookie: webvpnc=; expires=Thu, 01 Jan 1970 22:00:00 GMT; path=/; secure Set-Cookie: webvpnlogin=1; secure X-Transcend-Version: 1 HTTP body chunked (-2) < <?xml version="1.0" encoding="UTF-8"?> < <auth id="main"> < <title>SSL VPN Service</title> < <ca status="disabled" href="/+CSCOCA+/login.html" /> < < < < <banner></banner> < <message>Please enter your username and password.</message> < < < <form method="post" action="/+webvpn+/index.html"> < < <input type="text" name="username" label="Username:" /> < <input type="password" name="password" label="Password:" /> < < < < < <input type="submit" name="Login" value="Login" /> < <input type="reset" name="Clear" value="Clear" /> < < < </form> < </auth> < Please enter your username and password. POST https://servername/+webvpn+/index.html > POST /+webvpn+/index.html HTTP/1.1 > Host: servername > User-Agent: Open AnyConnect VPN Agent v6.00 > Accept: */* > Accept-Encoding: identity > Cookie: webvpnlogin=1 > X-Transcend-Version: 1 > X-Pad: 0000000000000000000000000000000000000 > Content-Type: application/x-www-form-urlencoded > Content-Length: 27 > > username=myusername&password= Got HTTP response: HTTP/1.1 200 OK Transfer-Encoding: chunked Content-Type: text/xml Cache-Control: max-age=0 Set-Cookie: webvpn=; expires=Thu, 01 Jan 1970 22:00:00 GMT; path=/; secure Set-Cookie: webvpnc=; expires=Thu, 01 Jan 1970 22:00:00 GMT; path=/; secure Set-Cookie: webvpnlogin=1; secure X-Transcend-Version: 1 HTTP body chunked (-2) < <?xml version="1.0" encoding="UTF-8"?> < <auth id="main"> < <title>SSL VPN Service</title> < <ca status="disabled" href="/+CSCOCA+/login.html" /> < < < < <banner></banner> < <message>Please enter your username and password.</message> < < < <form method="post" action="/+webvpn+/index.html"> < < <input type="text" name="username" label="Username:" /> < <input type="password" name="password" label="Password:" /> < < < < < <input type="submit" name="Login" value="Login" /> < <input type="reset" name="Clear" value="Clear" /> < < < </form> < </auth> < Please enter your username and password. Username:myusername Password: POST https://servername/+webvpn+/index.html > POST /+webvpn+/index.html HTTP/1.1 > Host: servername > User-Agent: Open AnyConnect VPN Agent v6.00 > Accept: */* > Accept-Encoding: identity > Cookie: webvpnlogin=1 > X-Transcend-Version: 1 > X-Pad: 000000000000000000000000000 > Content-Type: application/x-www-form-urlencoded > Content-Length: 37 > > username=myusername&password=######### Got HTTP response: HTTP/1.1 200 OK Transfer-Encoding: chunked Content-Type: text/xml Cache-Control: max-age=0 Set-Cookie: webvpn=; expires=Thu, 01 Jan 1970 22:00:00 GMT; path=/; secure Set-Cookie: webvpnc=; expires=Thu, 01 Jan 1970 22:00:00 GMT; path=/; secure Set-Cookie: webvpnlogin=1; secure X-Transcend-Version: 1 HTTP body chunked (-2) < <?xml version="1.0" encoding="UTF-8"?> < <auth id="main"> < <title>SSL VPN Service</title> < <ca status="disabled" href="/+CSCOCA+/login.html" /> < < < < <banner></banner> < <message>Please enter your username and password.</message> < < < <error id="15" param1="" param2="">Login failed.</error> < <form method="post" action="/+webvpn+/index.html"> < < <input type="text" name="username" label="Username:" /> < <input type="password" name="password" label="Password:" /> < < < < < <input type="submit" name="Login" value="Login" /> < <input type="reset" name="Clear" value="Clear" /> < < < </form> < </auth> < Login failed. Please enter your username and password. Username:^Cfgets (stdin): Interrupted system call :~$ Another oddity is that after issuing the command from cli, it does not give any prompt. Only after hitting another "enter", it asks for a username and continues, but never connects. ** Affects: openconnect (Ubuntu) Importance: Undecided Status: New ** Tags: anyconnect cisco openconnect vpn -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1456900 Title: OpenConnect does not connect To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openconnect/+bug/1456900/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs