Connection attempt failed cisco anyconnect что делать

от admin

How to Fix Cisco Anyconnect ‘Connection attempt failed’ on Windows 10

Some Windows users are reportedly getting the ‘Connection attempt failed‘ error when running the Cisco AnyConnect application in the hopes of establishing a virtual private network (VPN). This issue is reported to occur with Windows 8.1 and Windows 10.

Connection Attempt Failed with Cisco AnyConnect

As it turns out, this particular issue can occur due to several different common scenarios. Here’s a list of potential culprits that might be triggering this error code:

  • Missing Hotfix for TLS Protocol Renegotiation – As it turns out, there are a couple of updates with the potential of causing issues with Cisco AnyConnect. Several affected users have managed to fix the issue by installing every pending update in order to resolve the inconsistency with the TLS protocol renegotiation and fallback behavior.
  • Incompatibility with Windows 10 – According to a lot of Windows 10 users, you can expect to see this problem occurring due to an incompatibility affecting the SSL/TLS API that inhibits the Cisco AnyConnect tool from communicating with an outside server. In this case, you should be able to resolve the issue by forcing the vpnui.exe file to open in compatibility mode with Windows 8.
  • Error caused by Windows Update KB 3034682 – If you find yourself in a scenario where the issue suddenly started to occur after WU installed update KB 3034682, chances are the update contains a problematic security rule that is interfering with Cisco AnyConnect. In this case, you can resolve the issue by uninstalling and hiding the problematic update with a specialized utility.
  • Hyper-V Conflict on Windows 10 – It’s a well-known fact that Hyper-V is known to conflict with a lot of VPN facilitators such as Cisco AnyConnect and this scenario is no exception. If you find yourself in this scenario, you should be able to resolve the issue by disabling Hyper-V prior to launching the application.
  • Connection Sharing is Enabled – As it turns out, you can also expect to see this error code popping up due to a network sharing functionality that interferes with Cisco AnyConnect. If this scenario is applicable, you should be able to fix the problem by disabling the network connection sharing from the Network Connections tab.
  • Internet Explorer is configured to Work Offline – Since Cisco AnyConnect and IE share some common functionality, you can expect to see this error in those situations where IE’s offline mode is enabled by default. In this case, you can fix the issue by making some changes via the Registry Editor.

Now that you know every potential scenario that might be responsible for the apparition of the ‘Connection attempt failed‘ error, here’s a list of verified methods that other users have successfully deployed in order to bypass the error message:

1. Install every Pending Windows Update

As it turns out, one of the most common instances that might trigger this problem is a security update (3023607) that ends up affecting the default behavior regarding the TLS protocol renegotiation and fallback behavior.

According to some affected users, the issue was finally resolved after they run the Microsoft Update utility and installed every security and cumulative update including March cumulative security update for Internet Explorer (MS15-018) and Vulnerability in SChannel could allow security feature bypass: March 10, 2015 (MS15-031).

If you’re not certain that you have every available Windows update installed on your computer, follow the instructions below:

  1. Press Windows key + R to open up a Run dialog box. Next, type ”ms-settings:windowsupdate’ and press Enter to open up the Windows Update tab of the Settings app. Opening Windows Update
  2. Inside the Windows update screen, go ahead and click on Check for updates. Next, follow the on-screen prompts to install every Windows update that is currently scheduled to be installed. Installing every pending Windows Update

2. Run Cisco AnyConnect in Compatibility Mode (Windows 10 only)

If installing every pending update didn’t do the trick for you or you’re encountering the issue on Windows 10, chances are you’re dealing with an incompatibility issue. This most commonly occurs due to a Critical Windows 10 Update (3023607) that changes some details in regards to the SSL/TLS API in a way that breaks the Cisco AnyConnect app.

If you face this issue on Windows 10, the easiest way to fix it is to force the main executable (the one you use to launch Cisco AnyConnect) to run in Compatibility Mode with Windows 8.

In case you find yourself in this particular scenario, follow the instructions below to force the vpnui.exe executable to run in compatibility mode with Windows 8:

  1. Open File Explorer and navigate to the location where you installed the Cisco AnyCOnnectMobility Client folder. Unless you installed the utility in a custom location, you’ll find it in:
  2. Once you’re inside the correct location, right-click on vpnui.exe and click on the Properties entry from the context menu that just appeared.
  3. Once you’re inside the Properties screen, click on Compatibility, then go to Compatibility mode and check the box where it says ‘Run this program in compatibility mode for:’.

If you already tried forcing the vpnui.exe executable to run in compatibility mode with Windows 8 and you’re still seeing the same Connection attempt failed error, move down to the next potential fix below.

3. Uninstalling & hide the KB 3034682 update

If the first 2 methods did not work for you or were not applicable, the last resort would be to simply uninstall the problematic update that is causing the update on Windows 10 (3034682).

However, keep in mind that unless you take some steps to hide the problematic update, it will eventually find your way onto your computer and cause the same issue all over again after several system restarts.

But you can prevent this from occurring by using the Microsoft Show or Hide troubleshooter to hide the problematic update after you uninstall the KB 3034682 update.

If you’re looking for specific instructions on how to do this, follow the instructions below:

  1. Press Windows key + R to open up a Run dialog box. Next, type “ms-settings:windowsupdate” inside the text box and press Enter to open up the Windows Update screen of the Settings app.
  2. Inside the Windows Update screen, click on View Update history from the left-hand section of the screen.
  3. Next, from the list of recently installed updates loads up, click on Uninstall updates (at the top of the screen).
  4. Scroll down through the list of installed updates and locate the KB3034682 update inside the list of installed updates.
  5. After you manage to locate the correct update, right-click on it and choose Uninstall from the context menu. Then, click Yes at the confirmation prompt to start the process.
  6. Once the update has been uninstalled, visit the download page of the Microsoft Show or Hide troubleshooter package and download the troubleshooter.
  7. Once the download is complete, open the .diagcab file and immediately click on the Advanced button. Next, check the box associated with Apply Repairs Automatically.
  8. Hit Next to advance to the next menu and wait for the utility to finish the scan for updates before finally clicking on Hide Updates.
  9. Once the operation is complete, check the box associated with the update that you want to hide, then click on Next to advance to hide the selected update from Windows Update.
  10. Finally, wait until the procedure is complete, then restart your computer and see if the issue has been resolved once the next startup sequence is complete.

If the same issue is still occurring even after you went through the trouble of uninstalling and hiding the problematic update, move down to the next potential fix below.

4. Disabling Hyper-V (Windows 10)

As it turns out, it turns out that you can also expect to encounter this error due to a conflict between Cisco AnyConnect and the main Hyper-V service that’s enabled by default on Windows 10.

Several affected users that were also encountering this problem have reported that they finally managed to fix the ‘Connection attempt failed’ error by temporarily disabling Hyper-V and all associated services before rebooting the computer and using Cisco AnyConnect.

If you suspect this scenario might be applicable to your current situation, follow the instructions below to disable Hyper-V from the Windows Features menu:

  1. Start by pressing Windows key + R to open up a Run dialog box. Inside the text box, type ‘appwiz.cpl’ and press Enter to open up the Programs and Features menu. If you are prompted by the UAC (User Account Control), click Yes to grant admin access. Opening to Programs and Features screen
  2. Next, from the Programs and Features menu, use the menu on the left to click on Turn Windows features on or off. At the User Account Control prompt, click Yes to grant admin access. Turning Windows Features On and Off
  3. Once you’re inside the Windows Features screen, scroll down through the list of Windows Features and uncheck the box associated with Hyper-V. Next, click on Ok to save the changes. Disabling Hyper V
  4. Once the Hyper-V functionality is disabled, restart your computer and see if the problem is fixed once the next startup is complete.

5. Disable Network Connection sharing

If none of the methods above have worked for you, and you are currently sharing a network connection via the Microsoft Hosted Network Virtual Adapter, you might be able to resolve the ‘Connection attempt failed‘ error by disabling the shared network connection.

If this scenario is applicable to your particular scenario, several affected users have managed to fix this issue by accessing the Network Connections tab and modifying the default Sharing configuration so that network connection sharing is not allowed.

If you’re looking for specific step-by-step instructions on how to do this, follow the instructions below:

  1. Start by press Windows key + R to open up a Run dialog box. Inside the ‘ncpa.cpl’ inside the text box and press Enter to open up the Network Connections tab. If you’re prompted by the UAC (User Account Control), click Yes to grant admin access. Opening the Network Connections screen
  2. Inside the Network Connections tab, look through the list of network adapters and identify the one created specifically for hosting hotspot networks. Traditionally, it should be named Microsoft Hosted Network Virtual Adapter.
  3. Once you identify the correct network adapter, right-click on it and choose Properties from the context menu that just appeared. Accessing the Properties screen of the Hosted Network Virtual Adapter

In case the same kind of problem is still occurring, move down to the next potential fix below.

6. Disable IE’S Ability to Work Offline via Registry Editor

If none of the methods above have proven to be effective in your case, it’s also possible to face this problem to the fact that Internet Explorer is configured to ‘work in offline mode’. IE’s Offline mode is notoriously known to conflict with a lot of VPN facilitators such as the Cisco AnyConnect software.

This would not be a problem if Microsoft didn’t remove the option to change this default behavior and made it so that the option now defaults to online.

Since there’s no longer an option to make this modification from the GUI menu, you’ll have to resort to a Registry modification.

Follow the instructions below to disable Internet Explorer’s ability to work in Offline Mode via Registry Editor:

  1. Press Windows key + R to open up a Run dialog box. Next, type ‘regedit’ and press Ctrl + Shift + Enter to open up an elevated Registry Editor prompt. When you are prompted by the UAC (User Account Control), click Yes to grant admin access. Opening the Registry Editor
  2. Inside the Registry Editor, use the left-hand side menu to navigate to the following location:

AnyConnect – “Connection attempt has failed due to server communication errors’

Anyconnect-failed-due-to-server-communication-errors

I used my Windows 10 VM and that connected fine, only my MacBook could not connect, this VPN tunnel is a big deal I need it to get onto client’s networks. I tried my other VPN connections and every one was fine, only the recently rebuilt one didn’t work? Ive seen OSX throw a wobbly with AnyConnect in the past so I did a complete uninstall, deleted the opt/cisco folder and put on the latest version (4.4.00243 at time of writing) no change.

VPN

Connection attempt has failed due to server communication errors. Please retry the connection

A look in the client message history showed me this..

No Valid Certificates Available for Authentication

Connection attempt has failed.

No valid certificates available for authentication.

I checked my certificates, and the certificate on the firewall both they, (and the certificate chain,) were fine.

Debugging AnyConnect gave NO OUTPUT at all, but debugging SSL showed me this;

Try Googling that and getting a result! In fact that’s probably what brought you here.

Solution

If you change a Cisco OS and things like this stop working normally it’s because they’ve dropped support for something that’s got a security hole in it. In the wake of the Poodle Exploit I assumed it was an SSL/TLS problem, but that wasn’t it.

I was in the right ball park though, and a bit of lateral thinking and SSL cipher problems I’ve had with ASDM, made me think, what if it’s SHA that’s been dropped because everyone is dropping SHA1 cause it’s the hashing algorithm of Satan?

Well as soon as I added a SHA1 ciphers back in, everything started working again!

Disclaimer: SHA1 is bad, where practical all cert ciphers should be at least SHA256

Connection attempt failed cisco anyconnect что делать

Table of Contents

Struggling with cisco anyconnect connection attempt has failed error?

If yes! Then don’t panic. Just stick around to get the most convenient and workable solutions

First of all will talk over the 3W’s.Didn’t get my point?

The three above mention W’s are: What, When and Why

The above error is a connection error. And it is claim by Cisco AnyConnect users. This error bothers its users while attempting to run a Virtual Private Network (VPN).And the issue has been observed by Windows 8.1 and Windows 10 users. There can be several reasons to occur the same but the one of the common culprit is absence of healthy internet connection and PC or network troubles.

As discussed earlier there can be several reasons for displaying the above error message. But we have collected some potential causes for the error.

Why I am facing cisco anyconnect connection attempt has failed error?
Confliction of Hyper-V

Hyper-V is famous for conflicting with VPN implementers like Cisco AnyConnect. Disabling Hyper-V might solve your problem.

When Internet Explorer is organised to Work Offline

It is common to encounter the error when internet explorer offline mode is enabled by default because IE and Cisco AnyConnect have some common functions. You can manage to fix the error by making few modifications thru Registry Files.

Windows Update KB 3034682

If you are encountering the error after Windows Update installed update KB 3034682, then it is quite possible that the update might comprises challenging security rule which is interfering with Cisco AnyConnect.

Enabled Connection Sharing

Network sharing can also raise the issue for you. So disable the Network Connection Sharing from Network Connections tab

Absent Hotfix for TLS Protocol Renegotiation

A number of users claim that few of the updates can create problems with Cisco AnyConnect. Hence a user needs to install every pending update just to avoid the inconsistency with the TLS protocol renegotiation as well as fallback performance.

Unsuitability with Windows 10

Unsuitability really affects SSL/TLS API which hinders the Cisco AnyConnect tool from collaborating with an outside server.

Recommended solutions for cisco anyconnect connection attempt has failed
Fix 1: Disable Network Connection Sharing

The very first thing you can try is disable Internet Connection Sharing. After disabling it you might resolve the issue.

Fix 2: Disable Microsoft Hyper-V

Kindly follow the below mention guidelines to disable Hyper-V from Windows Features menu:

  • Press Windows + R key to open Run dialog box > in the appeared box, type “cpl” hit Enter key to pull up Programs and Features menu. Click on Yes to give permission if it was popped up by User Account Control (UAC).
  • Under the Programs and Features menu >click on Turn Windows On or off> on the User Account Prompt, tap on Yes to give permission.
  • Then, in the Windows Features screen, scroll down through list of Windows Features> uncheck the box related with Hyper-V > Tap on Ok to save changes
  • When the Hyper-V is disabled >simply restart your system
Fix 3: Open Cisco AnyConnect via Compatibility Mode

You can try to run the Cisco AnyConnect in a compatibility Mode. Follow the below mention guidelines to do so:

  • In the first step open File Explorer and go to the place where the Cisco AnyConnect Mobility Client folder is installed. Without installing the utility in custom location , you will get it in :

C:\Program Files (x86)\Cisco\Cisco AnyConnect Secure Mobility Client

  • When you are in the right place, right-click on exe> click on Properties entry from context menu that is displayed
  • Under the Properties screen , tap on Compatibility > navigate to Compatibility mode> check the box which says “Run this Program in Compatibility mode for”
  • When the box is checked, a list of other Versions of Windows will be unblocked >select the list and tap on Windows 8
  • Click on Apply and check whether the Cisco anyconnect connection attempt has failed resolved or not
Fix 4: Install the Pending Windows Update

Having a pending Windows Update can also be a possible reason to occur the error.so if you are not sure that every available Windows Update is installed on your work-station , you can follow the below mention guidelines to get out of the dilemma:

  • On your keyboard press Windows + R key to open Run dialog box > type in “ms-settings:windowsupdate” and then hit Enter key to open Windows Update tab of Settings app
  • Under the Windows Update Screen, click on check for updates. Then follow the on-screen instructions to install each Windows Update that is presently listed to be installed

Note: Install each kind of update comprising security and cumulative updates, not just important ones

  • Pay attention if you have a number of pending updates, then you will be pop up to reboot before every update is installed. If this is the situation with you , reboot your system as per the guidelines but ensure to return to the screen at the succeeding startup and complete the installation of the rest of the updates
  • Once when every pending update is installed on your PC, restart your system.
Fix 5: Disable Internet Explorer’s Ability to work Offline thru Registry Editor

It might be possible that you are facing the error due to IE be configured to work in offline mode. You can follow the below mention guidelines to disable IE’s ability to work in Offline Mode thru Registry Editor:

  • To open Run dialog box , press Windows +R key >type in “regedit”> press ctrl+shift+Enter to open an important Registry Editor Prompt> once you are popped by User Account Control >click on Yes to give permission
  • In the Registry Editor, utilize the left side menu and go to the below mention location:
  • When you get the right location ,go down to right side section and place the GlobalUserOffline DWORD Key
  • Then double-click on it > set the Base to Hexadecimal and the value to 0> click OK just for saving the changes
  • Reboot your system and check whether the issue fix or not.
Conclusion

That’s it! Here my job is done and I tried my best to list down the complete information related to Cisco anyconnect connection attempt has failed. In case if your work-station is working slow or if it gets crashed regularly then it is recommended to scan it with an anti-malware tool. With just single scan of PC with a PC repair tool, majority of the errors automatically get fixed.

Kindly ensure to follow the suggestions one by one till you find the suitable one that works for you

If there anything that I missed out on or you have queries then feel free to share with us on Facebook and twitter page. Thanks for Reading.

Fix Cisco AnyConnect error Connection attempt failed

Some users of Windows 10 who use the Cisco AnyConnect tool on a regular basis, have come across an error that is called, Connection attempt failed. This usually happens when you’re attempting to run a virtual private network (VPN) but worry not because there are ways to solve it. It can also due to a network or PC issue and you are asked to verify internet connectivity and try again.

Cisco AnyConnect error Connection attempt failed

Cisco AnyConnect error Connection attempt failed

  1. Open Cisco AnyConnect via Compatibility Mode
  2. Disable Microsoft Hyper V in Windows 10
  3. Turn off Internet Connection sharing

Let us discuss this from a more detailed perspective.

1] Open Cisco AnyConnect via Compatibility Mode

To do this, you must first source the primary executable file. Not everyone knows how to get this done, so if you fall under that category, then you will want to open the File Explorer and navigate to the following location:

After accessing the folder, please right-click on vpnui.exe, then select Properties.

From there, go to Compatibility > Compatibility mode. Finally, check the box where it says, Run this program in compatibility mode for.

Select Windows 8 or Windows 7 from the list, then hit Apply > OK.

Restart your computer, then attempt to run Cisco AnyConnect once more to see if the Connection attempt failed error still makes an appearance.

2] Disable Microsoft Hyper V in Windows 10

One other way to solve the Connection attempt failure is to turn off Hyper V in Windows 10. There are three easy steps to take in order to disable Hyper V.

As you will see from the article, there are multiple ways to disable Hyper V, so use the method that works best for you.

3] Turn off Internet Connection sharing

If the options above fail, then your next step is to disable Internet Connection Sharing from within Windows 10. It’s quite easy, and you will learn all you need to know once you’ve read every word.

Читать:
Как восстановить сетевую папку на компьютере

Похожие статьи