GlobalProtect: HTTP/1.1 512 Custom error
All openconnect versions built for Fedora 32 after 8.05-2.fc32 fails to login to my company VPN with
HTTP/1.1 512 Custom error
git bisect says:
28cf1477f41c902cbba66669c4aac70cce062038 is the first bad commit commit 28cf1477f41c902cbba66669c4aac70cce062038 Author: Daniel Lenski <email@example.com> Date: Wed Aug 28 16:21:03 2019 -0700 GlobalProtect: try to connect to portal interface before gateway This makes OpenConnect behave more like the official GP clients, which should make more sense to new users especially when troublesheeting, without removing the useful ability to connect directly to a gateway. (See https://gitlab.com/openconnect/openconnect/merge_requests/56#note_209428777) Signed-off-by: Daniel Lenski <firstname.lastname@example.org> auth-globalprotect.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Reverting this patch on master fixes the login for me.
Since both ways may be correct, a command line option plus a checkbox for NetworkManager-openconnect is needed.