Page 1 of 1

Mac OS X 10.6, Exchange via VPN, loosing connection every 4

Posted: Wed Sep 09, 2009 8:16 pm
by wiggerl.atzberger
Hi,
update to Mac OS X 10.6 done, after a while and many problems using Exchange 7 connectivity through the VPN Tunnel. But there is still one problem:
The connection opens, count from 1 to 4 seconds and restarts opening the connection again. result: a very poor throughput on the VPN Tunnel
I tried the Viscosity Version 1.0.6 beta, same result. The parameters worked well since a long time and I didntĀ“t change. Herer the log, do not understand "SIGUSR1 (soft, connection reset) Why?
Thanks for help

wiggerl

Wed Sep 9 12:03:05 2009: Connection reset, restarting [0]
Wed Sep 9 12:03:05 2009: SIGUSR1[soft,connection-reset] received, process restarting
Wed Sep 9 12:03:05 2009: WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Wed Sep 9 12:03:05 2009: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Wed Sep 9 12:03:05 2009: Re-using SSL/TLS context
Wed Sep 9 12:03:05 2009: LZO compression initialized
Wed Sep 9 12:03:05 2009: Attempting to establish TCP connection with 192.168.76.1:8080 [nonblock]
Wed Sep 9 12:03:06 2009: TCP connection established with 192.168.76.1:8080
Wed Sep 9 12:03:09 2009: TCPv4_CLIENT link local: [undef]
Wed Sep 9 12:03:09 2009: TCPv4_CLIENT link remote: 192.168.76.1:8080
Wed Sep 9 12:03:10 2009: [vpnserver.de] Peer Connection Initiated with 192.168.76.1:8080
Wed Sep 9 12:03:11 2009: Preserving previous TUN/TAP instance: tun1
Wed Sep 9 12:03:11 2009: Initialization Sequence Completed
Wed Sep 9 12:03:15 2009: Connection reset, restarting [0]
Wed Sep 9 12:03:15 2009: SIGUSR1[soft,connection-reset] received, process restarting

Re: Mac OS X 10.6, Exchange via VPN, loosing connection every 4

Posted: Thu Sep 10, 2009 1:33 am
by James
Hi wiggerl,
Herer the log, do not understand "SIGUSR1 (soft, connection reset) Why?
This is a tough one to diagnose as it's a fairly generic error message. A ""SIGUSR1 (soft, connection reset)" message typically means that there is a network issue that is stopping the client (Viscosity) from communicating with the server over the TCP connection.

It could be a routing issue (i.e. once you are connected a route could be being added that kills the route to the OpenVPN server). If you have added any custom routes under the Networking tab you may want to try removing them and see what happens. If you are using multiple VPN connections at the same time you should make sure that their routing settings don't interfere with each other.

You might also have a MTU issue on your hands. Search this forum for some information on checking for and resolving MTU issues.

And finally, it could simply be a flakey network connection. If you're able to, try connecting to your OpenVPN server from another network and see if you have the same problem.

[Edit] Just an addition: a common mistake is to have another machine connecting to the same VPN server using the same credentials. When it connects to the server your connection is dropped, and when Viscosity reconnects the other computer's connection is dropped, and so on.

Cheers,
James

Re: Mac OS X 10.6, Exchange via VPN, loosing connection every 4

Posted: Mon Sep 14, 2009 6:44 pm
by hayssam
still the same problem over here..
  • tried a different MTU
    no other VPN connections
    tried without router (airport extreme) by directly connecting to my cable modem
    tried removing the custom routes
any idea how we can pin down the problem ?

regards,
Hayssam

Re: Mac OS X 10.6, Exchange via VPN, loosing connection every 4

Posted: Wed Sep 16, 2009 3:10 am
by James
Hi Hayssam,

You'll probably need to get in touch with the administrator of your OpenVPN server too see what they are seeing at their end when you drop out (i.e. what messages they are getting in the OpenVPN log). I'd also recommend sending along a copy of the OpenVPN config file Viscosity is using so they can check to see if there could be any configuration problems. You can find the config file at:
Your Home Directory->Library->Application Support->Viscosity->OpenVPN->#->config.conf

You may like to try disabling Viscosity's DNS support to see if it could be interfering. To do this, edit your connection in Viscosity, un-tick the "Enable DNS Support" checkbox, and then click Save.

Cheers,
James