Page 1 of 2

Can't reconnect to HDA

Posted: Fri Sep 04, 2009 1:20 am
by zwadder
IU have installed HDA vpn connection version 3 (previous I had version 1 and 2), when I want to connect to the HDA everything works fine and I get a connection. When I disconnect (or at the initial login put in a wrong password) I can't get a connection anymore, I have to restart the computer and then everything works fine again.

These are the connector messages:

Fri Sep 04 10:12:30 2009 OpenVPN 2.1_rc15 i686-pc-mingw32 [SSL] [LZO2] [PKCS11] built on Nov 19 2008
Fri Sep 04 10:12:31 2009 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Fri Sep 04 10:12:31 2009 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Fri Sep 04 10:12:31 2009 LZO compression initialized
Fri Sep 04 10:12:31 2009 Control Channel MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
Fri Sep 04 10:12:31 2009 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Fri Sep 04 10:12:31 2009 Local Options hash (VER=V4): '41690919'
Fri Sep 04 10:12:31 2009 Expected Remote Options hash (VER=V4): '530fdded'
Fri Sep 04 10:12:31 2009 Socket Buffers: R=[8192->8192] S=[8192->8192]
Fri Sep 04 10:12:31 2009 UDPv4 link local: [undef]
Fri Sep 04 10:12:31 2009 UDPv4 link remote: CENSORED BY BrandonK1989
Fri Sep 04 10:13:31 2009 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Fri Sep 04 10:13:31 2009 TLS Error: TLS handshake failed
Fri Sep 04 10:13:31 2009 TCP/UDP: Closing socket
Fri Sep 04 10:13:31 2009 SIGUSR1[soft,tls-error] received, process restarting
Fri Sep 04 10:13:31 2009 Restart pause, 2 second(s)



Does anyone has an idea what is going wrong, thanks in advance!!!

Re: Can't reconnect to HDA

Posted: Fri Sep 04, 2009 10:11 am
by bsk
Are you running Windows 7?

Re: Can't reconnect to HDA

Posted: Fri Sep 11, 2009 10:58 am
by zwadder
Sorry for replying late, I have been ill.

Yes I use windows for connecting to the Amahi server

Re: Can't reconnect to HDA

Posted: Fri Sep 11, 2009 1:21 pm
by bsk
Im sorry to hear you have been ill.

My question was are you running the latest windows version, Windows 7.

I ask this to see if it is a problem with just Windows 7 or if its a problem with the new version of HDA Connect on previous platforms of Windows (ie XP or Vista).

Trying to narrow things down to target the sole problem.

Re: Can't reconnect to HDA

Posted: Sat Sep 12, 2009 1:24 am
by zwadder
I run Windows at my home computers and everything concerning Amahi is working fine, but I don't use VPN on my home computers. I only connect to the Amahi server on my work computer which has Windows XP on it.The same happens to my girlfriend when she's at work and using her XP machine and uses the VPN connection.

Re: Can't reconnect to HDA

Posted: Sat Sep 12, 2009 12:41 pm
by bsk
Thanks for that. I have not used the newest version (version 3) on Windows XP yet.

Quick fix though, re-download the version 2 (when you click to download v3 on the wiki, copy that link, place it in the address bar and replace 3 with 2) and install it, I will have the devel of version 3 (tfbox) look into this and update this thread when its fixed.

Re: Can't reconnect to HDA

Posted: Sat Sep 12, 2009 12:45 pm
by bsk
Also, another thing to do, completely remove HDAConnect from your PC and then reinstall the newest version, might be a quick fix.

We need to work on the "update" part as well.

Re: Can't reconnect to HDA

Posted: Sat Sep 12, 2009 4:13 pm
by tfbox
I would like to know if the previous version of the hdaconnect app works correctly for you still.

uninstall the one you have installed then install this one.

http://dl.amahi.org/HDAConnect2.exe

So far I have not heard about any reports about any issues like this.

Re: Can't reconnect to HDA

Posted: Tue Sep 15, 2009 4:50 am
by zwadder
I have used all three versions of the connection software with the same result.
Also I had a fresh computer (XP reinstalled) and installed version 2 of the connector software with the same result. It happens also if I make a mistake in the password, the only way then to logon to the network using VPN is to rsetart the computer (tried it also with all three version of the connector software)
Maybe I could reinstall the Amahi software but I'm not sure if I lose the current settings (shares etc)

Re: Can't reconnect to HDA

Posted: Tue Sep 15, 2009 10:30 am
by tfbox
zwadder: it sounds like the problem may actually be in the openvpn server configuration.

I am not sure if this will help but you could try looking in this file for errors before resorting to a complete reinstall:

/var/log/openvpn-status.log