Opened 7 years ago

Last modified 7 years ago

#892 new Bug / Defect

Windows 10 64-bit - OpenVPN 2.4.2-I601 - Registry query failure in event log

Reported by: sierrakomodo Owned by:
Priority: minor Milestone:
Component: Generic / unclassified Version: OpenVPN 2.4.2 (Community Ed)
Severity: Not set (select this one, unless your'e a OpenVPN developer) Keywords: 2.4.2 windows 10
Cc: Selva Nair

Description

NOTE: 2.4.2 doesn't appear to be a valid option under the Milestone or Version dropdowns for bug reporting.

The following error log appears in the windows Event viewer upon boot.
OpenVPN 2.4.2-I601 was installed with all default installation options on Windows 10 Pro 64-bit, using the installer provided at this URL: https://swupdate.openvpn.org/community/releases/openvpn-install-2.4.2-I601.exe
The 'OpenVPNService' is set to start on system boot and is confirmed to be running following the error log time.
The OpenVPN GUI client is set to start on system boot and is confirmed to be running following the error log time. NOTE: The GUI does not indicate any active VPN connections, but I've verified a VPN connection is established by running a 'what is my IP' check online.

User-friendly error summary:

openvpnserv error: The system cannot find the file specified. (0x2) 
Error querying registry value: HKLM\SOFTWARE\OpenVPN\ovpn_admin_group 

Full error data provided by the event viewer, in the event the extra data is useful:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
        <Provider Name="openvpnserv" /> 
        <EventID Qualifiers="0">0</EventID> 
        <Level>2</Level> 
        <Task>0</Task> 
        <Keywords>0x80000000000000</Keywords> 
        <TimeCreated SystemTime="2017-05-22T03:57:01.388714600Z" /> 
        <EventRecordID>5129</EventRecordID> 
        <Channel>Application</Channel> 
        <Computer>SIERRA-DESKTOP</Computer> 
        <Security /> 
    </System>
    <EventData>
        <Data>openvpnserv error: The system cannot find the file specified. (0x2)</Data> 
        <Data>Error querying registry value: HKLM\SOFTWARE\OpenVPN\ovpn_admin_group</Data> 
    </EventData>
</Event>

Change History (2)

comment:1 Changed 7 years ago by Gert Döring

Cc: Selva Nair added
Version: 2.4.2

version set (trac orders these in funny ways). "milestone 2.4.2" would imply "we want to have this fixed in 2.4.2", which is kind of moot as it's already out.

As for the actuall error: I think this is primarily informational (as the group is not required), but the generic registry-reading code cannot differenciate. Copying in selva to clarify...

comment:2 Changed 7 years ago by Selva Nair

This is a benign error -- unfortunately tagged as an "error" as discussed here: (https://community.openvpn.net/openvpn/ticket/828#comment:63) (comments 63 to 68)

We do plan to fix this, hopefully by next release.

Note: See TracTickets for help on using tickets.