Exchange ActiveSync heartbeat intervals

activesyncexchange-2007

I have two Exchange 2007 servers, one (exch1) in Transport Hub, Mailbox, and Client Access roles and the other (owa1) in the Client Access role. owa1 is exposed to the world on port 443 for external access.

owa1 is logging the following errors several times a day:

Aug 5 21:01:07 owa1 ActiveSync: 1040: The average of the most recent [526] heartbeat intervals used by clients is less than or equal to [540]. Make sure that your firewall configuration is set to work correctly with Exchange ActiveSync and Direct Push technology. Specifically, make sure that your firewall is configured so that requests to Exchange ActiveSync do not expire before they have the opportunity to be processed. For more information about how to configure firewall settings when you use Exchange ActiveSync, see Microsoft Knowledge Base article 905013, "Enterprise Firewall Configuration for Exchange ActiveSync Direct Push Technology" (http://go.microsoft.com/fwlink/?linkid=3052&kbid=905013).

There are no accompanying explanatory log messages.

Most of the documentation I've found on this refers to firewall timeouts. My firewall is an OpenBSD box using the default tcp.established timeout of 86400 seconds (24 hours), so I don't think this is a problem. There is no host-based firewall.

There are a lot of iPhones and Palm devices in the organization, including mine, and I have yet to get a complaint that seems to relate to this.

Can anybody shed any light on this?

Best Answer

There is some specific information on the components involved and what is being reported by this error in this technet article. Given that you are certain your own firewalls are not enforcing the session timeouts it is pretty clear that the most likely culprit is the Cellular provider.

The primary effect that this will have is poorer battery life for users with relatively low mail volumes, for high volume users the mail downloads dominate the power consumption so power users tend not to notice these problems as much as those who only get infrequent mail. The article indicates that it will lead to missed push notifications - what will happen is that notifications that happen during the timeout period will not result in a push and mail will only arrive after the client realizes that the heartbeat has been lost and reconnects. At least some of your users should be seeing some mails being delayed. The delays should never exceed 30 minutes and correctly functioning device should then reduce the sleep interval until they find a session duration that is sustainable.

Also note that the this is an average number - many (even most) of your users may be perfectly fine and the reduced average may be caused by an issue affecting a minority of users.

Related Topic