Formula una domandaFormula una domanda
 

Discussione generalePing-Sync loop ?

  • mercoledì 15 aprile 2009 18.31gsukumar Medaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     
    I have a strange problem with a couple of users.
    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).
    When the subsequent sync is issued for that folder, it returns a status of 1 and the same sync key.
    THis causes the direct push implementation to go into a loop, getting triggered continuously.

    If we reset the synckey to 0 and start all over again, it seems to behave normally.

    Any ideas on what could be causing this? Is this server related or something wrong with the implementation?
    thanks!

    Goutham S

Tutte le risposte

  • mercoledì 15 aprile 2009 20.34Obaid FarooqiMSFT, ModeratoreMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     
    Hi Gouthem:
    I have alerted the Protocol Documentation Team about your question. A member of the team will be in touch soon.
    Regards, Obaid Farooqi
  • mercoledì 15 aprile 2009 21.06gsukumar Medaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     

    Thanks Obaid,
    For your reference, the following is how it proceeds, and this repeats forever


    4/15/09 9:57 AM:[1238]:ActiveSync Waiting ..
    4/15/09 9:57 AM:[1238]:Making request to (NO AUTH) :https://*******.********.***/Microsoft-Server-ActiveSync?User=joel%40********.***&Cmd=Ping&DeviceId=XXXX&DeviceType=Android
    4/15/09 9:57 AM:[1238]:Request returned :HTTP/1.1 200 OK
    4/15/09 9:57 AM:[1238]:Response :56 bytes
    4/15/09 9:57 AM:[1238]:Processing PING response:Ping/Status=2
    4/15/09 9:57 AM:[1238]:Processing PING response:Ping/Folders/Folder=c09191c9f0760c4c8c2a2064c5ec3541-286c
    4/15/09 9:57 AM:[1238]:Found change. Wait time was 0 secs
    4/15/09 9:57 AM:[1238]:Making request to (NO AUTH) :https://*******.********.***/Microsoft-Server-ActiveSync?User=joel%40********.***&Cmd=Sync&DeviceId=XXXX&DeviceType=Android
    4/15/09 9:57 AM:[1238]:Request returned :HTTP/1.1 200 OK
    4/15/09 9:57 AM:[1238]:Response :110 bytes
    4/15/09 9:57 AM:[1238]:Processing response:Sync/Collections/Collection/Class=Email
    4/15/09 9:57 AM:[1238]:Processing response:Sync/Collections/Collection/SyncKey={62D121D2-13B8-4708-BD6F-ED1E5EE88A24}218
    4/15/09 9:57 AM:[1238]:Processing response:Sync/Collections/Collection/CollectionId=c09191c9f0760c4c8c2a2064c5ec3541-286c
    4/15/09 9:57 AM:[1238]:Processing response:Sync/Collections/Collection/Status=1

    4/15/09 9:57 AM:[1238]:ActiveSync Waiting ..
    4/15/09 9:57 AM:[1238]:Making request to (NO AUTH) :https://*******.********.***/Microsoft-Server-ActiveSync?User=joel%40********.***&Cmd=Ping&DeviceId=XXXX&DeviceType=Android
    4/15/09 9:57 AM:[1238]:Request returned :HTTP/1.1 200 OK
    4/15/09 9:57 AM:[1238]:Response :56 bytes
    4/15/09 9:57 AM:[1238]:Processing PING response:Ping/Status=2
    4/15/09 9:57 AM:[1238]:Processing PING response:Ping/Folders/Folder=c09191c9f0760c4c8c2a2064c5ec3541-286c
    4/15/09 9:57 AM:[1238]:Found change. Wait time was 0 secs
    4/15/09 9:57 AM:[1238]:Making request to (NO AUTH) :https://*******.********.***/Microsoft-Server-ActiveSync?User=joel%40********.***&Cmd=Sync&DeviceId=XXXX&DeviceType=Android
    4/15/09 9:57 AM:[1238]:Request returned :HTTP/1.1 200 OK
    4/15/09 9:57 AM:[1238]:Response :110 bytes
    4/15/09 9:57 AM:[1238]:Processing response:Sync/Collections/Collection/Class=Email
    4/15/09 9:57 AM:[1238]:Processing response:Sync/Collections/Collection/SyncKey={62D121D2-13B8-4708-BD6F-ED1E5EE88A24}218
    4/15/09 9:57 AM:[1238]:Processing response:Sync/Collections/Collection/CollectionId=c09191c9f0760c4c8c2a2064c5ec3541-286c
    4/15/09 9:57 AM:[1238]:Processing response:Sync/Collections/Collection/Status=1

    regards
    Goutham S

  • giovedì 16 aprile 2009 14.11Dominic Salemno MSFTMSFT, ModeratoreMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     
    Goutham,

    I am the engineer who has taken ownership of your issue. I am investigating this and will update you as things progress.

    Dominic Salemno
    Senior Support Escalation Engineer
  • giovedì 23 aprile 2009 15.06gsukumar Medaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     
    Any ideas yet ?
  • lunedì 27 aprile 2009 18.02Dominic Salemno MSFTMSFT, ModeratoreMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     

    Goutham,

    I am still investigating this issue, I will follow-up with you shortly in regards to this issue.

    Dominic Salemno
    Senior Support Escalation Engineer

  • lunedì 27 aprile 2009 21.27Dominic Salemno MSFTMSFT, ModeratoreMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     

    Goutham,

     

    This seems like normal behavior. Please review Section 2.2.1.13 of the [MS-ASCMD].pdf document that explains the Ping command (http://msdn.microsoft.com/en-us/library/dd299441.aspx). Essentially, the Ping command is used to monitor changes against specified folders on the server.

    What you are experiencing appears to be a heartbeat interval explained in the same section of the documentation:

     

    A Ping 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.

     

    A Ping response status of 1 indicates that the heartbeat interval has expired before any changes have occurred, and that the client should reissue the Ping command.

    The heartbeat interval will be implementation specific as this is specified by the client.

     

    Does this answer your question?

     

    Dominic Salemno
    Seniort Support Escalation Engineer

  • mercoledì 29 aprile 2009 17.26gsukumar Medaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     
    Dominic,
    thanks for following up :
    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)
    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).
    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.
    Note, this does not happen to all users, just a subset of users.

    regards
    Goutham S
  • giovedì 30 aprile 2009 15.43Dominic Salemno MSFTMSFT, ModeratoreMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     
    Goutham,

    Could you send me a more verbose log to dochelp@microsoft.com ?

    Dominic Salemno
    Senior Support Escalation Engineer
  • giovedì 30 aprile 2009 18.52Dominic Salemno MSFTMSFT, ModeratoreMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     

    Goutham,

    On which version of Exchange are you seeing this issue? Multiple versions? Or just one?

    Dominic Salemno
    Senior Support Escalation Engineer

  • venerdì 1 maggio 2009 12.09gsukumar Medaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     
    If my memory serves me right, both 2003 and 2007 seem to exhibit this.
    I have seen this on sent items, calendar, inbox and contacts, so the type of folder doesnt seem to matter.
    thanks!
    -Goutham
  • venerdì 1 maggio 2009 12.35gsukumar Medaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     
    Dominic,
    Would it be possible that http://support.microsoft.com/default.aspx?scid=kb;en-us;827615 could be a reason ping returns repeatedly while sync doesnt ?
    regards
    Goutham S
  • venerdì 8 maggio 2009 7.44Dominic Salemno MSFTMSFT, ModeratoreMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     

    Goutham,

    I will take this into consideration. I will follow-up with you later this afternoon.

    Dominic Salemno
    Senior Support Escalation Engineer

  • lunedì 11 maggio 2009 17.06Dominic Salemno MSFTMSFT, ModeratoreMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     
    Goutham,

    Do you have anti-virus software installed?

    Dominic Salemno
    Senior Support Escalation Engineer
  • lunedì 15 giugno 2009 18.44Chris MullaneyMSFT, ProprietarioMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     
    Goutham S - Have you received the assistance you needed regarding this issue?

    Thanks - Chris
  • venerdì 10 luglio 2009 22.04Chris MullaneyMSFT, ProprietarioMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     
    We're assuming the issue on this thread has been addressed. Please submit a new thread if you still need assistance.

    Thanks - Chris