pia-foss / desktop

Private Internet Access - Desktop VPN Client for Windows/macOS/Linux
Other
263 stars 50 forks source link

Command line connection sometimes activates killswitch #65

Open dle-fr opened 5 months ago

dle-fr commented 5 months ago

From about december i'd say, reconnect by command line (see below) sometimes activates killswitch and doesn't reconnect. Adding timeouts / wait times don't change anything. Prior than that, it worked perfectly everytime. Disconnecting / connecting from GUI always works, so it's only a CLI issue. The issue appears to be really random, it can work 10 times in a row then brake 10 times. Tested on Windows and Ubuntu, the issue is present with both.

piactl.exe background enable
timeout 3
piactl.exe disconnect
piactl.exe connect

See: https://gist.github.com/flostellbrink/2d1dc15a0133a0833934459961e8efe8 and the comment from another user: https://gist.github.com/flostellbrink/2d1dc15a0133a0833934459961e8efe8?permalink_comment_id=4793929#gistcomment-4793929