AnyConnect Autoreconnect ReconnectOnResume dosen't work

Hello! I have an issue with anyconnect and computers hibernating. I'm in the process of migrating a customer from ipsec to anyconnect. We want to make the VPN connection as seamless as possible but without enabling always-on. For now we just want an one-to-one switch with ipsec and anyconnect.
Always-on will probably be implemented later after some testing and validation. Now to my issue: I have been trying to make our computers reconnect after hibernation without the need to re-authenticate but I can't seem to get it to work. We are using anyconnect version 3.1.04066 and using ipsec (ikev2) as the connection protocol. In our anyconnect profile I have enabled Auto Reconnect and set it to ReconnectOnResume. Se profile below. I'm currently not pushing any configuration from the ASA. It's strange cause after hibernate I get the following error even though ReconnectOnResume is configured: "The VPN connection has been disconnected due to the system suspending. The reconnect capability is disabled. A new connection is necessary, which requires re-authentication" Can I get some help troubleshooting this.
XML profile (company name removed):
<?xml version="1.0" encoding="UTF-8"?>
<AnyConnectProfile xmlns="http://schemas.xmlsoap.org/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.xmlsoap.org/encoding/ AnyConnectProfile.xsd">
<ClientInitialization>
<UseStartBeforeLogon UserControllable="false">false</UseStartBeforeLogon>
<AutomaticCertSelection UserControllable="false">true</AutomaticCertSelection>
<ShowPreConnectMessage>false</ShowPreConnectMessage>
<CertificateStore>Machine</CertificateStore>
<CertificateStoreOverride>true</CertificateStoreOverride>
<ProxySettings>IgnoreProxy</ProxySettings>
<AllowLocalProxyConnections>true</AllowLocalProxyConnections>
<AuthenticationTimeout>12</AuthenticationTimeout>
<AutoConnectOnStart UserControllable="false">true</AutoConnectOnStart>
<MinimizeOnConnect UserControllable="true">true</MinimizeOnConnect>
<LocalLanAccess UserControllable="false">false</LocalLanAccess>
<ClearSmartcardPin UserControllable="false">true</ClearSmartcardPin>
<IPProtocolSupport>IPv4,IPv6</IPProtocolSupport>
<AutoReconnect UserControllable="false">true
<AutoReconnectBehavior UserControllable="false">ReconnectAfterResume</AutoReconnectBehavior>
</AutoReconnect>
<AutoUpdate UserControllable="false">false</AutoUpdate>
<RSASecurIDIntegration UserControllable="false">Automatic</RSASecurIDIntegration>
<WindowsLogonEnforcement>SingleLocalLogon</WindowsLogonEnforcement>
<WindowsVPNEstablishment>LocalUsersOnly</WindowsVPNEstablishment>
<AutomaticVPNPolicy>true
<TrustedDNSDomains><company>.org,<company>.org</TrustedDNSDomains>
<TrustedDNSServers>10.80.255.205,10.80.255.206,10.80.255.207</TrustedDNSServers>
<TrustedNetworkPolicy>Disconnect</TrustedNetworkPolicy>
<UntrustedNetworkPolicy>Connect</UntrustedNetworkPolicy>
<AlwaysOn>true
<ConnectFailurePolicy>Closed
<AllowCaptivePortalRemediation>true
<CaptivePortalRemediationTimeout>7</CaptivePortalRemediationTimeout>
</AllowCaptivePortalRemediation>
<ApplyLastVPNLocalResourceRules>true</ApplyLastVPNLocalResourceRules>
</ConnectFailurePolicy>
<AllowVPNDisconnect>true</AllowVPNDisconnect>
</AlwaysOn>
</AutomaticVPNPolicy>
<PPPExclusion UserControllable="false">Disable
<PPPExclusionServerIP UserControllable="false"></PPPExclusionServerIP>
</PPPExclusion>
<EnableScripting UserControllable="false">false</EnableScripting>
<CertificateMatch>
<KeyUsage>
<MatchKey>Key_Encipherment</MatchKey>
<MatchKey>Digital_Signature</MatchKey>
</KeyUsage>
<DistinguishedName>
<DistinguishedNameDefinition Operator="Equal" Wildcard="Enabled" MatchCase="Enabled">
<Name>ISSUER-CN</Name>
<Pattern><company> Issuing CA v1</Pattern>
</DistinguishedNameDefinition>
</DistinguishedName>
</CertificateMatch>
<EnableAutomaticServerSelection UserControllable="false">false
<AutoServerSelectionImprovement>20</AutoServerSelectionImprovement>
<AutoServerSelectionSuspendTime>4</AutoServerSelectionSuspendTime>
</EnableAutomaticServerSelection>
<RetainVpnOnLogoff>true
<UserEnforcement>SameUserOnly</UserEnforcement>
</RetainVpnOnLogoff>
</ClientInitialization>
<ServerList>
<HostEntry>
<HostName>test.<company>.com</HostName>
<HostAddress>test.<company>.com</HostAddress>
<UserGroup>anyc-tunnel-v1.0</UserGroup>
<MobileHostEntryInfo>
<NetworkRoaming>true</NetworkRoaming>
<CertificatePolicy>Auto</CertificatePolicy>
<ConnectOnDemand>false</ConnectOnDemand>
<ActivateOnImport>false</ActivateOnImport>
</MobileHostEntryInfo>
<PrimaryProtocol>IPsec</PrimaryProtocol>
</HostEntry>
</ServerList>
</AnyConnectProfile>

I am glad to know that it is working now. Thank you for confirming that my suggestion that the profile needed to be specified in the configuration of the ASA. I am not authoritative on how it works but my interpretation is that since there can be multiple profiles in the directory of the PC that the ASA must indicate to the client when the connection is established which profile is to be used. For example I use AnyConnect to connect to multiple ASAs for multiple customers and have multiple profiles in the directory of my PC. When I establish a connection how will my AnyConnect client know which profile to use for this connection?
So when you deploy the profile in the way that was intended it works and when you deploy in a different way it does not work.
HTH
Rick

Similar Messages

  • Gif imagen dosen't work at o.s 6.0

    The gif imagen in profile bbmsn contactas dosen't work in my torch 9800 os 6.0 all my friends that have got the os 6.0 have goy the same proble, i wanna know if there are or when is coming a update to solution this problem

    Hi,
    the problem whit NI 9223 module and the example that you talk about is know. Indeed, there is a CAR - Corrective Action Request - #30724 that deals with the erroneous implementation of the example.
    To improve the code, the owner of CAR, suggest:
    Added pipelining loops and removed from FPGA VI to Increase maximum acquisition rate and modified host VI to implement proper DMA FIFO programming practices.
    I try to implement and improve the code. Bye
    Mario

  • UBLR dosen´t work in an interfaces trunk?

    I´m configuring Aggregate policer in a Sup720-3B, I need to configure Aggregate Policer in a Trunk interfaces, It´s required to limit the bandwidth for vlan to L2 through an interface trunk, between two catalyst.  But it´s dosen´t work. The configuration that I am using is:
    S6509#run int giga 3/2
    Building configuration...
    Current configuration : 167 bytes
    interface GigabitEthernet3/2
    switchport
    switchport trunk encapsulation dot1q
    switchport mode trunk
    no ip address
    service-policy input LIMIT
    end
    S6509#
    S6509#show ip access-lists TRAFFIC
    Extended IP access list TRAFFIC
    10 permit ip any any
    S6509#
    S6509#show class-map Daniel
    Class Map match-all Daniel (id 1)
    Match access-group name TRAFFIC
    S6509#
    S6509#
    S6509#show policy
    S6509#show policy-map
    Policy Map LIMIT
    Class Daniel
    police flow mask src-only 2000000 200000 conform-action transmit exceed-action drop
    S6509#
    S6509#
    hostname S6509
    boot system flash disk1:s72033-advipservicesk9_wan-mz.122-18.SXF14.bin
    logging buffered 32768 debugging
    logging rate-limit all 1000
    enable secret 5 $1$Oewp$4FbojEBx0Nn.sXO1ZzhIj/
    class-map match-all Daniel
    match access-group name TRAFFIC
    policy-map LIMIT
    class Daniel
    police flow mask src-only 2000000 200000 conform-action transmit exceed-action drop
    S6509#show mls qos
    QoS is enabled globally
    Policy marking depends on port_trust
    QoS ip packet dscp rewrite enabled globally
    Input mode for GRE Tunnel is Pipe mode
    Input mode for MPLS is Pipe mode
    QoS Trust state is DSCP on the following interface
    Gi3/4
    Vlan or Portchannel(Multi-Earl) policies supported: Yes
    Egress policies supported: Yes
    ----- Module [5] -----
    QoS global counters:
    Total packets: 233
    IP shortcut packets: 0
    Packets dropped by policing: 0
    IP packets with TOS changed by policing: 0
    IP packets with COS changed by policing: 0
    Non-IP packets with COS changed by policing: 0
    MPLS packets with EXP changed by policing: 0
    S6509#
    S6509#
    S6509#show policy-map interface gigabitEthernet 3/2
    GigabitEthernet3/2
    Service-policy input: LIMIT
    Class-map: Daniel (match-all)
    0 packets, 0 bytes
    5 minute offered rate 0 bps, drop rate 0 bps
    Match: access-group name TRAFFIC
    Class-map: class-default (match-any)
    0 packets, 0 bytes
    5 minute offered rate 0 bps, drop rate 0 bps
    Match: any
    S6509#

    Contact the wireless carrier to which the iPhone is locked and
    ask that carrier if they provide unlocking and if you qualify.
    What is the exact wording of any error message you receive?

  • LoadingSecondFile - Dosen't work

    loadMovie() loads SWFs into _root.mc1.mc2, and I use the below method to be able to identify the selected movieclip. It works when I load the first SWF but when the second SWF is been loaded it dosen't work. What may be the cause for this.
    I tried unloadMovie() and removeMovieClip() to clear the movieclip before loading the new file, but no success.
    function traceName():Void {
         trace(this._name);
    for (i=0; i<5; i++) {
        _root.mc1.mc2["color"+i].onRelease = traceName;

    Thanks Ned. But I've got an array named mc
    var mc:Array = [mc1, mc2, mc3];
    I'm loading the below code as an external swf as well. Could that be causing this issue?
    function traceName():Void {
         trace(this._name);
    for (i=0; i<5; i++) {
        _root.mc1.mc2["color"+i].onRelease = traceName;

  • In I tunes I cant down load a CD.  I get the message "The file couldn't be convereted.  You don't have write access for you ITunes media folder or a folder with in it. To change permissions, ...  When I do this it still dosen't work

    In I tunes I can't down load a CD.  I get the message "The file couldn't be convereted.  You don't have write access for you ITunes media folder or a folder with in it. To change permissions, ...  When I do this it still dosen't work.

    Thanks C F McBlob but I recursively changed the permissions of my Music directory meaning every file and directory beneath it, as well as the directory itself, had the write permissions added.
    I used "chmod -R u+w ./Music" and chmod -R g+w ./Music" to do it.
    Alas, no cigar. :-(

  • When try to connect my iPod touch 4th gen to my house Wifi it won't connect, it used to work fine but now it dosen't work, but it does say that the internet is available, but when I tap on it it just loads. all other devices work fine.

    When try to connect my iPod touch 4th gen to my house Wifi it won't connect, it used to work fine but now it dosen't work, but it does say that the internet is available, but when I tap on it it just loads. all other devices work fine.

    Does the iOS device connect to other networks? If yes that tend to indicate a problem with your network.
    Does the iOS device see the network?
    Any error messages?
    Do other devices now connect?
    Did the iOS device connect before?
    Try the following to rule out a software problem:                
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on your router
    .- Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - Wi-Fi: Unable to connect to an 802.11n Wi-Fi network      
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem and it does not connect to any networks make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar

  • Apache in testing dosen't work

    i install apache mysql and php in testing repo.
    but apache dosen't work.
    $ sudo /etc/rc.d/httpd start
    :: Starting HTTP Daemon                                                  [FAIL]
    $ sudo /usr/sbin/apachectl start
    httpd: Syntax error on line 232 of /etc/httpd/conf/httpd.conf: Cannot load /usr/lib/apache/mod_access.so into server: /usr/lib/apache/mod_access.so: cannot open shared object file: No such file or directory
    there is not mod_access.so. hwo to run appache daemon?
    $ pacman -Ql apache | grep /usr/lib/apache/mod
    apache /usr/lib/apache/mod_actions.so
    apache /usr/lib/apache/mod_alias.so
    apache /usr/lib/apache/mod_asis.so
    apache /usr/lib/apache/mod_auth_basic.so
    apache /usr/lib/apache/mod_auth_digest.so
    apache /usr/lib/apache/mod_authn_anon.so
    apache /usr/lib/apache/mod_authn_dbd.so
    apache /usr/lib/apache/mod_authn_dbm.so
    apache /usr/lib/apache/mod_authn_default.so
    apache /usr/lib/apache/mod_authn_file.so
    apache /usr/lib/apache/mod_authz_dbm.so
    apache /usr/lib/apache/mod_authz_default.so
    apache /usr/lib/apache/mod_authz_groupfile.so
    apache /usr/lib/apache/mod_authz_host.so
    apache /usr/lib/apache/mod_authz_owner.so
    apache /usr/lib/apache/mod_authz_user.so
    apache /usr/lib/apache/mod_autoindex.so
    apache /usr/lib/apache/mod_cern_meta.so
    apache /usr/lib/apache/mod_cgi.so
    apache /usr/lib/apache/mod_dav.so
    apache /usr/lib/apache/mod_dav_fs.so
    apache /usr/lib/apache/mod_dbd.so
    apache /usr/lib/apache/mod_deflate.so
    apache /usr/lib/apache/mod_dir.so
    apache /usr/lib/apache/mod_dumpio.so
    apache /usr/lib/apache/mod_env.so
    apache /usr/lib/apache/mod_expires.so
    apache /usr/lib/apache/mod_ext_filter.so
    apache /usr/lib/apache/mod_filter.so
    apache /usr/lib/apache/mod_headers.so
    apache /usr/lib/apache/mod_ident.so
    apache /usr/lib/apache/mod_imagemap.so
    apache /usr/lib/apache/mod_include.so
    apache /usr/lib/apache/mod_info.so
    apache /usr/lib/apache/mod_log_config.so
    apache /usr/lib/apache/mod_log_forensic.so
    apache /usr/lib/apache/mod_logio.so
    apache /usr/lib/apache/mod_mime.so
    apache /usr/lib/apache/mod_mime_magic.so
    apache /usr/lib/apache/mod_negotiation.so
    apache /usr/lib/apache/mod_proxy.so
    apache /usr/lib/apache/mod_proxy_ajp.so
    apache /usr/lib/apache/mod_proxy_balancer.so
    apache /usr/lib/apache/mod_proxy_connect.so
    apache /usr/lib/apache/mod_proxy_ftp.so
    apache /usr/lib/apache/mod_proxy_http.so
    apache /usr/lib/apache/mod_rewrite.so
    apache /usr/lib/apache/mod_setenvif.so
    apache /usr/lib/apache/mod_speling.so
    apache /usr/lib/apache/mod_ssl.so
    apache /usr/lib/apache/mod_status.so
    apache /usr/lib/apache/mod_suexec.so
    apache /usr/lib/apache/mod_unique_id.so
    apache /usr/lib/apache/mod_userdir.so
    apache /usr/lib/apache/mod_usertrack.so
    apache /usr/lib/apache/mod_version.so
    apache /usr/lib/apache/mod_vhost_alias.so

    A bunch of modules have changed for apache 2.2 and got new names etc, therefore you have to edit httpd.conf, take look at http://httpd.apache.org/docs/2.2/new_features_2_2.html. For example, mod_access is now called mod_authz_host (with the new identifier authz_host_module, instead of access_module)

  • My password dosen't work in app store either game center !!

    My password dosen't work in app store either game center , what is the problem?

    Based on the numerous posts regarding iTunes and the App Store, there appears to be an issue at Apple's end. Apple has finally posted an update on the iCloud status page. https://www.apple.com/support/systemstatus/
    Do not change your settings.

  • AppStore dosen't work in iOS 6

    Since I updated to iOS 6, AppStore dosen't work properly.
    When I tap on the Purchased tab, it load forever!
    Everything else works.
    Does anybody have the same issue?
    Any Fix??

    The following procedure partialy solved my problem.
    Turn off Genius (Settings --> iTunes Store & App Store --> Apple ID --> Show Apple ID --> Turn Off Genius for Apps), quit the App Store (quick double klick Home button --> press &hold App Store --> tap "-"), turn Genius on, open the App Store.
    After this procedure Featured, Charts and Genius started to work.
    BUT  Search STILL doesn't work :-(
    good luck !

  • TEXTAREA in JSP dosen't work

    TEXTAREA in JSP dosen't wrap to next line and I use the following syntax.
    <input type='textarea' name='code' rows='2' cols='30' style='width: 180px;height:30px'>
    when I type it keep wraping in the first line and dosen't go to 2nd line at all.

    The same syntax, I tried in a seperate html file it works.
    <input type='textarea' name='code' rows='2' cols='30' style='width: 180px;height:30px'>
    But, it dosen't work in my jsp? If I use your syntax in my JSP, still not working?

  • My computer broke, so I had to change the hardisk(?). Now iTunes dosen't work anymore. It says that the program is either lockes, on a locked unit or I don't have the right to open the library? Help please? :)

    My computer broke, so I had to change the hardrive-hardisk(?). Now iTunes dosen't work anymore. It says that the program is either locked, is on a locked unit or I don't have the right to open the library? Help please?

    Sometimes a restart can fix this issue, but sometimes you have to fix the iTunes Library.itl file.
    Try quitting iTunes, renaming the itunes file "iTunes Library.itl" to "iTunes Library Old.itl"
    then open itunes again
    This should generate a new library file.
    From this point you can try two different avenues.
    1. Re-add everything to your library by going to the iTunes file menu, and selecting "add to library"
    2. You can try deleting the iTunes Library.itl you created, changing the name of the old file back to iTunes Library.itl
    I hope this helps. I did something like this a while back and it worked for me.

  • I just finished dowloading the new osx upadte and my iphoto program dosen't work anymore

    i just finished dowloading the new osx upadte and my iphoto program dosen't work anymore

    Most likely you have Office 2004 which are PPC-only applications and will not work in Lion. Upgrade to Office 2011. Other alternatives are:
    Apple's iWork suite (Pages, Numbers, and Keynote.)
    Open Office (Office 2007-like suite compatible with OS X.)
    NeoOffice (similar to Open Office.)
    LibreOffice (a new direction for the Open Office suite.)

  • MacBook Pro Microphone dosen't work!

    Internal Microphone dosen't work suddenly. Please help me!

    Your appointment at the genius bar for an evaluation is FREE, in warranty or out. These guys put their hands on these computers all day every day, and they are good at physical problems like this one.

  • Hi i need help one of my key on the keyboard dosen't work for some reason please help

    hi i need help one of my key on the keyboard dosen't work for some reason please help

    try smc reset
    http://support.apple.com/kb/ht3964
    and Pram reset
    http://support.apple.com/kb/ht1379
    (Try pram a few times to get correct sequence)
    Check what you have selected in
    system preferences/system/accessibility/keyboard
    and system preferences/hardware/keyboard  (keyboard and keyboard short cuts tabs)

  • What is the use of the no disturb funtion? It dosen't work at all!!

    what is the use of the no disturb funtion? It dosen't work at all!!

    That function actually works. You can test it for yourself. Go to Settings->Turn on Do Not Disturb
    then lock the phone (it only works with the phone locked). If you go to Settings->Notifications->Do Not Disturb
    you can configure some other things.
    While Do Not Disturb is ON you will not be bothered with notifications, sounds or neither the screen lights up when receiving either calls, messages or other notifications.
    Try it and see if this works for you

Maybe you are looking for

  • Help with text messages and calls--urgent and annoying :-/

    Hello: I have an 8350i on the Sprint/Nextel network. Latest issues include what seems to be a dump of my text messages--yesterday received a batch at 5:38pm that had been sent at 9:49am, 10am, 11:27am, noon, 2pm, 2:15pm and then another batch last ni

  • Hello I want to buy your iphone5 S of the U.S. site, but I want to use it in Saudi Arabia what is best option

    Hello I want to buy your iphone5 S of the U.S. site, but I want to use it in Saudi Arabia what is best option

  • Sort by EXIF Date/Time

    Would be nice to be able to srt by EXIF Date Time Original or EXIF Date Time Digitized. The existing file based Date Time Create or Date Time Modified may not be accurate. Some of our events (like a wedding) have photographs taken from a number of ph

  • F110 Multiple Email Recipients

    I am working on customizing SAMPLE_PROCESS_00002040 in order for transaction F110 to send email notifications to more than one recipient. As of now, the process will send an email to one recipient. However, i've tried concatenating an additional emai

  • Essbase Maxl Variable Export

    Is there a way to make a text file name variable when doing an export from Essbase Via Maxl? So in the example below I would set VARIABLE somewhere to be Jan or Feb or Mar? export database 'NS115'.'GL_11510' using server report_file 'FPA_Asst' to dat