Ping-Sync loop ?I have a strange problem with a couple of users. <br/>When they are in push mode, the ping command returns immediately with a status of 2 for their Inbox (not sure if other folders have the problem).<br/>When the subsequent sync is issued for that folder, it returns a status of 1 and the same sync key.<br/>THis causes the direct push implementation to go into a loop, getting triggered continuously.<br/><br/>If we reset the synckey to 0 and start all over again, it seems to behave normally. <br/><br/>Any ideas on what could be causing this? Is this server related or something wrong with the implementation?<br/>thanks!<br/><br/>Goutham S© 2009 Microsoft Corporation. All rights reserved.Fri, 10 Jul 2009 22:04:12 Zf2236bde-9fb3-4535-8165-ddeba9b475f9http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/f2236bde-9fb3-4535-8165-ddeba9b475f9#f2236bde-9fb3-4535-8165-ddeba9b475f9http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/f2236bde-9fb3-4535-8165-ddeba9b475f9#f2236bde-9fb3-4535-8165-ddeba9b475f9gsukumarhttp://social.msdn.microsoft.com/Profile/en-US/?user=gsukumarPing-Sync loop ?I have a strange problem with a couple of users. <br/>When they are in push mode, the ping command returns immediately with a status of 2 for their Inbox (not sure if other folders have the problem).<br/>When the subsequent sync is issued for that folder, it returns a status of 1 and the same sync key.<br/>THis causes the direct push implementation to go into a loop, getting triggered continuously.<br/><br/>If we reset the synckey to 0 and start all over again, it seems to behave normally. <br/><br/>Any ideas on what could be causing this? Is this server related or something wrong with the implementation?<br/>thanks!<br/><br/>Goutham SWed, 15 Apr 2009 18:31:23 Z2009-04-15T18:31:23Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/f2236bde-9fb3-4535-8165-ddeba9b475f9#f01add56-590e-4c97-8b6c-1d464963a03dhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/f2236bde-9fb3-4535-8165-ddeba9b475f9#f01add56-590e-4c97-8b6c-1d464963a03dObaid Farooqihttp://social.msdn.microsoft.com/Profile/en-US/?user=Obaid%20FarooqiPing-Sync loop ?Hi Gouthem:<br/>I have alerted the Protocol Documentation Team about your question. A member of the team will be in touch soon.<hr class="sig">Regards, Obaid FarooqiWed, 15 Apr 2009 20:34:45 Z2009-04-15T20:34:45Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/f2236bde-9fb3-4535-8165-ddeba9b475f9#8f7fa88b-07e8-4f74-bd08-efd94f11b2c5http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/f2236bde-9fb3-4535-8165-ddeba9b475f9#8f7fa88b-07e8-4f74-bd08-efd94f11b2c5gsukumarhttp://social.msdn.microsoft.com/Profile/en-US/?user=gsukumarPing-Sync loop ?<p>Thanks Obaid,<br/>For your reference, the following is how it proceeds, and this repeats forever<br/><br/><br/>4/15/09 9:57 AM:[1238]:ActiveSync Waiting ..<br/>4/15/09 9:57 AM:[1238]:Making request to (NO AUTH) :https://*******.********.***/Microsoft-Server-ActiveSync?User=joel%40********.***&amp;Cmd=Ping&amp;DeviceId=XXXX&amp;DeviceType=Android<br/>4/15/09 9:57 AM:[1238]:Request returned :HTTP/1.1 200 OK<br/>4/15/09 9:57 AM:[1238]:Response :56 bytes<br/>4/15/09 9:57 AM:[1238]:Processing PING response:Ping/Status=2<br/>4/15/09 9:57 AM:[1238]:Processing PING response:Ping/Folders/Folder=c09191c9f0760c4c8c2a2064c5ec3541-286c<br/>4/15/09 9:57 AM:[1238]:Found change. Wait time was 0 secs<br/>4/15/09 9:57 AM:[1238]:Making request to (NO AUTH) :https://*******.********.***/Microsoft-Server-ActiveSync?User=joel%40********.***&amp;Cmd=Sync&amp;DeviceId=XXXX&amp;DeviceType=Android<br/>4/15/09 9:57 AM:[1238]:Request returned :HTTP/1.1 200 OK<br/>4/15/09 9:57 AM:[1238]:Response :110 bytes<br/>4/15/09 9:57 AM:[1238]:Processing response:Sync/Collections/Collection/Class=Email<br/>4/15/09 9:57 AM:[1238]:Processing response:Sync/Collections/Collection/SyncKey={62D121D2-13B8-4708-BD6F-ED1E5EE88A24}218<br/>4/15/09 9:57 AM:[1238]:Processing response:Sync/Collections/Collection/CollectionId=c09191c9f0760c4c8c2a2064c5ec3541-286c<br/>4/15/09 9:57 AM:[1238]:Processing response:Sync/Collections/Collection/Status=1</p> <p>4/15/09 9:57 AM:[1238]:ActiveSync Waiting ..<br/>4/15/09 9:57 AM:[1238]:Making request to (NO AUTH) :https://*******.********.***/Microsoft-Server-ActiveSync?User=joel%40********.***&amp;Cmd=Ping&amp;DeviceId=XXXX&amp;DeviceType=Android<br/>4/15/09 9:57 AM:[1238]:Request returned :HTTP/1.1 200 OK<br/>4/15/09 9:57 AM:[1238]:Response :56 bytes<br/>4/15/09 9:57 AM:[1238]:Processing PING response:Ping/Status=2<br/>4/15/09 9:57 AM:[1238]:Processing PING response:Ping/Folders/Folder=c09191c9f0760c4c8c2a2064c5ec3541-286c<br/>4/15/09 9:57 AM:[1238]:Found change. Wait time was 0 secs<br/>4/15/09 9:57 AM:[1238]:Making request to (NO AUTH) :https://*******.********.***/Microsoft-Server-ActiveSync?User=joel%40********.***&amp;Cmd=Sync&amp;DeviceId=XXXX&amp;DeviceType=Android<br/>4/15/09 9:57 AM:[1238]:Request returned :HTTP/1.1 200 OK<br/>4/15/09 9:57 AM:[1238]:Response :110 bytes<br/>4/15/09 9:57 AM:[1238]:Processing response:Sync/Collections/Collection/Class=Email<br/>4/15/09 9:57 AM:[1238]:Processing response:Sync/Collections/Collection/SyncKey={62D121D2-13B8-4708-BD6F-ED1E5EE88A24}218<br/>4/15/09 9:57 AM:[1238]:Processing response:Sync/Collections/Collection/CollectionId=c09191c9f0760c4c8c2a2064c5ec3541-286c<br/>4/15/09 9:57 AM:[1238]:Processing response:Sync/Collections/Collection/Status=1<br/><br/>regards<br/>Goutham S</p>Wed, 15 Apr 2009 21:06:30 Z2009-04-15T21:06:30Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/f2236bde-9fb3-4535-8165-ddeba9b475f9#e449e3e2-5320-4c6f-a160-5eea8a00b728http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/f2236bde-9fb3-4535-8165-ddeba9b475f9#e449e3e2-5320-4c6f-a160-5eea8a00b728Dominic Salemno MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Dominic%20Salemno%20MSFTPing-Sync loop ?Goutham,<br/><br/>I am the engineer who has taken ownership of your issue. I am investigating this and will update you as things progress.<br/><br/><strong>Dominic Salemno<br/>Senior Support Escalation Engineer<br/></strong>Thu, 16 Apr 2009 14:11:39 Z2009-04-16T14:11:39Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/f2236bde-9fb3-4535-8165-ddeba9b475f9#b371ad66-dc93-4b20-929a-8b16ade03038http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/f2236bde-9fb3-4535-8165-ddeba9b475f9#b371ad66-dc93-4b20-929a-8b16ade03038gsukumarhttp://social.msdn.microsoft.com/Profile/en-US/?user=gsukumarPing-Sync loop ?Any ideas yet ?Thu, 23 Apr 2009 15:06:33 Z2009-04-23T15:06:33Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/f2236bde-9fb3-4535-8165-ddeba9b475f9#ce243969-9a2c-485c-aaa1-7941b5898ba8http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/f2236bde-9fb3-4535-8165-ddeba9b475f9#ce243969-9a2c-485c-aaa1-7941b5898ba8Dominic Salemno MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Dominic%20Salemno%20MSFTPing-Sync loop ?<p>Goutham,<br/><br/>I am still investigating this issue, I will follow-up with you shortly in regards to this issue.<br/><br/><strong>Dominic Salemno<br/>Senior Support Escalation Engineer<br/></strong></p>Mon, 27 Apr 2009 18:02:38 Z2009-04-27T18:02:38Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/f2236bde-9fb3-4535-8165-ddeba9b475f9#c7abbcbe-78d4-4d85-bea3-a8f02f6b2390http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/f2236bde-9fb3-4535-8165-ddeba9b475f9#c7abbcbe-78d4-4d85-bea3-a8f02f6b2390Dominic Salemno MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Dominic%20Salemno%20MSFTPing-Sync loop ?<p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small">Goutham,</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small">This seems like normal behavior. Please review <em>Section 2.2.1.13</em> of the <strong>[MS-ASCMD].pdf</strong> document that explains the <strong>Ping</strong> command (</span><a href="http://msdn.microsoft.com/en-us/library/dd299441.aspx"><span style="font-family:Calibri;font-size:small">http://msdn.microsoft.com/en-us/library/dd299441.aspx</span></a><span style="font-family:Calibri;font-size:small">). Essentially, the <strong>Ping</strong> command is used to monitor changes against specified folders on the server.</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small">What you are experiencing appears to be a heartbeat interval explained in the same section of the documentation: </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small">A <strong>Ping</strong> response status of 2 indicates that changes have occurred in at least one of the folders that were being monitored. The response will indicate which of these folders in which the changes have occurred.</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small">A <strong>Ping</strong> response status of 1 indicates that the heartbeat interval has expired before any changes have occurred, and that the client should reissue the <strong>Ping</strong> command.</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small">The heartbeat interval will be implementation specific as this is specified by the client.</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small">Does this answer your question?</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><strong><span style="font-family:Calibri;font-size:small"> </span></strong></p> <p class=MsoNormal style="margin:0in 0in 0pt"><strong><span style="font-size:small"><span style="font-family:Calibri">Dominic Salemno<br/>Seniort Support Escalation Engineer</span></span></strong></p>Mon, 27 Apr 2009 21:27:57 Z2009-04-27T21:27:57Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/f2236bde-9fb3-4535-8165-ddeba9b475f9#61a96e4a-1ae3-4b8c-87e8-00d5a08af547http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/f2236bde-9fb3-4535-8165-ddeba9b475f9#61a96e4a-1ae3-4b8c-87e8-00d5a08af547gsukumarhttp://social.msdn.microsoft.com/Profile/en-US/?user=gsukumarPing-Sync loop ?Dominic,<br/>thanks for following up :<br/>Not sure if you got my problem completely. as you mentioned, ping status of 2 should mean there are changes to the folder (note i am getting PING status 2 and not 1)<br/>What happens here is a PING status of 2, then i issue a sync for the folder which has been triggered, and the sync returns no changes (in reality there are no changes either).<br/>After the sync, i issue a PING command again, and it returns 2 immediately, and this goes on in a loop. I dont see how heartbeat comes into play, since i am not dealing with status 1 at all in the above log.<br/>Note, this does not happen to all users, just a subset of users.<br/><br/>regards<br/>Goutham S<br/>Wed, 29 Apr 2009 17:26:34 Z2009-04-29T17:26:34Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/f2236bde-9fb3-4535-8165-ddeba9b475f9#8e5ce370-08a2-427c-b2cb-bf643b5967f2http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/f2236bde-9fb3-4535-8165-ddeba9b475f9#8e5ce370-08a2-427c-b2cb-bf643b5967f2Dominic Salemno MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Dominic%20Salemno%20MSFTPing-Sync loop ?Goutham,<br/><br/>Could you send me a more verbose log to <a href="mailto:dochelp@microsoft.com">dochelp@microsoft.com</a> ?<br/><br/><strong>Dominic Salemno<br/>Senior Support Escalation Engineer<br/></strong>Thu, 30 Apr 2009 15:43:39 Z2009-04-30T15:43:39Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/f2236bde-9fb3-4535-8165-ddeba9b475f9#7146d28c-7ecd-40a6-9dff-7bfaf1faa1efhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/f2236bde-9fb3-4535-8165-ddeba9b475f9#7146d28c-7ecd-40a6-9dff-7bfaf1faa1efDominic Salemno MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Dominic%20Salemno%20MSFTPing-Sync loop ?<p>Goutham,<br/><br/>On which version of Exchange are you seeing this issue? Multiple versions? Or just one?<br/><br/><strong>Dominic Salemno<br/>Senior Support Escalation Engineer<br/></strong></p>Thu, 30 Apr 2009 18:52:01 Z2009-04-30T18:52:01Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/f2236bde-9fb3-4535-8165-ddeba9b475f9#64eb3679-e80b-4523-b17e-c3688dfe83d3http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/f2236bde-9fb3-4535-8165-ddeba9b475f9#64eb3679-e80b-4523-b17e-c3688dfe83d3gsukumarhttp://social.msdn.microsoft.com/Profile/en-US/?user=gsukumarPing-Sync loop ?If my memory serves me right, both 2003 and 2007 seem to exhibit this.<br/>I have seen this on sent items, calendar, inbox and contacts, so the type of folder doesnt seem to matter.<br/>thanks!<br/>-GouthamFri, 01 May 2009 12:09:38 Z2009-05-01T12:10:21Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/f2236bde-9fb3-4535-8165-ddeba9b475f9#0aadf45e-672a-44bd-9d94-57cca8fcdf65http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/f2236bde-9fb3-4535-8165-ddeba9b475f9#0aadf45e-672a-44bd-9d94-57cca8fcdf65gsukumarhttp://social.msdn.microsoft.com/Profile/en-US/?user=gsukumarPing-Sync loop ?Dominic,<br/>Would it be possible that <a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;827615">http://support.microsoft.com/default.aspx?scid=kb;en-us;827615</a> could be a reason ping returns repeatedly while sync doesnt ?<br/>regards<br/>Goutham SFri, 01 May 2009 12:35:28 Z2009-05-01T12:35:28Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/f2236bde-9fb3-4535-8165-ddeba9b475f9#093bb451-8641-4588-bff3-432b767eadb5http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/f2236bde-9fb3-4535-8165-ddeba9b475f9#093bb451-8641-4588-bff3-432b767eadb5Dominic Salemno MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Dominic%20Salemno%20MSFTPing-Sync loop ?<p>Goutham,</p> <p>I will take this into consideration. I will follow-up with you later this afternoon.</p> <p><strong>Dominic Salemno<br/>Senior Support Escalation Engineer</strong></p>Fri, 08 May 2009 07:44:22 Z2009-05-08T07:44:22Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/f2236bde-9fb3-4535-8165-ddeba9b475f9#8a86d06f-ef7f-48e0-b904-93549345285ahttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/f2236bde-9fb3-4535-8165-ddeba9b475f9#8a86d06f-ef7f-48e0-b904-93549345285aDominic Salemno MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Dominic%20Salemno%20MSFTPing-Sync loop ?Goutham,<br/><br/>Do you have anti-virus software installed?<br/><br/><strong>Dominic Salemno<br/>Senior Support Escalation Engineer<br/></strong>Mon, 11 May 2009 17:06:14 Z2009-05-11T17:06:45Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/f2236bde-9fb3-4535-8165-ddeba9b475f9#a58b2f9c-77cc-4c73-8f26-3d62a448fb8ahttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/f2236bde-9fb3-4535-8165-ddeba9b475f9#a58b2f9c-77cc-4c73-8f26-3d62a448fb8aChris Mullaneyhttp://social.msdn.microsoft.com/Profile/en-US/?user=Chris%20MullaneyPing-Sync loop ?Goutham S - Have you received the assistance you needed regarding this issue? <br/><br/>Thanks - ChrisMon, 15 Jun 2009 18:44:07 Z2009-06-15T18:44:07Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/f2236bde-9fb3-4535-8165-ddeba9b475f9#ad443b0b-e693-4204-8127-d1838dc22bcfhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/f2236bde-9fb3-4535-8165-ddeba9b475f9#ad443b0b-e693-4204-8127-d1838dc22bcfChris Mullaneyhttp://social.msdn.microsoft.com/Profile/en-US/?user=Chris%20MullaneyPing-Sync loop ?We're assuming the issue on this thread has been addressed. Please submit a new thread if you still need assistance. <br/><br/>Thanks - ChrisFri, 10 Jul 2009 22:04:12 Z2009-07-10T22:04:12Z