AirSync wrong protocol version?

I’ve been having problems syncing with a Z-Push server.  Looking through the logs it appears that when using AirSync the client is sending a version 2.5 header and the using WBXML from version 14.0.  At other times the client sends a version 14.0 header.

It appears to be on move operations.  This causes a 500 error to be reported back to the client.

I’ve added a tweak into the server that when it detects the deviceType handed it by emclient that it will override the provided protocol version and use version 14.  However, this is a hack fix and a better solution would be for emclient to provide the correct protocol version?

Hi, what verion of eM Client are you currently using on your computer? Can you please check for the exact version number in Help > About?
Can you possibly make a screenshot of the issue, or send me an exported message which includes the wrong header?

Thank you,
Paul.

Version 6.0.21040.0

I’ll have to remove the hacked header to find it and get a new log item

I’ve not reset the hack at the moment because there is now a seperate issue that emclient is trying to send a move item request but the server is responding with a fault because it doesn’t think the folder is synchronised yet.  I’m trying a wipe and re-setup.

Below is a fragment including the error condition

Relevant header part from the log is

BackendZarafa using PHP-MAPI version: 7.1.11-4605006/12/2014 20:05:00 [46353] [DEBUG] Request::ProcessHeaders() ASVersion: 2.5

And then the WBXML issue

24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I Email
24/11/2014 10:25:17 [43173] [DEBUG] [XXX] [emclient] Sync folder: 'Email’
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I {cf68facd-ebff-44c7-a5a5-918b9b1ea419}24
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I 0cfb9cbdfb9a48c4a9a8dc378912f0e361f307000000
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I
24/11/2014 10:25:17 [43173] [DEBUG] [XXX] [emclient] FileStateMachine->GetState() on file: '/var/lib/z-push/t/n/emclient-cf68facd-ebff-44c7-a5a5-918b9b1ea419-fd’
24/11/2014 10:25:17 [43173] [DEBUG] [XXX] [emclient] SyncParameters->UseCPO(‘DEFAULT’)
24/11/2014 10:25:17 [43173] [DEBUG] [XXX] [emclient] SyncCollections->AddCollection(): Folder id ‘0cfb9cbdfb9a48c4a9a8dc378912f0e361f307000000’ : ref. PolicyKey ‘-1’, ref. Lifetime ‘’, last sync at '1416823743’
24/11/2014 10:25:17 [43173] [DEBUG] [XXX] [emclient] SyncCollections->AddCollection(): Updated reference PolicyKey ‘-1’, reference Lifetime ‘’, Last sync at '1416823743’
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I
24/11/2014 10:25:17 [43173] [DEBUG] [XXX] [emclient] SyncParameters->UseCPO(‘DEFAULT’)
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I 2
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I 8
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I 0cfb9cbdfb9a48c4a9a8dc378912f0e389d411000000
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I
24/11/2014 10:25:17 [43173] [ERROR] [XXX] [emclient] WBXMLDecoder->getElementEndTag(): could not read end tag in ‘/usr/share/z-push-trunk/src/lib/request/sync.php:435’. Please enable the LOGLEVEL_WBXML and send the log to the Z-Push dev team.
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I 0
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I 1
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I
24/11/2014 10:25:17 [43173] [WBXML] [XXX] [emclient] I

Looking through the z-push server code: POOMMAIL:Flag doesn’t get added into the allowed tag types below AS version 12.0.

Hi, thank you for reporting this issue, I’ve reported this to the developers for more information about the issue.
However AirSync synchronization is currently only supported for Hotmail, outlook.com and live.com accounts.

Thank you,
Paul.