Open teklabania opened 3 years ago
Thanks for your reporting, I will try to reproduce it and investigate.
Maybe a whitespace in prot (Arch Linux) has something to do with the issue?
It also happen in Linux mint
I haven't seen the popup window, but on xubuntu 20.04, gpclient
stops working after a suspend. I've found a workaround to be
pkill gpclient
gpclient &
same thing happens in Ubuntu 20.04. globalprotect-openconnect 1.3.4-ppa1 openconnect 8.10-2build1~ubuntu20.04.1
This is what I get after a resume;
2021-11-18 07:35:22.416 INFO [2044112] [GPClient::onVPNLogAvailable@489] ESP detected dead peer
2021-11-18 07:35:27.414 INFO [2044112] [GPClient::onVPNLogAvailable@489] Failed to connect ESP tunnel; using HTTPS instead.
And after I click reconnect without restarting the client
2021-11-18 07:36:37.057 INFO [2044112] [GPClient::populateGatewayMenu@140] Populating the Switch Gateway menu...
2021-11-18 07:36:39.742 INFO [2044112] [GPClient::populateGatewayMenu@140] Populating the Switch Gateway menu...
2021-11-18 07:36:39.872 INFO [2044112] [GPClient::doConnect@245] Start connecting...
2021-11-18 07:36:39.873 INFO [2044112] [GPClient::doConnect@270] Start disconnecting the VPN...
2021-11-18 07:36:39.878 INFO [2044112] [GPClient::onVPNLogAvailable@489] Socket connect canceled
Failed to reconnect to host vpn.portal.com: Interrupted system call
In fact I haven't seen this message for weeks. And I'm suspending a lot. Currently I use version 1.3.4-2
on Manjaro Linux. Recently I also switched to systemd-resolved, I don't know if it has any relevance.
This could be the problem I'm going to resolve in the next step.
The same issue happens with me today. I'm using Arch Linux, and after suspend / resume system, gpclient show me the alert with message "Gateway authentication failed". Searching in logs I found this:
2023-01-26 15:52:29.359 ERROR [4299] [PortalAuthenticator::onPreloginFinished@46] Error occurred while accessing https://vpn.mycompany.com/global-protect/prelogin.esp?tmp=tmp&kerberos-support=yes&ipv6-support=yes&clientVer=4100&clientos=Linux, The specified configuration cannot be used.
After kill gpclient and start it again, I can connect to the vpn normally.
S.O: Arch Linux (kernel 5.15.90-1-lts x86_64) gpclient: version: 1.4.9 openconnect: OpenConnect versão v9.01
After starting the application, everything works fine, I can connect/disconnect multiple times until I suspend my laptop. After waking up, globalprotect-openconnect fails to connect with the pop-up window:
When I quit GlobalProtect from tray and start it again, everything gets back to normal and I can connect.
Arch Linux globalprotect-openconnect: 1.3.3-1
Logs: