Amebis / eduVPN

Windows eduVPN Client
GNU General Public License v3.0
41 stars 16 forks source link

Registry override "InstituteAccessServers" no longer works #247

Closed tw- closed 3 months ago

tw- commented 3 months ago

Hello,

with version 4.0 and 4.1 the registry override "InstituteAccessServers" no longer works. I have entered a server there that was still taken into account in version 3.7, but no longer in version 4.0 and 4.1.

Regards, Tobias

rozmansi commented 3 months ago

Thank you for reporting this. Indeed, 4.x version has a completely redesigned internals, and we obviously missed this feature no longer works. I will check this out...

rozmansi commented 3 months ago

I have tested the 4.1 client and the InstituteAccessServers still works as intended.

You have to be careful about the following:

  1. You are working in the HKEY_LOCAL_MACHINE registry hive (not HKEY_CURRENT_USER, it won't work).
  2. The registry key SOFTWARE contains a registry key SURF, contains a registry key eduVPN. (Lower/upper case is not important.)
  3. The registry value InstituteAccessServers is of type REG_MULTI_SZ = Multi-String Value (not REG_SZ = String Value, it won't work).
  4. Enter full absolute server URL. With https:// and all. One per line. Example: image
  5. Maybe your server has not been listed in the eduVPN infrastructure discovery yet? Or was delisted recently? I have reviewed the client and found out it silently conceals any errors when it fails to add servers from registry, sorry. Will change the code to display errors to spare some head scratching to admins.
tw- commented 3 months ago

You have to be careful about the following:

1. You are working in the `HKEY_LOCAL_MACHINE`  registry hive (**not** `HKEY_CURRENT_USER`, it won't work).

2. The registry key `SOFTWARE` contains a registry key `SURF`, contains a registry key `eduVPN`. (Lower/upper case is not important.)

3. The registry value `InstituteAccessServers` is of type `REG_MULTI_SZ` = _Multi-String Value_ (**not** `REG_SZ` = _String Value_, it won't work).

4. Enter full absolute server URL. With _https://_ and all. One per line. Example:

Everything up to here is correct - has not been changed and works again when version 3.7 is installed:

eduvpn-regedit

5. Maybe your server has not been listed in the eduVPN infrastructure discovery yet?

Exactly. We have more than one server and we don't want to publish them all. To help users, we have therefore distributed them via the registry mechanism. This no longer works.

rozmansi commented 3 months ago

Thanks for your feedback. I shall discuss this with the eduvpn-common team how to restore this feature.

rozmansi commented 3 months ago

Fixed it to support importing servers not on discovery lists now.

I am planing to release 4.1.3 in a day or two (need to review another bug report before). I shall kindly ask you to try it when available to confirm it suits your needs.

rozmansi commented 3 months ago

I have released 4.1.3. Can you try if the InstituteAccessServers works now, please.

tw- commented 3 months ago

Thank you, version 4.1.3 is now working for us again as desired.