Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Attention: The Community will be in read-only mode on 12/14/2017 from 12:00 am pacific to 11:30 am.

During this time you will only be able to see content. Other interactions such as posting, replying to questions, or marking content as helpful will be disabled for few hours.

We apologize for the inconvenience while we perform important updates to the Community.

New Member

AnyConnect VPN client version 2.5.0217- not able to establish connection to gateway

I am getting an error when trying to establish a connection to the secure gateway:  AnyConnect was not able to establish a connection to the specified secure gateway.  Please try connecting again.

I have tried connecting again many times.  I have also tried rebooting my machine and connecting to no avail.  The problem seems to be intermittent though, because it did connect just fine over the past few days.  Can anyone assist?

I am runing version 2.5.0217 on windows Vista.

Everyone's tags (3)
2 ACCEPTED SOLUTIONS

Accepted Solutions
New Member

AnyConnect VPN client version 2.5.0217- not able to establish co

Hey,

I had the same problem and resolved by disabling the ICS(Internet Connection Sharing).

New Member

I also have the same problem

I also have the same problem and tried all of the solutions listed above. I saw in another forum that if a wifi hotspot is enabled on a windows 7 PC, then cisco VPN will not connect. 

I disabled wifi hotspot and this did not help either. 

I finally got my VPN working by doing the following: Go to Network and sharing centre -> Change adapter settings. Right click on each connection and click on properties. Go to sharing tab and uncheck "Allow other network users to connect through this computers internet connect". This should work.

18 REPLIES
New Member

Re: AnyConnect VPN client version 2.5.0217- not able to establis

I have had similar issues, usually when trying to connect from a wireless network while staying in a motel.  The only way I have been able to get mine to work, has been to uninstall the AnyConnect VPN Client from my laptop, reboot and reinstall the AnyConnect VPN Client.

New Member

Re: AnyConnect VPN client version 2.5.0217- not able to establis

I have also uninstalled and reinstalled, rebooted etc several times.  It does seem to work for a day if I reinstall it, but this is not a working solution.  I cannot afford to waist time reinstalling this software evertime I need to use it.

Cisco Employee

I'm on version 3.1 04072 and

I'm on version 3.1 04072 and AnyConnect fails to connect whenever 'Internet Connection Sharing (ICS) service is running. Workaround is to stop service before connecting to VPN.

New Member

AnyConnect VPN client version 2.5.0217- not able to establish co

Hey,

I had the same problem and resolved by disabling the ICS(Internet Connection Sharing).

Re: AnyConnect VPN client version 2.5.0217- not able to establis

Hi,

You're not able to connect with the client from the same location you were able days ago?

Has something changed on the VPN server configuration? Or on the client side?

Can you PING the VPN server IP address from the client?

Do you have access to the configuration of the VPN server that you can share with us?

Can you try connecting from a different location?

Federico.

New Member

Re: AnyConnect VPN client version 2.5.0217- not able to establis

I tried pinging the vpn server, and it timed out.  Rebooting now.

New Member

Re: AnyConnect VPN client version 2.5.0217- not able to establis

upgrade to latest?

New Member

Re: AnyConnect VPN client version 2.5.0217- not able to establis

Hello ,

did you solve the problem ? How ? We have the same error and we do not know how to solve it

Thank you

New Member

Re: AnyConnect VPN client version 2.5.0217- not able to establis

Hello All,

For me, I kept getting the same errors mentioned earlier. Once the install went through, for the life of me I couldn't connect. I just happened to stumble across this after hours and hours... [This worked for me (on Vista)]...

To connect:

1. Once the Anyconnect install finishes succesfully (<---ONLY THE VERY FIRST TIME)

2. "Control Panel"

3. "Network and Sharing Center"

4. "Manage Network Connections"

5. There should be a VPN connection in the list. Simply right-click on it and click on the "Enable" option. It should go through a few connection messages "Enabling... Authenticating..." [blah-blah-blah]... Then you should be connected...

6. To verify, open a command prompt and type "ipconfig /all"...

NOTE: CONNECTING USING THE ACTUAL ANYCONNECT PROGRAM NEVER WORKED FOR ME (NO MATTER WHAT).

I hope this works for someone...

New Member

AnyConnect VPN client version 2.5.0217- not able to establish co

I have run into this issue on Windows 7 when two users are logged in to the client machine. Trying to connect resulted in the unhelpful message:

"AnyConnect was not able to establish a connection to the specified secure gateway.  Please try connecting again."

Trying to reinstall, as suggested above, gave a message regarding multiple users logged in. I logged off one user and was able to connect as normal.

New Member

AnyConnect VPN client version 2.5.0217- not able to establish co

I have had exactly the same problem on a Windows 7 Professional laptop.

In fact I had one that worked and another that came up with "AnyConnect was not able to establish a connection to the specified secure gateway. Please try connecting again."

After reading many forums and trying all the suggestions I still couldnt fix it.  In the end it turned out to be an easy fix, although I have no idea why this would have happened.

Solution:

Go to Control Panel - Network & Internet - View Network status & tasks - Change Adapter Settings. Then right-click the Anyconnect connection and select properties. Select 'Internet Protocol Version 4" and select Properties.

I had an 'Use the folloiwng IP address" selected and an IP address in the fields (this was actually an IP address from the VPN pool".  I simply changed the 2 radio buttons on the screen to Obtain automatically and removed the addresses and hey presto, established the VPN at the first attempt.

New Member

I also have the same problem

I also have the same problem and tried all of the solutions listed above. I saw in another forum that if a wifi hotspot is enabled on a windows 7 PC, then cisco VPN will not connect. 

I disabled wifi hotspot and this did not help either. 

I finally got my VPN working by doing the following: Go to Network and sharing centre -> Change adapter settings. Right click on each connection and click on properties. Go to sharing tab and uncheck "Allow other network users to connect through this computers internet connect". This should work.

first ensure if vpn pool is

first ensure if vpn pool is not exhausted also try with making registry edit.

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\vpnva]

"DisplayName"="Cisco AnyConnect VPN Virtual Miniport Adapter for Windows x64".. you may get garbage value in "DisplayName" field. detele all those garbase values before "Cisco AnyConnect.................."

New Member

Wow. I wasn't too convinced

Wow. I wasn't too convinced this could do it but I was desperate enough to try anything.


It worked like magic!!!

Thank you for sharing your solution.

New Member

Worked for me as well, thanks

Worked for me as well, thanks!

New Member

We had the same issue earlier

We had the same issue earlier today. After intense troubleshooting we noticed somehow the client profile was missing. We added the client profile with the correct xml file and it started working again. Hope this helps someone who has similar issue.

New Member

I'm facing an issue similar

I'm facing an issue similar to above issues.

I'm using a laptop provided by my office and I connect to office network using cisco AnyConnect VPN client. When I try to connect using my home WiFi, I can't connect any of the predefined gateways, even my outlook client for O365 doesn't work when I'm on WiFi.

Once I connect my laptop to a datacard, both VPN and outlook works smoothly. 

I contacted my ISP also, he asked me to share TCP/UDP ports used to connect to the VPN so that he can open those ports if those are blocked for security purpose.

Can anyone help me to resolve the issue?

Br,

Nishant

After reading these posts and

After reading these posts and remembering that my homegroup printers stopped working when I made a successful Cisco VPN connection, I immediately realized it was Windows Homegroup.  Upon disabiling it, the Cisco connection worked just fine. 

This error is probably because Cisco is making checks for security, other computers which can connect into the network without credentials.   First try disabling Homegroup (which finally worked for me).  Other users here have disabled Bluetooth networks emanating from the computer.  Altering "allow other network users to connect through this computer's internet" made no difference for me.  

134973
Views
25
Helpful
18
Replies
CreatePlease to create content