Hi,
I have a couple of machines with Ubuntu 18.04.5 LTS (kernel 5.4.0-050400-generic x86_64) and 20.04.1 LTS (kernel 5.4.10-050410-generic x86_64).
On these machines, I have installed openvpn, versions 2.4.4 (installed with apt) and 2.5.0 (compiled from sources).
On every this machine I have a problem with running OpenVPN in client mode and the error I have is "Assertion failed at socket.c: 2719 (buf_defined(&sb->next))". Line number where the problem occurs differs depending on which version of OpenVPN is being tried. The 2719 is for OpenVPN 2.5.0.
Following is console with the error:
The client configuration I am using is as follows:
I am using the configuration on a number of devices on Windows or Ubuntu 16.04.7 LTS on Pi devices (ARM) without problem (have OpenVPN 2.3.10 running there with openssl in version 1.0.2g).
I could not find any information on the web about this problem nor have idea what it is caused by - an issue with Ubuntu 18.04+, recent OpenVPN (version >= 2.4.4) or OpenSSL (version >=1.1.0) or the configuration I have.
Please let me know if anyone experienced this issue or knows where I may find any help in solving this peculiar issue.