HTTP body chunked (-2) after upgrading the openconnect
I want able to use openconnect in Dec. 2023, not I met an error: **HTTP body chunked (-2) ** after typing in the username and password.
sudo openconnect vpn.illinois.edu
POST https://vpn.illinois.edu/
Attempting to connect to server 192.17.88.30:443
Connected to 192.17.88.30:443
SSL negotiation with vpn.illinois.edu
Connected to HTTPS on vpn.illinois.edu with ciphersuite (TLS1.2)-(RSA)-(AES-256-CBC)-(SHA1)
Got HTTP response: HTTP/1.1 404 Not Found
Cache-Control: no-store
Pragma: no-cache
Connection: Close
Date: Sun, 21 Apr 2024 03:26:25 GMT
X-Frame-Options: SAMEORIGIN
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-XSS-Protection: 1
Content-Security-Policy: default-src 'self' 'unsafe-inline' 'unsafe-eval' data: blob:; frame-ancestors 'self'; base-uri 'self'; block-all-mixed-content
HTTP body http 1.0 (-1)
TLS/DTLS socket closed uncleanly
Unexpected 404 result from server
GET https://vpn.illinois.edu/
Attempting to connect to server 192.17.88.30:443
Connected to 192.17.88.30:443
SSL negotiation with vpn.illinois.edu
Connected to HTTPS on vpn.illinois.edu with ciphersuite (TLS1.2)-(RSA)-(AES-256-CBC)-(SHA1)
Got HTTP response: HTTP/1.0 302 Object Moved
Content-Type: text/html; charset=utf-8
Content-Length: 0
Cache-Control: no-store
Pragma: no-cache
Connection: Close
Date: Sun, 21 Apr 2024 03:26:25 GMT
X-Frame-Options: SAMEORIGIN
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-XSS-Protection: 1
Content-Security-Policy: default-src 'self' 'unsafe-inline' 'unsafe-eval' data: blob:; frame-ancestors 'self'; base-uri 'self'; block-all-mixed-content
Location: /+webvpn+/index.html
Set-Cookie: tg=; expires=Thu, 01 Jan 1970 22:00:00 GMT; path=/; secure
HTTP body length: (0)
GET https://vpn.illinois.edu/+webvpn+/index.html
SSL negotiation with vpn.illinois.edu
Connected to HTTPS on vpn.illinois.edu with ciphersuite (TLS1.2)-(RSA)-(AES-256-CBC)-(SHA1)
Got HTTP response: HTTP/1.1 200 OK
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-XSS-Protection: 1
Content-Security-Policy: default-src 'self' 'unsafe-inline' 'unsafe-eval' data: blob:; frame-ancestors 'self'; base-uri 'self'; block-all-mixed-content
X-Frame-Options: SAMEORIGIN
Transfer-Encoding: chunked
Content-Type: text/xml; charset=utf-8
Cache-Control: no-store
Set-Cookie: webvpn=; expires=Thu, 01 Jan 1970 22:00:00 GMT; path=/; secure
Set-Cookie: webvpn_as=; 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)
Please enter your username and password.
GROUP: [1 Split Tunnel|2 Tunnel All|3 Split Tunnel Public IPs|4 Computer Login|Guest1 Split Tunnel|Guest2 Tunnel All|Guest3 Split Tunnel Pub IPs|OpenConnect1 (Split)|OpenConnect2 (All)|OpenConnect3 (Public)]:Auth choice "1_SplitTunnel_Default" not available
GROUP: [1 Split Tunnel|2 Tunnel All|3 Split Tunnel Public IPs|4 Computer Login|Guest1 Split Tunnel|Guest2 Tunnel All|Guest3 Split Tunnel Pub IPs|OpenConnect1 (Split)|OpenConnect2 (All)|OpenConnect3 (Public)]:Auth choice "yerong2" not available
GROUP: [1 Split Tunnel|2 Tunnel All|3 Split Tunnel Public IPs|4 Computer Login|Guest1 Split Tunnel|Guest2 Tunnel All|Guest3 Split Tunnel Pub IPs|OpenConnect1 (Split)|OpenConnect2 (All)|OpenConnect3 (Public)]:Auth choice "kniGht+08252016lyr" not available
GROUP: [1 Split Tunnel|2 Tunnel All|3 Split Tunnel Public IPs|4 Computer Login|Guest1 Split Tunnel|Guest2 Tunnel All|Guest3 Split Tunnel Pub IPs|OpenConnect1 (Split)|OpenConnect2 (All)|OpenConnect3 (Public)]:GROUP: [1 Split Tunnel|2 Tunnel All|3 Split Tunnel Public IPs|4 Computer Login|Guest1 Split Tunnel|Guest2 Tunnel All|Guest3 Split Tunnel Pub IPs|OpenConnect1 (Split)|OpenConnect2 (All)|OpenConnect3 (Public)]:fgets (stdin): Resource temporarily unavailable
(base)
My OS information is given below:
╰$ uname -a ; lsb_release -a
Linux yerong-MacBookPro 6.5.0-1019-oem #20-Ubuntu SMP PREEMPT_DYNAMIC Mon Mar 18 17:38:55 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04 LTS
Release: 22.04
Codename: jammy
(base)