#1190 closed Bug / Defect (worksforme)

TAP-Windows Adapter Windows 10 DHCP error

Reported by: mpratt14 Owned by:
Priority: major Milestone:
Component: tap-windows Version: OpenVPN 2.4.7 (Community Ed)
Severity: Not set (select this one, unless your'e a OpenVPN developer) Keywords: tap, completed with errors, dhcp
Cc:

Description

(copy of https://github.com/OpenVPN/tap-windows/issues/9)

Windows 10 64-bit
Openvpn GUI 11.13.0.0
Openvpn 2.4.7

The error is
Initialization Sequence Completed With Errors ( see http://openvpn.net/faq.html#dhcpclientserv ) MANAGEMENT: >STATE:1559241905,CONNECTED,ERROR,10.8.0.2,xx.xx.xx.xx,9090

The very first connection to the server is successful, and the window minimizes itself as expected. If I reconnect, or disconnect and connect, every attempt after that fails.

I found an old forum post on this
https://forums.openvpn.net/viewtopic.php?t=12362
They have absolutely no solution to this, and I have yet to find an problem with my config.

All non-Windows clients work fine without this issue

Workarounds:

reinstalling the TAP adapter with the included scripts (or the one in the forum, or one that resets all adapters)

going to "Network Connections" in control panel (ncpa.cpl) and disable TAP adapter, reenable TAP adapter, reconnect

add the directive to the client config ip-win32 manual and set the IP, Subnet, Gateway, manually (again using ncpa.cpl)

The first 2 of my workarounds have to be done EVERY SINGLE TIME one wants to connect or reconnect to the VPN. The third one is an almost permanent fix, but if the server gives you a different IP, you have to do extra work...

Change History (3)

comment:1 Changed 16 months ago by Gert Döring

Cc: Selva Nair added

please post a log file with --verb 4 so we might get an idea what's special about your setup.

comment:2 Changed 16 months ago by Selva Nair

Cc: Selva Nair removed

Please post the full log (verb=4) for a connection that succeeds followed by the one that shows the error.

When the connection errors, does manually setting the address work without resetting the tap adapter? If yes this has to be something not letting the address assign via dhcp -- as it succeeds the first time, I have no idea what that could be.

comment:3 Changed 11 months ago by Gert Döring

Resolution: worksforme
Status: newclosed

closing this ticket. If we have no information required to debug this, we can't help.

Note: See TracTickets for help on using tickets.