[Tickets #10461] Re: Sync with SonyEricsson ELM (ActiveSync)

bugs at horde.org bugs at horde.org
Fri Sep 2 16:57:04 UTC 2011


Ticket URL: http://bugs.horde.org/ticket/10461
  Ticket             | 10461
  Updated By         | Michael Rubinsky <mrubinsk at horde.org>
  Summary            | Sync with SonyEricsson ELM (ActiveSync)
  Queue              | Synchronization
  Version            | Git master
  Type               | Bug
  State              | Feedback
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             | Michael Rubinsky

Michael Rubinsky <mrubinsk at horde.org> (2011-09-02 16:57) wrote:

> And after I reset the device in user preferences, the first sync,  
> see attachment

This log looks like a broken client. Under no circumstances should a  
client send a synckey of '0' AND incoming changes. A synckey of 0 is  
only sent during an initial sync handshake, or when resetting the  
client state on the server (as when the a client's account is reset).

According the the AS docs:
A synchronization key of value 0 initializes the synchronization state  
on the server and causes a full synchronization of the collection. The  
server sends a response that includes a new synchronization key value.

Sending a set of changes from the client to the server during a  
synchronization initialization makes no sense, since the entire client  
database is considered empty at this point.

What your log shows is this: First, the server is sending a KEYMISM  
error, which means that the server received an invalid or expired  
synckey (this might be due to the previous errors you experienced, or  
from resetting the account). What is supposed to happen next is that  
the client wipes the local datastore and the server sends all items to  
the device.

More information about the bugs mailing list