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

Cannot run more than one instance of gpclient cli #478

Open
aah7 opened this issue Feb 13, 2025 · 3 comments
Open

Cannot run more than one instance of gpclient cli #478

aah7 opened this issue Feb 13, 2025 · 3 comments

Comments

@aah7
Copy link

aah7 commented Feb 13, 2025

Since the upgrade to version 2.4.4 (2025-02-09) I am unable to run more than one gpclient cli instance in separate terminal windows.

sudo -E gpclient connect [vpn destination]

[2025-02-13T08:06:32Z INFO gpclient::cli] gpclient started: 2.4.4 (2025-02-09)
Error: Another instance of the client is already running

@yuezk
Copy link
Owner

yuezk commented Feb 13, 2025

@aah7 gpclient is supposed to run a single instance. Did you run them with different GlobalProtect VPN portals? Does the VPN work if you run multiple instances?

@aah7
Copy link
Author

aah7 commented Feb 13, 2025

I was able to run two gpclients before in separate terminal windows to different VPN endpoints from the same workstation. For example:

Terminal 1 > connects to vpn endpoint vpn.something.com
Terminal 2 > connects to vpn endpoint vpn.somethingelse.com

I could do this simultaneously before but something has changed now.

@yuezk
Copy link
Owner

yuezk commented Feb 14, 2025

Sorry @aah7, I wrongly thought the underlying VPN didn't support multiple connections on the same machine. There is an issue regarding the lock file (#447). So, in 2.4.4, I checked the lock file before starting the client. You can downgrade to 2.3.3 for now and I will find a way to resolve this in 2.4.5 or revert it.

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

2 participants