ScoopInstaller / Extras

📦 The Extras bucket for Scoop.
https://scoop.sh
The Unlicense
1.78k stars 1.33k forks source link

[Bug]: openvpn-connect installed via scoop will not connect with server BUT installed via winget connects #12960

Open scooterwa opened 5 months ago

scooterwa commented 5 months ago

Prerequisites

Package Name

openvpn-connect

Expected/Current Behaviour

I expected openvpn-connect client to connect to my openvpn server, but it did not. Using winget I installed openvpn-connect and using same .opvn file successfully connected. I encountered this issue previously, but thought I'd give it a try after reinstalling OS. My workaround was to use winget, but I thought someone might want to know what I encountered.

Steps to Reproduce

Fresh install of scoop and extras bucket
openvpn-connect starts fine and asks for a .opvn file
import the "known good" .opvn file
connection times out
winget install of openvpn-connect
import .opvn file
connection good
uninstall scoop version of openvpn-connect

#Everything is identical except for the installation process#

Possible Solution

Short answer: No

Scoop and Buckets Version

PS C:\Users\kevin> scoop --version
Current Scoop version:
v0.3.1 - Released at 2022-11-15

'extras' bucket:
0437d0b40 (HEAD -> master, origin/master, origin/HEAD) supersonic: Add version 0.9.1 (#12957)

Scoop Config

PS C:\Users\kevin> scoop config

last_update
-----------
2024-03-16T07:22:26.0723330-05:00

PowerShell Version

PS C:\Users\kevin> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.22621.963
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.22621.963
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Additional Softwares

Windows 11 22H2 (fresh install)

kylooh commented 4 months ago

this is because of that the msi installer will request a administer permission to create TAP, without it openvpn-connect could not create a virtual network. I checked the openvpn-connect‘s json file, and i didn't found any script, looks like such action. And I don't know how to add such permission request in scoop, sorry for that I cannot help you.

---- update ----

there is a driver folder under the install location for openvpn-connect, anyone may have this problem could try manual install a correct version, this may help