[kronolith] Trouble syncing two horde accounts in the same android device

Luis Felipe Marzagao lfbm.andamentos at gmail.com
Tue Jan 15 00:34:46 UTC 2013


Hello:

I'm testing a Galaxy Note.

I have added two "Exchange" accounts that exist in the same horde 
installation.

One account has 4 calendars and the other 1 calendar.

Right after I configure the accounts, I can successfully view all the 
events in the android calendar app. It shows events from all the 5 
calendars, but, as expected, divides them in 2 categories/colors (one 
for each account).

Everything seems to go well until I try to add an event (in any of the 
two accounts) and hit "synchronize" in my device.

Then all the events from the account in which I tried to add the event 
simply disappears from the device. The other account stays there.

Then I have to delete and add again the "vanished" account in order to 
see the events again.

If I configure just one horde/"exchange" account in the device, 
everything works just fine.

Attached is the activesync debug log starting just right after clicking 
the sync button in the device.

Any help?

Thanks a lot.
Luis Felipe
-------------- next part --------------
2013-01-14T21:16:31+00:00 INFO: [12541] Horde_Core_ActiveSync_Driver::authenticate() attempt for robm
2013-01-14T21:16:31+00:00 INFO: [12512] Horde_Core_ActiveSync_Driver::authenticate() attempt for marzagao
2013-01-14T21:16:31+00:00 DEBUG: [SAMSUNG1351823051052934] SYNC request received for user robm
2013-01-14T21:16:31+00:00 DEBUG: [SAMSUNG1351823051052934] loadDeviceInfo: robm
2013-01-14T21:16:31+00:00 INFO: Request being handled for device: SAMSUNG1351823051052934 Supporting protocol version: 2.5
2013-01-14T21:16:31+00:00 INFO: [SAMSUNG1351823051052934] Handling SYNC command.
2013-01-14T21:16:31+00:00 DEBUG: [SAMSUNG1351823051052934] Checking policykey for device: 0 user: robm
2013-01-14T21:16:31+00:00 DEBUG: Policykey: 0 verified.
2013-01-14T21:16:31+00:00 DEBUG: I  <Synchronize>
2013-01-14T21:16:31+00:00 DEBUG: I   <Folders>
2013-01-14T21:16:31+00:00 DEBUG: I    <Folder>
2013-01-14T21:16:31+00:00 DEBUG: I     <FolderType>
2013-01-14T21:16:31+00:00 DEBUG: I      Calendar
2013-01-14T21:16:31+00:00 DEBUG: I     </FolderType>
2013-01-14T21:16:31+00:00 DEBUG: I     <SyncKey>
2013-01-14T21:16:31+00:00 DEBUG: I      {50f4755b-29e8-4709-9d61-316fc0a80064}2
2013-01-14T21:16:31+00:00 DEBUG: I     </SyncKey>
2013-01-14T21:16:31+00:00 DEBUG: I     <FolderId>
2013-01-14T21:16:31+00:00 DEBUG: I      @Calendar@
2013-01-14T21:16:31+00:00 DEBUG: I     </FolderId>
2013-01-14T21:16:31+00:00 DEBUG: I     <DeletesAsMoves/>
2013-01-14T21:16:31+00:00 DEBUG: I     <GetChanges/>
2013-01-14T21:16:31+00:00 INFO: Possible unmatched content (peeking or empty tag?)
2013-01-14T21:16:31+00:00 DEBUG: I     <WindowSize>
2013-01-14T21:16:31+00:00 INFO: Possible unmatched content (peeking or empty tag?)
2013-01-14T21:16:31+00:00 DEBUG: I      5
2013-01-14T21:16:31+00:00 DEBUG: I     </WindowSize>
2013-01-14T21:16:31+00:00 DEBUG: I     <Options>
2013-01-14T21:16:31+00:00 DEBUG: I      <FilterType>
2013-01-14T21:16:31+00:00 DEBUG: I       4
2013-01-14T21:16:31+00:00 DEBUG: I      </FilterType>
2013-01-14T21:16:31+00:00 DEBUG: I      <Truncation>
2013-01-14T21:16:31+00:00 DEBUG: I       8
2013-01-14T21:16:31+00:00 DEBUG: I      </Truncation>
2013-01-14T21:16:31+00:00 DEBUG: I     </Options>
2013-01-14T21:16:31+00:00 DEBUG: I    </Folder>
2013-01-14T21:16:31+00:00 DEBUG: I   </Folders>
2013-01-14T21:16:31+00:00 DEBUG: I  </Synchronize>
2013-01-14T21:16:31+00:00 DEBUG: Have syncable collections
2013-01-14T21:16:31+00:00 DEBUG: All synckeys confirmed. Continuing with SYNC
2013-01-14T21:16:31+00:00 DEBUG: Replacing SYNC_CACHE entry for user robm and device SAMSUNG1351823051052934: a:12:{s:18:"confirmed_synckeys";a:0:{}s:17:"lasthbsyncstarted";b:0;s:17:"lastsyncendnormal";b:0;s:9:"lastuntil";i:1358198191;s:9:"timestamp";s:10:"1358198191";s:4:"wait";b:0;s:10:"hbinterval";b:0;s:7:"folders";a:0:{}s:9:"hierarchy";b:0;s:11:"collections";a:2:{s:5:"INBOX";a:11:{s:5:"class";s:5:"Email";s:10:"windowsize";i:100;s:14:"deletesasmoves";b:1;s:10:"filtertype";N;s:10:"truncation";i:0;s:13:"rtftruncation";N;s:11:"mimesupport";i:0;s:14:"mimetruncation";N;s:8:"conflict";i:1;s:9:"bodyprefs";N;s:11:"lastsynckey";s:39:"{50f4755b-7910-4f2d-bbda-30e7c0a80064}1";}s:10:"@Calendar@";a:12:{s:5:"class";s:8:"Calendar";s:10:"windowsize";s:1:"5";s:14:"deletesasmoves";b:1;s:10:"filtertype";s:1:"4";s:10:"truncation";s:1:"8";s:13:"rtftruncation";N;s:11:"mimesupport";i:0;s:14:"mimetruncation";N;s:8:"conflict";i:1;s:9:"bodyprefs";N;s:11:"lastsynckey";s:39:"{50f4755b-29e8-4709-9d61-316fc0a80064}2";s:7:"synckey";s:39:"{50f4755b-29e8-4709-9d61-316fc0a80064}2";}}s:13:"pingheartbeat";b:0;s:14:"synckeycounter";a:2:{s:5:"INBOX";a:1:{i:0;i:1;}s:10:"@Calendar@";a:1:{s:39:"{50f4755b-29e8-4709-9d61-316fc0a80064}1";i:1;}}}
2013-01-14T21:16:31+00:00 DEBUG: O  <Synchronize>
2013-01-14T21:16:31+00:00 DEBUG: O   <Status>
2013-01-14T21:16:31+00:00 DEBUG: O    1
2013-01-14T21:16:31+00:00 DEBUG: O   <Status/>
2013-01-14T21:16:31+00:00 DEBUG: [12541] Initializing state for collection: @Calendar@, synckey: {50f4755b-29e8-4709-9d61-316fc0a80064}2
2013-01-14T21:16:31+00:00 DEBUG: [12541] Loading state for synckey {50f4755b-29e8-4709-9d61-316fc0a80064}2
2013-01-14T21:16:31+00:00 DEBUG: [12541] Initializing message diff engine for @Calendar@
2013-01-14T21:16:31+00:00 DEBUG: [12541] Horde_Core_ActiveSync_Driver::getServerChanges(@Calendar@, 1358198108, 1358198191, 1356988591, 0)
2013-01-14T21:16:31+00:00 DEBUG: [SAMSUNG1351823051052934] SYNC request received for user marzagao
2013-01-14T21:16:31+00:00 DEBUG: [SAMSUNG1351823051052934] loadDeviceInfo: marzagao
2013-01-14T21:16:31+00:00 INFO: Request being handled for device: SAMSUNG1351823051052934 Supporting protocol version: 2.5
2013-01-14T21:16:31+00:00 INFO: [SAMSUNG1351823051052934] Handling SYNC command.
2013-01-14T21:16:31+00:00 DEBUG: [SAMSUNG1351823051052934] Checking policykey for device: 0 user: marzagao
2013-01-14T21:16:31+00:00 DEBUG: Policykey: 0 verified.
2013-01-14T21:16:31+00:00 DEBUG: I  <Synchronize>
2013-01-14T21:16:31+00:00 DEBUG: I   <Folders>
2013-01-14T21:16:31+00:00 DEBUG: I    <Folder>
2013-01-14T21:16:31+00:00 DEBUG: I     <FolderType>
2013-01-14T21:16:31+00:00 DEBUG: I      Calendar
2013-01-14T21:16:31+00:00 DEBUG: I     </FolderType>
2013-01-14T21:16:31+00:00 DEBUG: I     <SyncKey>
2013-01-14T21:16:31+00:00 DEBUG: I      {50f473a0-526c-499d-8c1c-30f7c0a80064}13
2013-01-14T21:16:31+00:00 DEBUG: I     </SyncKey>
2013-01-14T21:16:31+00:00 DEBUG: I     <FolderId>
2013-01-14T21:16:31+00:00 DEBUG: I      @Calendar@
2013-01-14T21:16:31+00:00 DEBUG: I     </FolderId>
2013-01-14T21:16:31+00:00 DEBUG: I     <DeletesAsMoves/>
2013-01-14T21:16:31+00:00 DEBUG: I     <GetChanges/>
2013-01-14T21:16:31+00:00 INFO: Possible unmatched content (peeking or empty tag?)
2013-01-14T21:16:31+00:00 DEBUG: I     <WindowSize>
2013-01-14T21:16:31+00:00 INFO: Possible unmatched content (peeking or empty tag?)
2013-01-14T21:16:31+00:00 DEBUG: I      5
2013-01-14T21:16:31+00:00 DEBUG: I     </WindowSize>
2013-01-14T21:16:31+00:00 DEBUG: I     <Options>
2013-01-14T21:16:31+00:00 DEBUG: I      <FilterType>
2013-01-14T21:16:31+00:00 DEBUG: I       4
2013-01-14T21:16:31+00:00 DEBUG: I      </FilterType>
2013-01-14T21:16:31+00:00 DEBUG: I      <Truncation>
2013-01-14T21:16:31+00:00 DEBUG: I       8
2013-01-14T21:16:31+00:00 DEBUG: I      </Truncation>
2013-01-14T21:16:31+00:00 DEBUG: I     </Options>
2013-01-14T21:16:31+00:00 DEBUG: I     <Commands>
2013-01-14T21:16:31+00:00 DEBUG: [12512] Initializing state for collection: @Calendar@, synckey: {50f473a0-526c-499d-8c1c-30f7c0a80064}13
2013-01-14T21:16:31+00:00 DEBUG: [12512] Loading state for synckey {50f473a0-526c-499d-8c1c-30f7c0a80064}13
2013-01-14T21:16:31+00:00 DEBUG: [12512] Removing device state for sync_key {50f473a0-526c-499d-8c1c-30f7c0a80064}13 only.
2013-01-14T21:16:31+00:00 DEBUG: O  <Synchronize>
2013-01-14T21:16:31+00:00 DEBUG: O   <Folders>
2013-01-14T21:16:31+00:00 DEBUG: O    <Folder>
2013-01-14T21:16:31+00:00 DEBUG: O     <FolderType>
2013-01-14T21:16:31+00:00 DEBUG: O      Calendar
2013-01-14T21:16:31+00:00 DEBUG: O     <FolderType/>
2013-01-14T21:16:31+00:00 DEBUG: O     <SyncKey>
2013-01-14T21:16:31+00:00 DEBUG: O      {50f475af-1550-4d3f-b330-30e0c0a80064}1
2013-01-14T21:16:31+00:00 DEBUG: O     <SyncKey/>
2013-01-14T21:16:31+00:00 DEBUG: O     <FolderId>
2013-01-14T21:16:31+00:00 DEBUG: O      @Calendar@
2013-01-14T21:16:31+00:00 DEBUG: O     <FolderId/>
2013-01-14T21:16:31+00:00 DEBUG: O     <Status>
2013-01-14T21:16:31+00:00 DEBUG: O      3
2013-01-14T21:16:31+00:00 DEBUG: O     <Status/>
2013-01-14T21:16:31+00:00 DEBUG: O    <Folder/>
2013-01-14T21:16:31+00:00 DEBUG: O   <Folders/>
2013-01-14T21:16:31+00:00 DEBUG: O  <Synchronize/>
2013-01-14T21:16:31+00:00 DEBUG: I      <Add>
2013-01-14T21:16:31+00:00 DEBUG: O  <Synchronize>
2013-01-14T21:16:31+00:00 DEBUG: O   <Status>
2013-01-14T21:16:31+00:00 DEBUG: O    13
2013-01-14T21:16:31+00:00 DEBUG: O   <Status/>
2013-01-14T21:16:31+00:00 DEBUG: O  <Synchronize/>
2013-01-14T19:16:31-02:00 DEBUG: [12541] Found 0 message changes in @Calendar at .
2013-01-14T19:16:31-02:00 DEBUG: O   <Folders>
2013-01-14T19:16:31-02:00 DEBUG: O    <Folder>
2013-01-14T19:16:31-02:00 DEBUG: O     <FolderType>
2013-01-14T19:16:31-02:00 DEBUG: O      Calendar
2013-01-14T19:16:31-02:00 DEBUG: O     <FolderType/>
2013-01-14T19:16:31-02:00 DEBUG: O     <SyncKey>
2013-01-14T19:16:31-02:00 DEBUG: O      {50f4755b-29e8-4709-9d61-316fc0a80064}2
2013-01-14T19:16:31-02:00 DEBUG: O     <SyncKey/>
2013-01-14T19:16:31-02:00 DEBUG: O     <FolderId>
2013-01-14T19:16:31-02:00 DEBUG: O      @Calendar@
2013-01-14T19:16:31-02:00 DEBUG: O     <FolderId/>
2013-01-14T19:16:31-02:00 DEBUG: O     <Status>
2013-01-14T19:16:31-02:00 DEBUG: O      1
2013-01-14T19:16:31-02:00 DEBUG: O     <Status/>
2013-01-14T19:16:31-02:00 DEBUG: O    <Folder/>
2013-01-14T19:16:31-02:00 DEBUG: O   <Folders/>
2013-01-14T19:16:31-02:00 DEBUG: O  <Synchronize/>
2013-01-14T19:16:31-02:00 DEBUG: Replacing SYNC_CACHE entry for user robm and device SAMSUNG1351823051052934: a:12:{s:18:"confirmed_synckeys";a:0:{}s:17:"lasthbsyncstarted";b:0;s:17:"lastsyncendnormal";b:0;s:9:"lastuntil";i:1358198191;s:9:"timestamp";s:10:"1358198191";s:4:"wait";b:0;s:10:"hbinterval";b:0;s:7:"folders";a:0:{}s:9:"hierarchy";b:0;s:11:"collections";a:2:{s:5:"INBOX";a:11:{s:5:"class";s:5:"Email";s:10:"windowsize";i:100;s:14:"deletesasmoves";b:1;s:10:"filtertype";N;s:10:"truncation";i:0;s:13:"rtftruncation";N;s:11:"mimesupport";i:0;s:14:"mimetruncation";N;s:8:"conflict";i:1;s:9:"bodyprefs";N;s:11:"lastsynckey";s:39:"{50f4755b-7910-4f2d-bbda-30e7c0a80064}1";}s:10:"@Calendar@";a:12:{s:5:"class";s:8:"Calendar";s:10:"windowsize";s:1:"5";s:14:"deletesasmoves";b:1;s:10:"filtertype";s:1:"4";s:10:"truncation";s:1:"8";s:13:"rtftruncation";N;s:11:"mimesupport";i:0;s:14:"mimetruncation";N;s:8:"conflict";i:1;s:9:"bodyprefs";N;s:11:"lastsynckey";s:39:"{50f4755b-29e8-4709-9d61-316fc0a80064}2";s:7:"synckey";s:39:"{50f4755b-29e8-4709-9d61-316fc0a80064}2";}}s:13:"pingheartbeat";b:0;s:14:"synckeycounter";a:2:{s:5:"INBOX";a:1:{i:0;i:1;}s:10:"@Calendar@";a:1:{s:39:"{50f4755b-29e8-4709-9d61-316fc0a80064}1";i:1;}}}
2013-01-14T21:16:31+00:00 INFO: [12512] User marzagao logged off
2013-01-14T19:16:31-02:00 INFO: [12541] User robm logged off


More information about the kronolith mailing list