Viscosity and Windows 8 Don't like each other

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

thehengst

Posts: 3
Joined: Thu Nov 29, 2012 10:59 am

Post by thehengst » Thu Nov 29, 2012 11:18 am
Good evening,
I installed the latest beta 1.4.2 b3 under Windows 8 x64 for evaluation purposes. Unfortunately Viscosity doesn't seem to like Windows 8, I get the following errormessages:
Code: Select all
Ausnahmeinformationen: System.NullReferenceException
Stapel:
   bei  .()
   bei System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   bei System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   bei System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   bei System.Threading.ThreadHelper.ThreadStart()
and afterwards a little "array out of range exception"
Code: Select all
Ausnahmeinformationen: System.IndexOutOfRangeException
Stapel:
   bei InstallViscosityDrivers.Program.Main(System.String[])
I can circumvent the last error by telling Viscosity not to create a network adapter, but still the connection does not come up successfully. Is there a logfile somewhere?

Thanks a lot for your help, I think when I can figure out how to solve these last errors I will replace openvpn with your solution :-)

Best regards from Berlin

thehengst

Eric

User avatar
Posts: 1146
Joined: Sun Jan 03, 2010 3:27 am

Post by Eric » Sat Dec 01, 2012 8:51 pm
Hi thehengst,

When do you get these errors? When you connect?

This appears to be an adapter issue as you suggest. It looks like that the drivers and/or service have not been installed correctly. Please try uninstalling Viscosity then reinstalling, making sure that you click Install to the drivers when prompted, and that the service is running as it should be.

Do you get the same issue using the latest stable release, available at http://www.sparklabs.com/viscosity ?

Regards,

Eric
Eric Thorpe
Viscosity Developer

Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs

thehengst

Posts: 3
Joined: Thu Nov 29, 2012 10:59 am

Post by thehengst » Mon Dec 03, 2012 7:39 pm
Hi Eric,
I installed and reinstalled the product several times, but the device-driver-installation request never popped up. I had OpenVPN installed before and maybe their TAP device is interfering with yours?

However, when I imported some .ovpn files your GUI created several new adapters successfully, I just can't connect to one of them, as then the error I mentioned occurs. (By the way, when I import several files I would prefer not have 10+ adapters created automatically, maybe you should add a checkbox)

This happens with the latest stable build and also with the beta I tested.
Is there a method to force a driver reinstallation? Or do you have a version with some more debug output I could test?

Eric

User avatar
Posts: 1146
Joined: Sun Jan 03, 2010 3:27 am

Post by Eric » Mon Dec 03, 2012 8:22 pm
Hi thehengst,

The log can be found in the Details window (Right click the Viscosity icon in the System tray, select Details), it is the third icon in the middle. Copying this out on a failed connection might help us. We've been able to replicate that crash but only by corrupting the drivers.

We have heard of the Tap drivers interfering before, please try and disable any default Tap32 adapters you have.

We are currently investigating ways to manage adapters better.

Regards,

Eric
Eric Thorpe
Viscosity Developer

Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs

Eric

User avatar
Posts: 1146
Joined: Sun Jan 03, 2010 3:27 am

Post by Eric » Tue Dec 04, 2012 12:30 am
Hi thehengst,

We've just uploaded a new beta that we hope will alleviate the crashes you were experiencing as well as hopefully help point to a fix for the problems you are experiencing.

We have also added an option not to create adapters when importing connections.

If you would like to try it, we would highly appreciate any feedback! It's available here - http://www.sparklabs.com/forum/viewtopic.php?f=7&t=482

Regards,

Eric
Eric Thorpe
Viscosity Developer

Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs

thehengst

Posts: 3
Joined: Thu Nov 29, 2012 10:59 am

Post by thehengst » Tue Dec 04, 2012 9:32 am
Your latest beta fixes this error for me. Viscosity is running under Win8 Pro x64 now.

I'm also very happy that you made a setting for creating new adapters during setup, however I would like to comment on this feature, as it's not 100% usable right now.

Now, when I import my OVPN connections (around 25) Viscosity does not create the adapters immediately. But when I try to start one, it first creates one new adapter (once per profile) and then connects to it.

Maybe Viscosity should either display a dropdown list of all available TAP devices so I can choose which one to use for my connection or look for free, adapters and only create one, when all others are already in use and release the adapter when not needed anymore. (Editing all connections by hand and settings the correct device GUID is such a tiring task :-) )

By the way, your GUI is so nice, why can't I connect from the settings menu? Right-click an entry and chose connect/disconnect (and some buttons in the details dialog would also be a big plus in usability!)

If you find some time, maybe you can discuss my suggestions.

Many thanks and best regards from Berlin
6 posts Page 1 of 1