Hi, please i need some guidance and help with a OpenConnect-GUI issue. I'm using OpenConnect-GUI for Windows. Now, I'm getting an error message " Authentication error; cannot obtain cookie ". Uninstalling and Reinstalling the OpenConnect didn't help at all. Is there any way to fix this issue? Thanks. Best regards gongxin
The fail log as below: ------------------------------------------------------------------------------------------- 2020-12-10 12:11:35 | 35a8 | POST https://vpn.stc.com.bh/ 2020-12-10 12:11:35 | 35a8 | Attempting to connect to server *.*.*.*:443 2020-12-10 12:11:35 | 35a8 | Connected to *.*.*.*:443 2020-12-10 12:11:35 | 35a8 | There was a non-CA certificate in the trusted list: OU=Copyright (c) 1997 Microsoft Corp.,OU=Microsoft Corporation,CN=Microsoft Root Authority. 2020-12-10 12:11:35 | 35a8 | There was a non-CA certificate in the trusted list: C=US,O=MSFT,CN=Microsoft Authenticode(tm) Root Authority. 2020-12-10 12:11:35 | 35a8 | There was a non-CA certificate in the trusted list: CN=Root Agency. 2020-12-10 12:11:35 | 35a8 | SSL negotiation with vpn.stc.com.bh 2020-12-10 12:11:36 | 35a8 | Connected to HTTPS on vpn.stc.com.bh 2020-12-10 12:11:37 | 35a8 | Got HTTP response: HTTP/1.1 200 OK 2020-12-10 12:11:37 | 35a8 | Content-Type: text/html; charset=utf-8 2020-12-10 12:11:37 | 35a8 | Transfer-Encoding: chunked 2020-12-10 12:11:37 | 35a8 | Cache-Control: no-cache 2020-12-10 12:11:37 | 35a8 | Pragma: no-cache 2020-12-10 12:11:37 | 35a8 | Connection: Keep-Alive 2020-12-10 12:11:37 | 35a8 | Date: Thu, 10 Dec 2020 06:41:32 GMT 2020-12-10 12:11:37 | 35a8 | X-Frame-Options: SAMEORIGIN 2020-12-10 12:11:37 | 35a8 | Strict-Transport-Security: max-age=31536000; includeSubDomains 2020-12-10 12:11:37 | 35a8 | X-Aggregate-Auth: 1 2020-12-10 12:11:37 | 35a8 | HTTP body chunked (-2) 2020-12-10 12:11:37 | 35a8 | XML POST enabled 2020-12-10 12:11:37 | 35a8 | Please enter your username and password. 2020-12-10 12:11:42 | 35a8 | Saving group: SAS-VPN 2020-12-10 12:11:42 | 35a8 | POST https://vpn.stc.com.bh/ 2020-12-10 12:11:42 | 35a8 | Got HTTP response: HTTP/1.1 200 OK 2020-12-10 12:11:42 | 35a8 | Content-Type: text/html; charset=utf-8 2020-12-10 12:11:42 | 35a8 | Transfer-Encoding: chunked 2020-12-10 12:11:42 | 35a8 | Cache-Control: no-cache 2020-12-10 12:11:42 | 35a8 | Pragma: no-cache 2020-12-10 12:11:42 | 35a8 | Connection: Keep-Alive 2020-12-10 12:11:42 | 35a8 | Date: Thu, 10 Dec 2020 06:41:38 GMT 2020-12-10 12:11:42 | 35a8 | X-Frame-Options: SAMEORIGIN 2020-12-10 12:11:42 | 35a8 | Strict-Transport-Security: max-age=31536000; includeSubDomains 2020-12-10 12:11:42 | 35a8 | X-Aggregate-Auth: 1 2020-12-10 12:11:42 | 35a8 | HTTP body chunked (-2) 2020-12-10 12:11:42 | 35a8 | XML POST enabled 2020-12-10 12:11:42 | 35a8 | Please enter your username and password. 2020-12-10 12:11:42 | 35a8 | Select form: group_list 2020-12-10 12:11:42 | 35a8 | Text form: username 2020-12-10 12:11:42 | 35a8 | Password form: password 2020-12-10 12:11:56 | 35a8 | Password form: secondary_password 2020-12-10 12:12:09 | 35a8 | POST https://vpn.stc.com.bh/ 2020-12-10 12:12:09 | 35a8 | Got HTTP response: HTTP/1.1 200 OK 2020-12-10 12:12:09 | 35a8 | Content-Type: text/html; charset=utf-8 2020-12-10 12:12:09 | 35a8 | Transfer-Encoding: chunked 2020-12-10 12:12:09 | 35a8 | Cache-Control: no-cache 2020-12-10 12:12:09 | 35a8 | Pragma: no-cache 2020-12-10 12:12:09 | 35a8 | Connection: Keep-Alive 2020-12-10 12:12:09 | 35a8 | Date: Thu, 10 Dec 2020 06:42:05 GMT 2020-12-10 12:12:09 | 35a8 | X-Frame-Options: SAMEORIGIN 2020-12-10 12:12:09 | 35a8 | Strict-Transport-Security: max-age=31536000; includeSubDomains 2020-12-10 12:12:09 | 35a8 | X-Aggregate-Auth: 1 2020-12-10 12:12:09 | 35a8 | HTTP body chunked (-2) 2020-12-10 12:12:09 | 35a8 | Please enter your username and password. 2020-12-10 12:12:09 | 35a8 | Login failed. 2020-12-10 12:12:09 | 35a8 | Select form: group_list 2020-12-10 12:12:09 | 35a8 | Text form: username 2020-12-10 12:12:09 | 35a8 | Password form: password 2020-12-10 12:12:27 | 35a8 | Authentication error; cannot obtain cookie 2020-12-10 12:12:27 | 4cc4 | Disconnected _______________________________________________ openconnect-devel mailing list openconnect-devel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/openconnect-devel