Page 1 of 1

Problem with Connection

Posted: Mon Dec 25, 2023 11:21 am
by Nigel99
There was an error attempting to connect to the selected server.

Error message: option_error: Neither 'client' nor both 'tls-client' and 'pull' options declared. OpenVPN3 client only supports --client mode

I need to solve this problems?

Apparently the problem is in the application. I installed version 2.7 on my MacBook and everything works. Version 3 did not work and gave the same error.

On iOS on two iPhones it gives the same error.
Log from App:

Code: Select all

[Dec 25, 2023, 14:22:21] START CONNECTION

[Dec 25, 2023, 14:22:21] ----- OpenVPN Start -----
OpenVPN core 3.8.3connect1 ios arm64 64-bit

[Dec 25, 2023, 14:22:21] OpenVPN core 3.8.3connect1 ios arm64 64-bit

[Dec 25, 2023, 14:22:21] Frame=512/2112/512 mssfix-ctrl=1250

[Dec 25, 2023, 14:22:21] EVENT: CORE_THREAD_ERROR option_error: Neither 'client' nor both 'tls-client' and 'pull' options declared. OpenVPN3 client only supports --client mode. [ERR]

[Dec 25, 2023, 14:22:21] EVENT: CORE_THREAD_DONE

[Dec 25, 2023, 14:22:21] EVENT: DISCONNECT_PENDING

[Dec 25, 2023, 14:22:21] Raw stats on disconnect:


Re: Problem with Connection

Posted: Thu Jan 11, 2024 12:26 pm
by openvpn_inc
Hello,

OpenVPN Connect has discovered that your configuration is invalid and is complaining about it. It is telling you exactly what is wrong:

[Dec 25, 2023, 14:22:21] EVENT: CORE_THREAD_ERROR option_error: Neither 'client' nor both 'tls-client' and 'pull' options declared. OpenVPN3 client only supports --client mode. [ERR]

In your connection profile there is a mistake. To indicate that this is a client configuration you must have either 'client' in there by itself, or the combination of 'tls-client' and 'pull' together. Apparently you have a combination of parameters that is invalid. So look in your connection profile and look for 'client', 'tls-client', and 'pull'.

Only client = ok.
Only tls-client = not ok.
Only pull = not ok.
None of these = not ok.

Ensure you end up with either only client, or just the combination of tls-client and pull.

Then import the corrected connection profile and you'll be able to connect normally again (unless there are further problems in your configuration).

If you didn't generate this connection profile, it may be wise to contact whoever did and inform them of the situation so they can take corrective measures on their end when they generate connection profiles.

Kind regards,
Johan

Re: Problem with Connection

Posted: Tue Mar 12, 2024 10:28 am
by cobustorro
As openvpn_inc mentioned. For phone connection make sure that when you open the .ovpn file in notebook you declaire "tls-client" and "pull" together and it will work.

To do it, you just need to un-hashtag the pull.

This is correct like this:
tls-client
pull

This is NOT correct like this:
tls-client
#pull

or

like this:
#tls-client
pull

Make sure that for you computer-version the #pull is still has the hashtag.
Like this it works for me.