11-02-2023 12:37 PM
I have a VPS with windows server 2019 hosted at Hostwinds, I have anyconnect-win-4.10.06079-predeploy-k9 installed, when I try to access the vpn.hostname.com I get the following errors:
AnyConnect was unable to establish a connection to the specified secure gateway. Try connecting again.
Secure gateway (vpn.hostname.com) was not found in profile .
What could be the problem?
11-02-2023 01:58 PM
Hello @alexsMendiabal,
Ensure that the hostname "vpn.hostname.com" resolves to the correct IP address. You can use the "nslookup" command to check if the DNS resolution is working as expected.
Do you check the anyconnect logs for more detailed error messages? These logs can provide valuable information about what's going wrong.
11-02-2023 07:44 PM
The logs says:
Date : 11/01/2023
Time : 16:41:55
Type : Warning
Source : acvpnui
Description : Function: ProfileMgr::getProfileNameFromHost
File: c:\temp\build\thehoff\phoenix_mr60.978227566292\phoenix_mr6\vpn\api\profilemgr.cpp
Line: 1269
No profile available for host vpn.******.com.bo.
******************************************
Date : 11/01/2023
Time : 16:41:55
Type : Warning
Source : acvpnui
Description : Function: ConnectMgr::reloadPreferencesAfterUpdates
File: c:\temp\build\thehoff\phoenix_mr60.978227566292\phoenix_mr6\vpn\api\connectmgr.cpp
Line: 10888
Secure gateway (vpn.******.com.bo) was not found in profile .
******************************************
Date : 11/01/2023
Time : 16:41:55
Type : Information
Source : acvpnui
Description : Message type information sent to the user:
Connection attempt has failed
11-03-2023 12:27 AM
Thanks @alexsMendiabal,
Please check your anyonnect profile settings to ensure they match the server configuration, particularly the hostname and address of the secure gateway.
Review the anyconnect profile on the client side and verify that it contains the correct information. If you've made changes to the profile, try restarting the anyconnect client to apply the new settings.
11-03-2023 06:17 AM - edited 11-03-2023 06:26 AM
How can I check that? my anyconnect does not have a profile folder. or any profile configuration option. i have the anyconnect-win-4.10.05085-predeploy-k9 provided by my company.
As a side note I only have this problem with my VPS, when I connect with my laptop or any other desktop it connects normally.
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