Assertion failed at C:\buildbot\msbuild\openvpn-build\src\openvpn\src\openvpn\dco.c:171 (primary->dco_status != DCO_NOT_INSTALLED)
OpenVPN GUI shows an error pop-up and despite having "Enable auto restart of active connections" does not restart.
OS: Windows 11 22H2 22621.2715
OpenVPN version: OpenVPN-2.6.8-I001-amd64.msi
OpenVPN 2.6.8 [git:v2.6.8/3b0d9489cc423da3] Windows [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] [DCO] built on Nov 17 2023
library versions: OpenSSL 3.1.4 24 Oct 2023, LZO 2.10
Windows version 10.0 (Windows 10 or greater), amd64 executable
DCO version: 1.0.0
Originally developed by James Yonan
Copyright (C) 2002-2023 OpenVPN Inc <sales@openvpn.net>
Compile time defines: N/A
Usually, it happens after an hour or so after waking the PC. Also, the crash only happens if the server pushes the same client IP as before sleeping. If the IP differs then VPN just doesn't work until I manually restart it.
2023-12-10 12:07:51 ovpn-dco device [OpenVPN Data Channel Offload] opened
...
2023-12-10 12:07:52 PUSH: Received control message: '...,ifconfig 10.78.6.2 255.255.255.192,peer-id 0,cipher AES-256-GCM,push-continuation 1'
...
2023-12-11 08:44:18 PUSH: Received control message: '...,ifconfig 10.78.6.2 255.255.255.192,peer-id 0,cipher AES-256-GCM,push-continuation 1'
2023-12-11 08:44:18 Initialization Sequence Completed
2023-12-11 08:44:18 MANAGEMENT: >STATE:1702269858,CONNECTED,SUCCESS,10.78.6.2,1.2.3.4,1194,,
2023-12-11 08:44:18 Data Channel: cipher 'AES-256-GCM', peer-id: 0
2023-12-11 08:44:18 Timers: ping 10, ping-restart 120
2023-12-11 09:42:37 VERIFY OK: depth=1, CN=Easy-RSA CA
2023-12-11 09:42:37 VERIFY KU OK
2023-12-11 09:42:37 Validating certificate extended key usage
2023-12-11 09:42:37 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
2023-12-11 09:42:37 VERIFY EKU OK
2023-12-11 09:42:37 VERIFY OK: depth=0, CN=ovpn1-202212
2023-12-11 09:42:38 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, peer certificate: 2048 bits RSA, signature: RSA-SHA256, peer temporary key: 253 bits X25519
2023-12-11 09:43:17 TLS: tls_multi_process: killed expiring key
2023-12-11 09:43:39 MANAGEMENT: Client disconnected
2023-12-11 09:43:39 Assertion failed at C:\buildbot\msbuild\openvpn-build\src\openvpn\src\openvpn\dco.c:171 (primary->dco_status != DCO_NOT_INSTALLED)
2023-12-11 09:43:39 Exiting due to fatal error
After 1-2 days openvpn exits with:
OpenVPN GUI shows an error pop-up and despite having "Enable auto restart of active connections" does not restart.
Usually, it happens after an hour or so after waking the PC. Also, the crash only happens if the server pushes the same client IP as before sleeping. If the IP differs then VPN just doesn't work until I manually restart it.
basin.ovpn.txt
OpenVPN Data Channel Offload