OpenVPN / openvpn3-linux

OpenVPN 3 Linux client
GNU Affero General Public License v3.0
554 stars 148 forks source link

keepalive must have at leasdt 3 arguments - docs only outline 2 #27

Closed paul-uz closed 3 years ago

paul-uz commented 3 years ago

I am trying to use OpenVPN to connect from Github Actions to a remote server.

Using openvpn2 --config config.ovpn --pkcs12 foo.p12 --daemon I get the following error message:

 ERROR ** org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code36: GDBus.Error:net.openvpn.v3.sessions.error: Failed communicating with VPN backend: Failed calling D-Bus method Connect: GDBus.Error:net.openvpn.v3.backend.error.standard: Failed executing D-Bus call 'Connect': Configuration parsing failed: ERR_PROFILE_OPTION: option_error: option 'keepalive' must have at least 3 arguments

keepalive 5 20 is defined in the .ovpn file.

https://github.com/OpenVPN/openvpn3-linux/blob/master/docs/man/openvpn2.1.rst#options shows that keepalive accepts 2 args.

dsommers commented 3 years ago

This is a duplicate of issue #26. Please have a closer look there for details. This issue will be fixed in the coming v12_beta release.

paul-uz commented 3 years ago

@dsommers how do I fix it in the meantime?

dsommers commented 3 years ago

@dsommers how do I fix it in the meantime?

That is explained in comment https://github.com/OpenVPN/openvpn3-linux/issues/26#issuecomment-721405131.