Hi community. My OS - Win10 Pro, 22H2, 19045.6456.
My client version of OpenVPN Connect - 3.8.0 (4528)
I found an interesting bug that doesn't seem to have been reported yet—correct me if I'm wrong.
When I add a config file containing multiple remote entries to the OpenVPN Connect client, everything works as expected. However, if I access the profile via the GUI and change even a single setting, the multiple remote entries stop working; the profile breaks. This happens because ovpn3 rewrites my configuration file into its own .json format and corrupts it. For multiple remote entries to function, the "selectedServer": { "server": null } setting is critical; as long as the value remains null, everything works fine. But when saving the profile, ovpn3 replaces that null value with the first server listed in selectedServer. Consequently, config.json gets updated to "selectedServer": { "server": "your first server" }. It doesn't matter what specific setting you change in the GUI—clicking "Save Changes" causes the "selectedServer": { "server": null } line to be overwritten. The workaround found so far is simply not to edit the imported profile via the GUI.
*Just an update: I tried solving the issue by setting the config.json file to read-only. I expected everything to work normally, but Java is throwing errors about being unable to overwrite data whenever I perform any action. That’s likely the intended behavior.