Cisco VPN disconnects after 5 seconds with error 422

1

I'm trying to connect to my university's server with VPN using Cisco VPN Client version 5.0.04, but after 5 seconds it disconnects with the error message 422: Lost contact with the secure gateway. Check your connection.

From my research on the net it seems this could be because it tries to find my IP, and finds out that this is 127.0.0.1. Then 5 seconds later it discovers that I have a new IP (my actual IP), and it disconnects because I'm not allowed to change IP.

Does anyone know how I could fix this, or if there is another reason i get this error?

Update

I looked through the log, and found this error, which confirms what I thought, except it gets the correct IP first, then changes it to localhost.

87 18:56:53.250 08/24/09 Sev=Warning/3 CM/0xA3100027 Adapter address changed from 149.171.237.25. Current address(es): 127.0.0.1.

Marius

Posted 2009-08-24T05:49:13.733

Reputation: 700

1Are you on windows? if yes start--run--eventvwr can give the clue! – Narayan – 2009-08-25T07:15:30.653

Answers

0

I got it to work, I know why, and I doubt anyone is going to have the same problem as me.

My computer name has always been localhost (no, really, In the system->computer name dialog, I named it localhost). This screws up the network for other windows machines, because if they try to enter \localhost\ in the address bar, windows reports a network name collision.

And apparently Cisco VPN doesn't like my computer name either.

Marius

Posted 2009-08-24T05:49:13.733

Reputation: 700

2

Based on this thread and this thread, it looks like there could be a number of reasons why the Cisco VPN client is returning this error. These reasons could include a routing conflict, conflict with a program on your computer (like Toshiba's ConfigFree utility), or some issues with NAT traversal. Good diagnostics would be trying to connect with a disabled firewall (as Col mentioned), trying to connect with a direct connection to the internet (not behind a router), and looking at the log (located in the Log tab of the VPN Client window). If you can't determine what the problem is, post the log in your question so someone else can look at it.

Samuel Karp

Posted 2009-08-24T05:49:13.733

Reputation: 351

1

If you're connecting through a USB Key to access internet such as through movistar or Huawei connection or whatever you have, make sure that your Airport is turned off and you're not sharing internet.

If it's on, it registers two different IPs and won't work.

Anthony

Posted 2009-08-24T05:49:13.733

Reputation: 11

1

This fixes it on VMWare Fusion:

(in /Library/Application Support/VMWare Fusion/)

sudo ./vmnet-apps.sh --stop 

zachary

Posted 2009-08-24T05:49:13.733

Reputation: 11

0

This isn't specific to your questions but many problems with VPNs are caused by firewalls. As a test try disabling any firewall software temporarily (including windows built in one) and see if it works. If it does you'll probably need to either open some ports or add exceptions for the vpn software.

Col

Posted 2009-08-24T05:49:13.733

Reputation: 6 995