Saving login details in keychain not possible for me

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

artyfarty

Posts: 2
Joined: Mon Jul 06, 2009 12:11 am

Post by artyfarty » Mon Jul 06, 2009 12:21 am
When while loggin in I try to save the VPN login details into the keychain, viscosity is unable to do so, giving the following error:
(AttributeError: 'NoneType' object has no attribute 'setPasswordIsValid_')

If I uncheck "remember details in my keychain" it works okay.

James

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

Post by James » Mon Jul 06, 2009 6:13 pm
Hi artyfarty,

I'd recommend running through the following troubleshooting steps first:

a. Make sure you are using the latest version of Viscosity (version 1.0.5)

b. Try repairing your Keychain. This can be done like so:

1. Go to /Applications/Utilities and open the Keychain Access application
2. Go to the File menu and select Keychain First Aid
3. Enter your username and password, select Repair, and click the Start button

c. Try deleting any saved entries incase they are corrupted. This can be done like so:

1. Go to /Applications/Utilities and open the Keychain Access application
2. Use the search box to search for the saved details by entering the server address for your VPN connection. For example, if your VPN server is vpn.domain.com, enter "vpn.domain.com" into the search box.
3. Look for the appropriate search result. Viscosity will save your VPN server details as an "Internet Password". If you double click on the item it should have something like "ovpn://vpn.domain.com:1194" in the Where field.
4. Delete the item. Repeat the above steps if you have multiple connections.
5. Quit and reopen Viscosity, and try connecting again.

While the following additional steps shouldn't make a difference, they may be useful for debugging the problem:

d. If your connection name contains any complex characters, try renaming it to something simple (e.g. "Test Connection") and see if you have the same problem.

e. If you have multiple addresses in the Remote Server address field (under the General tab), try removing the additional servers so there is only one address remaining.

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

artyfarty

Posts: 2
Joined: Mon Jul 06, 2009 12:11 am

Post by artyfarty » Wed Jul 08, 2009 3:03 am
It was indeed a keychain issue, which your advise helped correct.
Everything's working fine now, many thanks James!
3 posts Page 1 of 1