ActiveSync randomly failing over LAN

Hi,

We randomly encounter ActiveSync issues with our Apple devices (iOS 8.4) over in-house LAN (wifi) only. When on cellular connection or external wifi all syncs well. I have obtained logs which to my untrained eye do seem to indicate issues, but I do not understand how to deal with any of this.

Below first two log entries between which I'd say something starts happening (55 and 56). Then from log entry 62 onwards stuff seems to have gone south.

Is there anyone who could direct us towards a solution?

-----------------
 Log Entry: 55
-----------------

RequestTime : 
07/22/2015 14:39:39

ServerName : 
EX

AssemblyVersion : 
15.00.0913.007

Identifier : 
5EF12508

RequestHeader : 
POST /Microsoft-Server-ActiveSync/Proxy/default.eas?User=henk&DeviceId=SS5H1QF17H30V0JRIDCO6P5K74&DeviceType=iPhone&Cmd=Ping HTTP/1.1
Content-Length: 0
Accept: */*
Accept-Encoding: gzip
Accept-Language: nl-nl
Authorization: ********
Host: ex.labojuice.local:444
User-Agent: Apple-iPhone7C2/1208.143
X-Forwarded-For: 192.168.175.45
X-Forwarded-Port: 63721
X-ExCompId: ClientAccessFrontEnd
MS-ASProtocolVersion: 14.1
X-MS-PolicyKey: 2383600984
X-MSExchangeActivityCtx: V=1.0.0.0;Id=7dc15d5a-b811-44c2-acca-ccae1a1e0e68;C=;P=
X-EAS-Proxy: S-1-5-21-3118489311-2514447813-1903331334-1243,LABOJUICE\henk
msExchProxyUri: https://mail.labojuice.com/Microsoft-Server-ActiveSync?User=henk&DeviceId=SS5H1QF17H30V0JRIDCO6P5K74&DeviceType=iPhone&Cmd=Ping
X-IsFromCafe: 1
X-SourceCafeServer: EX.LABOJUICE.LOCAL
X-CommonAccessToken: VgEAVAdXaW5kb3dzQwBBBUJhc2ljTA5MQUJPSlVJQ0VcaGVua1UuUy0xLTUtMjEtMzExODQ4OTMxMS0yNTE0NDQ3ODEzLTE5MDMzMzEzMzQtMTI0M0ccAAAABwAAAC1TLTEtNS0yMS0zMTE4NDg5MzExLTI1MTQ0NDc4MTMtMTkwMzMzMTMzNC01MTIHAAAAB1MtMS0xLTAHAAAAB1MtMS01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LTMxMTg0ODkzMTEtMjUxNDQ0NzgxMy0xOTAzMzMxMzM0LTQ2MTMHAAAALlMtMS01LTIxLTMxMTg0ODkzMTEtMjUxNDQ0NzgxMy0xOTAzMzMxMzM0LTQ3NDIHAAAALlMtMS01LTIxLTMxMTg0ODkzMTEtMjUxNDQ0NzgxMy0xOTAzMzMxMzM0LTQ3NDMHAAAALlMtMS01LTIxLTMxMTg0ODkzMTEtMjUxNDQ0NzgxMy0xOTAzMzMxMzM0LTI2NDEHAAAACFMtMS0xOC0xBwAAIC5TLTEtNS0yMS0zMTE4NDg5MzExLTI1MTQ0NDc4MTMtMTkwMzMzMTMzNC0yNjEwBwAAIC1TLTEtNS0yMS0zMTE4NDg5MzExLTI1MTQ0NDc4MTMtMTkwMzMzMTMzNC01NzIHAAAgLlMtMS01LTIxLTMxMTg0ODkzMTEtMjUxNDQ0NzgxMy0xOTAzMzMxMzM0LTE2MTBFAAAAAA==
X-vDirObjectId: c936a3e2-112c-436b-9ca1-5337f63686aa


RequestBody : 


AccessState : 
Allowed

AccessStateReason : 
Global

ResponseHeader : 
HTTP/1.1 200 OK
MS-Server-ActiveSync: 15.0


ResponseBody : 
<?xml version="1.0" encoding="utf-8" ?>
<Ping xmlns="Ping:">
	<Status>2</Status>
	<Folders>
		<Folder>26</Folder>
	</Folders>
</Ping>

ResponseTime : 
07/22/2015 14:39:39


-----------------
 Log Entry: 56
-----------------

RequestTime : 
07/22/2015 14:39:41

ServerName : 
EX

AssemblyVersion : 
15.00.0913.007

Identifier : 
689FA1B6

RequestHeader : 
POST /Microsoft-Server-ActiveSync/Proxy/default.eas?User=henk&DeviceId=SS5H1QF17H30V0JRIDCO6P5K74&DeviceType=iPhone&Cmd=Ping HTTP/1.1
Content-Length: 65
Content-Type: application/vnd.ms-sync.wbxml
Accept: */*
Accept-Encoding: gzip
Accept-Language: nl-nl
Authorization: ********
Host: ex.labojuice.local:444
User-Agent: Apple-iPhone7C2/1208.143
X-Forwarded-For: 192.168.175.45
X-Forwarded-Port: 63721
X-ExCompId: ClientAccessFrontEnd
MS-ASProtocolVersion: 14.1
X-MS-PolicyKey: 2383600984
X-MSExchangeActivityCtx: V=1.0.0.0;Id=87c17c33-c988-4cb3-8fe6-4a27679e2944;C=;P=
X-EAS-Proxy: S-1-5-21-3118489311-2514447813-1903331334-1243,LABOJUICE\henk
msExchProxyUri: https://mail.labojuice.com/Microsoft-Server-ActiveSync?User=henk&DeviceId=SS5H1QF17H30V0JRIDCO6P5K74&DeviceType=iPhone&Cmd=Ping
X-IsFromCafe: 1
X-SourceCafeServer: EX.LABOJUICE.LOCAL
X-CommonAccessToken: VgEAVAdXaW5kb3dzQwBBBUJhc2ljTA5MQUJPSlVJQ0VcaGVua1UuUy0xLTUtMjEtMzExODQ4OTMxMS0yNTE0NDQ3ODEzLTE5MDMzMzEzMzQtMTI0M0ccAAAABwAAAC1TLTEtNS0yMS0zMTE4NDg5MzExLTI1MTQ0NDc4MTMtMTkwMzMzMTMzNC01MTIHAAAAB1MtMS0xLTAHAAAAB1MtMS01LTIHAAAACFMtMS01LTExBwAAAAhTLTEtNS0xNQcAAMAUUy0xLTUtNS01LTM2MzEwNTYzODEHAAAALlMtMS01LTIxLTMxMTg0ODkzMTEtMjUxNDQ0NzgxMy0xOTAzMzMxMzM0LTQ2NjcHAAAALlMtMS01LTIxLTMxMTg0ODkzMTEtMjUxNDQ0NzgxMy0xOTAzMzMxMzM0LTI2MzMHAAAALlMtMS01LTIxLTMxMTg0ODkzMTEtMjUxNDQ0NzgxMy0xOTAzMzMxMzM0LTQ2MTIHAAAALlMtMS01LTIxLTMxMTg0ODkzMTEtMjUxNDQ0NzgxMy0xOTAzMzMxMzM0LTExMjEHAAAALlMtMS01LTIxLTMxMTg0ODkzMTEtMjUxNDQ0NzgxMy0xOTAzMzMxMzM0LTQ2MTQHAAAALlMtMS01LTIxLTMxMTg0ODkzMTEtMjUxNDQ0NzgxMy0xOTAzMzMxMzM0LTI2MzQHAAAALlMtMS01LTIxLT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irObjectId: c936a3e2-112c-436b-9ca1-5337f63686aa


RequestBody : 
<?xml version="1.0" encoding="utf-8" ?>
<Ping xmlns="Ping:">
	<Folders>
		<Folder>
			<Id>1</Id>
			<Class>Calendar</Class>
		</Folder>
		<Folder>
			<Id>21</Id>
			<Class>Notes</Class>
		</Folder>
		<Folder>
			<Id>2</Id>
			<Class>Contacts</Class>
		</Folder>
	</Folders>
</Ping>

WasPending : 
[Response was pending]

ResponseHeader : 
HTTP/1.1 200 OK
MS-Server-ActiveSync: 15.0


ResponseBody : 
<?xml version="1.0" encoding="utf-8" ?>
<Ping xmlns="Ping:">
	<Status>7</Status>
</Ping>

ResponseTime : 
07/22/2015 14:40:01

Then finally we end up with entries like this:

-----------------
 Log Entry: 62
-----------------

RequestTime : 
07/22/2015 15:46:04

ServerName : 
EX

AssemblyVersion : 
15.00.0913.007

Identifier : 
28FF6BC7

RequestHeader : 
POST /Microsoft-Server-ActiveSync/Proxy/default.eas?User=henk&DeviceId=SS5H1QF17H30V0JRIDCO6P5K74&DeviceType=iPhone&Cmd=Ping HTTP/1.1
Content-Length: 0
Accept: */*
Accept-Encoding: gzip
Accept-Language: nl-nl
Authorization: ********
Host: ex.labojuice.local:444
User-Agent: Apple-iPhone7C2/1208.143
X-Forwarded-For: 192.168.175.45
X-Forwarded-Port: 63773
X-ExCompId: ClientAccessFrontEnd
MS-ASProtocolVersion: 14.1
X-MS-PolicyKey: 2383600984
X-MSExchangeActivityCtx: V=1.0.0.0;Id=5edd82d7-345e-46cd-8b20-8ce9278f6d1c;C=;P=
X-EAS-Proxy: S-1-5-21-3118489311-2514447813-1903331334-1243,LABOJUICE\henk
msExchProxyUri: https://mail.labojuice.com/Microsoft-Server-ActiveSync?User=henk&DeviceId=SS5H1QF17H30V0JRIDCO6P5K74&DeviceType=iPhone&Cmd=Ping
X-IsFromCafe: 1
X-SourceCafeServer: EX.LABOJUICE.LOCAL
X-CommonAccessToken: VgEAVAdXaW5kb3dzQwBBBUJhc2ljTA5M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DQ0NzgxMy0xOTAzMzMxMzM0LTQ3NDEHAAAALlMtMS01LTIxLTMxMTg0ODkzMTEtMjUxNDQ0NzgxMy0xOTAzMzMxMzM0LTI2NDMHAAAALlMtMS01LTIxLTMxMTg0ODkzMTEtMjUxNDQ0NzgxMy0xOTAzMzMxMzM0LTQ3NDQHAAAALlMtMS01LTIxLTMxMTg0ODkzMTEtMjUxNDQ0NzgxMy0xOTAzMzMxMzM0LTQ2MTMHAAAALlMtMS01LTIxLTMxMTg0ODkzMTEtMjUxNDQ0NzgxMy0xOTAzMzMxMzM0LTQ3NDIHAAAALlMtMS01LTIxLTMxMTg0ODkzMTEtMjUxNDQ0NzgxMy0xOTAzMzMxMzM0LTQ3NDMHAAAALlMtMS01LTIxLTMxMTg0ODkzMTEtMjUxNDQ0NzgxMy0xOTAzMzMxMzM0LTI2NDEHAAAACFMtMS0xOC0xBwAAIC5TLTEtNS0yMS0zMTE4NDg5MzExLTI1MTQ0NDc4MTMtMTkwMzMzMTMzNC0yNjEwBwAAIC1TLTEtNS0yMS0zMTE4NDg5MzExLTI1MTQ0NDc4MTMtMTkwMzMzMTMzNC01NzIHAAAgLlMtMS01LTIxLTMxMTg0ODkzMTEtMjUxNDQ0NzgxMy0xOTAzMzMxMzM0LTE2MTBFAAAAAA==
X-vDirObjectId: c936a3e2-112c-436b-9ca1-5337f63686aa


RequestBody : 

July 22nd, 2015 10:25am

Hey There,

This is a  DNS resolution issue. If your Exchange server has only an external server address and if it does not have an internal name resolution this issue is very common.

Hence during cellular network everything is great because its resolving your external server address.

Try changing the mail server address to the Exchange server name instead of its address and connect via wifi. If you get mail flow DNS is your issue.
Free Windows Admin Tool Kit Click here and download it now
August 11th, 2015 11:20am

Thanks Sathish, but our server does have an internal name resolution which resolves fine. As the logs show, mail will sometimes even sync fine for some time and then only break down after a short while. Is there anything else we could perhaps do or check?
September 1st, 2015 6:33am

Hi,

Does your wifi lan uses same dns as other Wired Lan which are resolving the Exchange servers. Then the mobile devices will connect to the internal url of EX servers when connected through wifi lan.

When disconnected or used cellular network, traffic comes from internet to your ex servers.

Regards

Vishwanath


Free Windows Admin Tool Kit Click here and download it now
September 1st, 2015 8:26am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics