Cannot connect update to 1.7 " Unrecognized option or mis.."

Got a problem with Viscosity or need help? Ask here!

rakuga

Posts: 2
Joined: Thu May 25, 2017 3:36 pm

Post by rakuga » Thu May 25, 2017 3:42 pm
Since updating to v1.7 (1393), I get the following error:

2017-05-25 07:32:34: Connection is reachable. Starting connection attempt.
2017-05-25 07:32:36: Options error: Unrecognized option or missing or extra parameter(s) in /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/connection.K51zyK/config.conf:20: float (2.4.2)
2017-05-25 07:32:36: The OpenVPN subsystem could not be started.
2017-05-25 07:32:36: State changed to Kopplar från

I have tried reinstalling but it still does not work. Everything worked fine until latest update. What should I do?

James

User avatar
Posts: 2313
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Thu May 25, 2017 4:18 pm
Hi rakuga,

The error indicates that there is an invalid command ("float") in your connection’s configuration:
Code: Select all
Options error: Unrecognized option or missing or extra parameter(s) in /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/connection.K51zyK/config.conf:20: float (2.4.2)
Viscosity 1.7 updates from OpenVPN 2.3 to version 2.4, which includes a number of big security changes, including stricter configuration checking. In this instance it’s likely the connection authentication type isn't one that allows the use of the float command (it's also typically only used server-side).

Removing the command should allow you to connect again. You'll need to remove it from the advanced commands area for your connection. Please see:
http://www.sparklabs.com/support/kb/art ... n-commands

Cheers,
James
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs

rakuga

Posts: 2
Joined: Thu May 25, 2017 3:36 pm

Post by rakuga » Thu May 25, 2017 8:02 pm
Thank you for the quick reply.

The settings looked like this:

ifconfig 46.xx.xx.xx 255.255.255.224
comp-lzo adaptive
float 46.xx.xx.x
cipher AES-256-CBC

I removed the line "float 46.xx.xx.x "

It still wont connect and I get the following error now:


2017-05-25 11:53:10: Viscosity Mac 1.7 (1393)
2017-05-25 11:53:10: Viscosity OpenVPN Engine Started
2017-05-25 11:53:10: Running on macOS 10.12.0
2017-05-25 11:53:10: ---------
2017-05-25 11:53:10: State changed to Ansluter
2017-05-25 11:53:10: Checking reachability status of connection...
2017-05-25 11:53:10: Testing address: 46.xx.xx.x Reachable
2017-05-25 11:53:10: Connection is reachable. Starting connection attempt.
2017-05-25 11:53:12: disabling NCP mode (--ncp-disable) because not in P2MP client or server mode
2017-05-25 11:53:12: The OpenVPN subsystem could not be started.

James

User avatar
Posts: 2313
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Sat May 27, 2017 10:22 am
Hi rakuga,

Can you please post a full copy of the configuration file for your connection? You can view this like so:

1. Open Viscosity's Preferences window and ensure that the Connections toolbar section is selected.
2. While holding down the Option key on your keyboard, right-click (or control-click) on your connection in the connections list and select "View Configuration Data" from the menu that appears. If the "View Configuration Data" option isn't present in the menu please ensure that the Option key was held down when opening the menu.
3. Select the contents and copy-paste it into a forum reply (i.e. highlight all of the text and then press Command-C on your keyboard).
4. Click Close.

Please feel free to censor out any sensitive details (such as the remote address) before posting.

Cheers,
James
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
4 posts Page 1 of 1