Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Login prompts come up but PWs are invalid #252

Open
MohnJadden opened this issue Oct 8, 2018 · 1 comment
Open

Login prompts come up but PWs are invalid #252

MohnJadden opened this issue Oct 8, 2018 · 1 comment

Comments

@MohnJadden
Copy link

MohnJadden commented Oct 8, 2018

Describe the bug
I'm trying to connect to a VPN that works fine on a normal Cisco Anyconnect client. It prompts for my username, then the password, and secondary password. It then notes in the log that the login failed, and prompts again for the password and secondary password.

To Reproduce
Steps to reproduce the behavior:

  1. Connect to the IP using the Openconnect GUI
  2. Enter my username (either user.name or [email protected])
  3. Enter my password for the VPN
  4. Enter my secondary password (a Duo Authenticator one-time token)

Expected behavior
I should be connected to the VPN thereafter.

Screenshots
Applicable logs below.

2018-10-08 13:27:28 | d14 | Attempting to connect to server obscuredIP:443
2018-10-08 13:27:28 | d14 | Connected to obscuredIP:443
2018-10-08 13:27:28 | d14 | There was a non-CA certificate in the trusted list: C=US,L=SantaCruz,O=Plantronics,CN=127.0.0.1,OU=127.0.0.1.
2018-10-08 13:27:28 | d14 | There was a non-CA certificate in the trusted list: CN=AwDeviceRoot,O=cn420.awmdm.com/Global.
2018-10-08 13:27:28 | d14 | There was a non-CA certificate in the trusted list: OU=Copyright (c) 1997 Microsoft Corp.,OU=Microsoft Corporation,CN=Microsoft Root Authority.
2018-10-08 13:27:28 | d14 | There was a non-CA certificate in the trusted list: C=US,O=MSFT,CN=Microsoft Authenticode(tm) Root Authority.
2018-10-08 13:27:28 | d14 | There was a non-CA certificate in the trusted list: CN=Root Agency.
2018-10-08 13:27:28 | d14 | SSL negotiation with obscuredIP
2018-10-08 13:27:29 | d14 | Server certificate verify failed: certificate does not match hostname
2018-10-08 13:27:29 | d14 | Connected to HTTPS on obscuredIP
2018-10-08 13:27:29 | d14 | Got HTTP response: HTTP/1.1 200 OK
2018-10-08 13:27:29 | d14 | Content-Type: text/html; charset=utf-8
2018-10-08 13:27:29 | d14 | Transfer-Encoding: chunked
2018-10-08 13:27:29 | d14 | Cache-Control: no-cache
2018-10-08 13:27:29 | d14 | Pragma: no-cache
2018-10-08 13:27:29 | d14 | Connection: Keep-Alive
2018-10-08 13:27:29 | d14 | Date: Mon, 08 Oct 2018 17:27:29 GMT
2018-10-08 13:27:29 | d14 | X-Frame-Options: SAMEORIGIN
2018-10-08 13:27:29 | d14 | X-Aggregate-Auth: 1
2018-10-08 13:27:29 | d14 | HTTP body chunked (-2)
2018-10-08 13:27:29 | d14 | XML POST enabled
2018-10-08 13:27:29 | d14 | Please enter your username and password.
2018-10-08 13:27:29 | d14 | POST https://obscuredIP/
2018-10-08 13:27:29 | d14 | Got HTTP response: HTTP/1.1 200 OK
2018-10-08 13:27:29 | d14 | Content-Type: text/html; charset=utf-8
2018-10-08 13:27:29 | d14 | Transfer-Encoding: chunked
2018-10-08 13:27:29 | d14 | Cache-Control: no-cache
2018-10-08 13:27:29 | d14 | Pragma: no-cache
2018-10-08 13:27:29 | d14 | Connection: Keep-Alive
2018-10-08 13:27:29 | d14 | Date: Mon, 08 Oct 2018 17:27:29 GMT
2018-10-08 13:27:29 | d14 | X-Frame-Options: SAMEORIGIN
2018-10-08 13:27:29 | d14 | X-Aggregate-Auth: 1
2018-10-08 13:27:29 | d14 | HTTP body chunked (-2)
2018-10-08 13:27:29 | d14 | XML POST enabled
2018-10-08 13:27:29 | d14 | Please enter your username and password.
2018-10-08 13:27:29 | d14 | Select form: group_list
2018-10-08 13:27:29 | d14 | Text form: username
2018-10-08 13:27:29 | d14 | Password form: password
2018-10-08 13:27:32 | d14 | Password form: secondary_password
2018-10-08 13:27:53 | d14 | POST https://obscuredIP/
2018-10-08 13:27:53 | d14 | Got HTTP response: HTTP/1.1 200 OK
2018-10-08 13:27:53 | d14 | Content-Type: text/html; charset=utf-8
2018-10-08 13:27:53 | d14 | Transfer-Encoding: chunked
2018-10-08 13:27:53 | d14 | Cache-Control: no-cache
2018-10-08 13:27:53 | d14 | Pragma: no-cache
2018-10-08 13:27:53 | d14 | Connection: Keep-Alive
2018-10-08 13:27:53 | d14 | Date: Mon, 08 Oct 2018 17:27:53 GMT
2018-10-08 13:27:53 | d14 | X-Frame-Options: SAMEORIGIN
2018-10-08 13:27:53 | d14 | X-Aggregate-Auth: 1
2018-10-08 13:27:53 | d14 | HTTP body chunked (-2)
2018-10-08 13:27:53 | d14 | Please enter your username and password.
2018-10-08 13:27:53 | d14 | Login failed.
2018-10-08 13:27:53 | d14 | Select form: group_list
2018-10-08 13:27:53 | d14 | Text form: username
2018-10-08 13:27:53 | d14 | Password form: password
2018-10-08 13:27:55 | d14 | Authentication error; cannot obtain cookie
2018-10-08 13:27:55 | 247c | Disconnected

Desktop (please complete the following information):
OS: Windows 10 Pro

@horar
Copy link
Member

horar commented Oct 21, 2018

  • what version of oc-GUI?
  • did you try command line openconnect tool? (is an optional part of windows installer)

Please note, you can use official Cisco client together with opensource GUI, if so, please uninstall Cisco Anyconnect and Tap driver and install again OpenConnect-GUI.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants