When connecting to Juniper network incorrect algorithm for parsing response is used
When connecting with NetworkManager to Juniper VPN incorrect response handling is selected. Connecting with
openconnect --juniper --dump-http-traffic address.of.gateway
results in using correct function to parse response: oncp_obtain_cookie
as response in HTML. When using NetworkManager (protocol is correctly set to protocol=nc
) nm-openconnect-service is calling cstp_obtain_cookie which expects xml. This results in error: XML response has no "auth" node
as incorrect function is used for getting the cookie.
NetworkManager version: 1.22.4-1
NetworkManager-openconnect: 1.2.6-1
System: ArchLinux
Edited by Bartek Taczała