ActiveSync: Error after upgrading to Kolab 3.1

Tobias Brunner tobias at tobru.ch
Sun Nov 10 17:21:58 CET 2013


Hi,

I've upgraded from Kolab 3.0 to 3.1 on Debian Wheezy. It looks like 
there were changes to ActiveSync, because syncing with my Nokia N9 does 
not work anymore. Looking at the debug log on the Nokia N9 shows the 
following error:

[Error] AS_LIB : Wrong response content type  (expected: 
application/vnd.ms-sync.wbxml or application/vnd.ms-sync.multipart)

The activesync log on Kolab looks like this:

[10-Nov-2013 16:17:46,000000 +0000]: [DEBUG] 
Syncroton_Server::handle::61 REQUEST METHOD: POST
[10-Nov-2013 16:17:46,000000 +0000]: [DEBUG] 
Syncroton_Server::_handlePost::103 REQUEST Array
(
     [protocolVersion] => 12.1
     [command] => FolderSync
     [deviceId] => IMEI1234567890
     [deviceType] => N9
     [policyKey] =>
     [saveInSent] =>
     [collectionId] =>
     [itemId] =>
     [attachmentName] =>
     [acceptMultipart] =>
     [userAgent] => MeeGo-MfE/1.2
     [contentType] => application/vnd.ms-sync.wbxml
)

[10-Nov-2013 16:17:46,000000 +0000]: [DEBUG] 
Syncroton_Server::_handlePost::126 xml request:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE AirSync PUBLIC "-//AIRSYNC//DTD AirSync//EN" 
"http://www.microsoft.com/">
<FolderSync xmlns="uri:FolderHierarchy">
   <SyncKey>1</SyncKey>
</FolderSync>

[10-Nov-2013 16:17:46,000000 +0000]: [DEBUG] 
Syncroton_Command_Wbxml::__construct::163 sync timestamp: 2013-11-10 
16:17:46
[10-Nov-2013 16:17:46,000000 +0000]: [DEBUG] 
Syncroton_Command_FolderSync::handle::79 synckey is 1
[10-Nov-2013 16:17:46,000000 +0000]: [DEBUG] 
Syncroton_Server::_handlePost::175 xml response(0):
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE AirSync PUBLIC "-//AIRSYNC//DTD AirSync//EN" 
"http://www.microsoft.com/">
<FolderSync xmlns="uri:FolderHierarchy" xmlns:Syncroton="uri:Syncroton">
   <Status>1</Status>
   <SyncKey>1</SyncKey>
   <Changes>
     <Count>0</Count>
   </Changes>
</FolderSync>

[10-Nov-2013 16:17:48,000000 +0000]: [DEBUG] 
Syncroton_Server::handle::61 REQUEST METHOD: POST
[10-Nov-2013 16:17:48,000000 +0000]: [DEBUG] 
Syncroton_Server::_handlePost::103 REQUEST Array
(
     [protocolVersion] => 12.1
     [command] => Sync
     [deviceId] => IMEI1234567890
     [deviceType] => N9
     [policyKey] =>
     [saveInSent] =>
     [collectionId] =>
     [itemId] =>
     [attachmentName] =>
     [acceptMultipart] =>
     [userAgent] => MeeGo-MfE/1.2
     [contentType] => application/vnd.ms-sync.wbxml
)

[10-Nov-2013 16:17:48,000000 +0000]: [DEBUG] 
Syncroton_Server::_handlePost::126 xml request:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE AirSync PUBLIC "-//AIRSYNC//DTD AirSync//EN" 
"http://www.microsoft.com/">
<Sync xmlns="uri:AirSync" xmlns:AirSyncBase="uri:AirSyncBase">
   <Collections>
     <Collection>
       <SyncKey>606</SyncKey>
       <CollectionId>Inbox</CollectionId>
       <DeletesAsMoves>0</DeletesAsMoves>
       <GetChanges/>
       <WindowSize>100</WindowSize>
       <Options>
         <FilterType>2</FilterType>
         <Conflict>1</Conflict>
         <MIMESupport>0</MIMESupport>
         <BodyPreference xmlns="uri:AirSyncBase">
           <Type>1</Type>
         </BodyPreference>
         <BodyPreference xmlns="uri:AirSyncBase">
           <Type>2</Type>
         </BodyPreference>
       </Options>
     </Collection>
   </Collections>
</Sync>

[10-Nov-2013 16:17:48,000000 +0000]: [DEBUG] 
Syncroton_Command_Wbxml::__construct::163 sync timestamp: 2013-11-10 
16:17:48
[10-Nov-2013 16:17:48,000000 +0000]: [INFO] 
Syncroton_Command_Sync::handle::196 SyncKey is 606 Class: Email 
CollectionId: Inbox
[10-Nov-2013 16:17:48,000000 +0000]: [INFO] 
Syncroton_Command_Sync::getResponse::648 found (added/changed/deleted) 
0/0/0 entries for sync from server to client
[10-Nov-2013 16:17:48,000000 +0000]: [INFO] 
Syncroton_Command_Sync::getResponse::889 current synckey is 606


Any idea what could be wrong?

Cheers,
Tobias



More information about the users mailing list