02-06-2014 11:41 AM
I have a customer who is trying to connect to their SSL VPN via AnyConnect client. They have a Cisco ASA 5515x running ASA 8.6(1)2, using AnyConnect for windows 3.1.03103. They are on a laptop that is running Windows 7.
When the attempt to connect they get the following error message:
The VPN connection failed due to unsuccessful domain name resolution
They never get to a login prompt. They have attempted to connect using the IP address of the Cisco ASA, as well as the Domain name pointing to the ASA.
They have other devices coming from the same location running win7 that have no problems connecting. I believe this is a client side, or client PC issue. Any advice would be appreciated.
Thanks!
02-14-2014 07:00 PM
02-24-2014 10:23 AM
While I never had a specific answer to the root cause of this issue, the client ended up formatting the computer and reinstalling windows. They were then able to install and run cisco anyconnect.
I did not receive any further details from the client regarding this.
09-12-2014 07:38 AM
I just reinstalled the vpn client. It works in the short term, but the problem will resurface again in a few weeks.
03-10-2015 04:57 PM
I beleive this is more of a client issue than VPN server.
Specify the group-url in the tunnel-group command as shown below
tunnel-group your-tunnel webvpn-attributes
group-url https://outside-interface-ip/extension enable
Use the specified url while connecting to the VPN (outside-interface-ip/extension)
Worked for me.
06-10-2015 06:14 AM
We had this exact same problem and during troubleshooting we discovered that the anyconnect.xml file had become corrupted, meaning the format of the file was no longer usable by the VPN client. Connecting to another region (different set of VPN HEs) caused a new file to be downloaded, and then we were able to connect to the original HEs. We don't know why the anyconnect.xml file became corrupted, but this fixed the problem in all cases.
06-08-2018 04:23 AM
I'm an AnyConnect user, not the admin, and thus have no access to check whether there's an issue in the .xml or the proxy url. However, I simply pointed to an alternative VPN gateway than my usual, which caused info for that gateway to be downloaded and that fixed my problem. Thanks!
06-10-2015 09:35 AM
Thank you Robert. If I encounter this issue again I will try that.
10-22-2015 12:45 PM
It's important to note that the AnyConnect client (at least in Windows) does not seem to trim any trailing spaces on the name either. If you "pad" the name with an extra space it will fail. To add to the fun, this hostname is saved through an uninstall/reinstall cycle (probably a registry entry?) so the only way to remove it is to notice that extra space and delete it manually - or re-enter the name from scratch and then wonder why it works when you just typed in the same (or so you think) FQDN as before.
09-15-2016 06:56 AM
Spot on I had this very problem today!
06-06-2016 02:44 AM
I had this very same error message.
I found out that the AnyConnect service was configured on a non-standard port:
ASA# sh run webvpn
webvpn
! !!!!!!!!!!!!!!!!!!!
port 444
! !!!!!!!!!!!!!!!!!!!
enable outside
Adding ":444" to the connection URL obviously solved the issue.
01-09-2017 08:34 AM
Using Cisco AnyConnect Secure Mobility Client, v. 3.1.05152
It seems that any number of problems can lead to this error message.
This started happening to me on a Monday morning (Friday afternoon was working just fine).
I opened up my profile XML file and found that the DNS name for the server that I regularly connect to had somehow become corrupted with a single extra, and duplicate, character added ("abc.defg.com" became "abc.defgg.com").
Hand editing the file to the correct name fixed the problem for me.
01-10-2017 05:09 AM
While I never had a specific answer to the root cause of this issue, the client ended up formatting the computer and reinstalling windows. They were then able to install and run cisco anyconnect.
Reinstall the vpn client and reboot.
07-26-2019 01:55 AM
Hi
I had this issue and it was caused by configuration on ASA.
There was a static port address translation of port 443 on ASA internet interface that was directed to some web interface on the internal network.
Changing the webvpn port to a different one solved the issue.
03-08-2021 09:09 AM
I have confirmed a cause of the unsuccessful name resolution error message that is not as much a DNS issue as a configuration mis-match between preferences.xml and <profile-filename>.xml.
Steps to replicate this problem.
1. The end user successfully connects to a VPN gateway.
2. The name of the last connected gateway is copied to the <DefaultHostName> variable at "C:\Users\USERNAME\AppData\Local\Cisco\Cisco AnyConnect Secure Mobility Client\preferences.xml"
3. When the client opens the AnyConnect client, this <DefaultHostName> variable is populated as the default connection entry.
4. Problem introduced: The client computer receives an updated profile at "C:\ProgramData\Cisco\Cisco AnyConnect Secure Mobility Client\Profile\<profile-filename>.XML"
5. The updated profile does not contain an entry that matches the <DefaultHostName> variable.
6. The end user attempts to connect to the gateway name listed in the <DefaultHostName> variable.
7. The VPN connection fails due to unsuccessful domain name resolution.
Workaround:
The end user uses the drop-down, and selects a gateway from the list that is actually present within the <profile-filename>.xml
Possible fixes:
When updating the VPN profiles, default the preferences.xml file.
When updating the VPN profiles, retain the old names.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide