Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client hangs for 2 minutes when the computer comes back from sleep #208

Open
simonLeary42 opened this issue Jan 21, 2023 · 3 comments
Open

Comments

@simonLeary42
Copy link
Contributor

simonLeary42 commented Jan 21, 2023

2023-01-20 23:52:39.712 INFO  [58830] [GPClient::doConnect@244] Start connecting...
# put computer to sleep and wake back up
2023-01-20 23:52:39.712 INFO  [58830] [GPClient::doConnect@269] Start disconnecting the VPN...
2023-01-20 23:52:39.716 INFO  [58830] [GPClient::onVPNLogAvailable@517] Socket connect canceled
2023-01-20 23:52:39.716 INFO  [58830] [GPClient::onVPNLogAvailable@517] Failed to reconnect to host <my-vpn>: Interrupted system call
2023-01-20 23:52:39.716 INFO  [58830] [GPClient::onVPNLogAvailable@517] POST https://<my-vpn>/ssl-vpn/logout.esp
# wait for over 2 minutes here
2023-01-20 23:54:49.438 INFO  [58830] [GPClient::onVPNLogAvailable@517] Socket connect canceled
Failed to reconnect to host <my-vpn>: Interrupted system call
2023-01-20 23:54:49.438 INFO  [58830] [GPClient::onVPNLogAvailable@517] Failed to open HTTPS connection to <my-vpn>
Logout failed.
2023-01-20 23:54:49.475 INFO  [58830] [GPClient::onVPNLogAvailable@517] RTNETLINK answers: No such process
2023-01-20 23:54:49.476 INFO  [58830] [GPClient::onVPNLogAvailable@517] RTNETLINK answers: No such process
2023-01-20 23:54:49.478 INFO  [58830] [GPClient::onVPNLogAvailable@517] RTNETLINK answers: No such process
"No such interface “org.freedesktop.DBus.Properties” on object at path /org/freedesktop/NetworkManager/ActiveConnection/7"
2023-01-20 23:54:49.546 INFO  [58830] [GPClient::onVPNLogAvailable@517] Unknown error; exiting.
2023-01-20 23:54:49.548 INFO  [58830] [GPClient::onVPNLogAvailable@517] Openconnect process exited with code 1 and exit status NormalExit
@Ri0n
Copy link

Ri0n commented Jun 20, 2023

I confirm this on my Gentoo system.
It's quite annoying.
Basically network doesn't work at all for me coz all my traffic goes through vpn which is broken.
After those 2 mins the GP finally realizes it has to drop the connection and fix routing tables and then network starts working.

@yuezk
Copy link
Owner

yuezk commented Jun 20, 2023

I will deal with this problem in the next release, refactored using Tauri (e.g., disconnect before going to sleep and reconnect automatically when awake). Before that, I don't want to investigate too deeply for this.

@yosh-se
Copy link

yosh-se commented Oct 26, 2023

I have a similar problem where if the vpn transport gets disconnected, but the client still believes it's connected. It takes 1-10 minutes for the client to finally disconnect after I've pressed the button. This is usually the case if I close my laptop lid before manually disconnecting, and everything is just dead for several minutes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants