I couldn't find any reference to this particular issue online, so more than likely it's something simple I'm overlooking; however I haven't found what the issue is as of yet and so I come here for help.
I currently have a few laptops I set up for people using OpenVPN GUI in Windows. When connecting from the GUI, a user will get an error messaging saying it couldn't connect to the management interface and to check the logs. This happens intermittently.
The logs only have "Enter management password: "
The only way around this (other than rebooting) is to restart the Interactive Service.
I recall reading somewhere on openvpn.net where this issue is caused by the connection profile being started already and it's commonly caused by the OpenVPN Service and OpenVPN Legacy Service being used at the same time; however, I observed that only openvpn-gui.exe was running when this happened. The OpenVPN Service and OpenVPN Legacy Service (both set to manual) were not running.
The version of the OpenVPN Client being used is 2.4.6. I tried 2.4.7 to no avail.
If I check the event logs I see an Error entry under Application logs for openvpnserv but it only says:
I'm at a loss as to what causes this. Right now I'm attempting a workaround with a scheduled task to restart the Interactive Service triggered by a custom event filter with the aforementioned event log entry.The description for Event ID '0' in Source 'openvpnserv' cannot be found. The local computer may not have the necessary registry information or
message DLL files to display the message, or you may not have permission to access them. The following information is part of the event:'openvpn
serv error: ', '0x20000000
OpenVPN exited with error: exit code = 1
I've witnessed this happening on Windows 7, 8.1, and 10.
Thoughts?