Z-Push synchronisation with Outlook App for iOS
-
Hello,
i have a problem with the Kopano Z-Push function.
Yesterday i’ve installed the Kopano Core, Kopano WebApp and Z-Push for Kopano on my UCS. The WebApp works perfectly without any problems. Outlook 2016 with an Exchange Account configured works also without problems as well the iOS Mail App (also Exchange Account).
The only problem is, that the Microsoft Outlook App for iOS does not work. When I configure the Exchange Account the popup shows: “There is no registration possible” .Z-Push log;
03/12/2017 17:42:01 [ 2202] [FATAL] [testuser] WBXMLException: Loop count in while too high, code 'syncOptions' exceeded max. amount of permitted loops - code: 0 - file: /usr/share/z-push/lib/wbxml/wbxmldecoder.php:61 03/12/2017 17:42:01 [ 2202] [FATAL] [testuser] WBXML 10K debug data: AwFqAEVcT0sDe2IxOGM4MTNiLTg3ZjYtNGI4My1hOWNlLTkxMjI2ZGU5YzJiY30xAAFSA1VhODRlMAABXgMxAAETVQM1MAABV1gDMwABABFFRgMyAAFHAzEwNDg1NzYAAQEAGEUDMQABAQEBAQ== 03/12/2017 17:42:01 [ 2202] [ INFO] [testuser] User-agent: 'Outlook-iOS-Android/1.0' 03/12/2017 17:42:01 [ 2202] [FATAL] [testuser] Exception: (WBXMLException) - Loop count in while too high, code 'syncOptions' exceeded max. amount of permitted loops 03/12/2017 17:42:01 [ 2202] [FATAL] [testuser] Request could not be processed correctly due to a WBXMLException. Please report this including the 'WBXML debug data' logged. Be aware that the debug data could contain confidential information. 03/12/2017 17:42:01 [ 2202] [ INFO] [testuser] cmd='Sync' memory='7.82 MiB/8.25 MiB' time='0.25s' devType='Outlook' devId='449b661a2a127c0c' getUser='testuser' from='13.79.172.210' idle='0s' version='2.3.9beta0+0-0' method='POST' httpcode='500' 03/12/2017 17:42:10 [ 2204] [ INFO] [testuser] cmd='Settings' memory='2.16 MiB/2.50 MiB' time='0.05s' devType='Outlook' devId='449b661a2a127c0c' getUser='testuser' from='13.79.172.210' idle='0s' version='2.3.9beta0+0-0' method='POST' httpcode='200' 03/12/2017 17:42:11 [ 2204] [ INFO] [testuser] cmd='Sync' memory='2.40 MiB/2.75 MiB' time='0.31s' devType='Outlook' devId='449b661a2a127c0c' getUser='testuser' from='13.79.172.210' idle='0s' version='2.3.9beta0+0-0' method='POST' httpcode='200' 03/12/2017 17:42:12 [ 2204] [FATAL] [testuser] WBXMLException: Loop count in while too high, code 'syncOptions' exceeded max. amount of permitted loops - code: 0 - file: /usr/share/z-push/lib/wbxml/wbxmldecoder.php:61 03/12/2017 17:42:12 [ 2204] [FATAL] [testuser] WBXML 10K debug data: AwFqAEVcT0sDezA0MjU1NmExLTY2ZmItNDY5Mi1iOWUyLTgwMjc2MzkyOWY4OX0xAAFSA1VkOTE5YQABXgMxAAETVQM1MAABV1gDMwABABFFRgMyAAFHAzEwNDg1NzYAAQEAGEUDMQABAQEBAQ== 03/12/2017 17:42:12 [ 2204] [ INFO] [testuser] User-agent: 'Outlook-iOS-Android/1.0' 03/12/2017 17:42:12 [ 2204] [FATAL] [testuser] Exception: (WBXMLException) - Loop count in while too high, code 'syncOptions' exceeded max. amount of permitted loops 03/12/2017 17:42:12 [ 2204] [FATAL] [testuser] Request could not be processed correctly due to a WBXMLException. Please report this including the 'WBXML debug data' logged. Be aware that the debug data could contain confidential information. 03/12/2017 17:42:12 [ 2204] [ INFO] [testuser] cmd='Sync' memory='7.82 MiB/8.25 MiB' time='0.25s' devType='Outlook' devId='449b661a2a127c0c' getUser='testuser' from='13.79.172.210' idle='0s' version='2.3.9beta0+0-0' method='POST' httpcode='500'
(real account name replaced with testuser)
The LOGLEVEL_WBXML output dont show any [FATAL} listings.
I’ve tested the connection with 2 Kopano Account. Both don’t work.Tested with:
WebApp: 3.3.0.610
Kopano Core: 8.3.1.32
Z-Push: 2.3.7and
WebApp: 3.4.2.1073+652.1
Kopano Core: 8.4.90
Z-Push: 2.3.9beta0+0-0Has anyone a tip or solution?
Thank!
Robin
ps: I know. Outlook app is a nighmare in relation to data protection. But it is only for private use
-
Typically if you get
Exception: (WBXMLException)
it means you client is sending something unexpected to z-push.You would need to set the logging level to WBXML level in the z-push config file, and re-run the test so that the incoming WBXML can be seen and the problem logged.
-
Hi Robin,
it looks like the app sends a WBXML tag in the request which is not supported by Z-Push 2.3.x. You could try Z-Push 2.4.0alpha1 which supports a higher ActiveSync protocol version.
Manfred
-
Hi Manfred,
i`ve tested a while with different users. I´ve created users with my name inside the username (robinreuter, robin, etc…) which don´t work. Other users (testuser, test, etc…) worked. I don´t know if Z-Push runs into a loop, if the username contains the Univention domain name (in my case robin.local)?
-
Hi Robin,
the log you’ve posted doesn’t indicate any issue with the username, but with the data the app sends to Z-Push.
It would help if you would post WBXML log for a working and a non-working user.
Manfred
-
I don’t know what to say… In the meantime i’ve reinstalled the Kopano Core, Kopano WebApp and Z-Push for Kopano. Now all users are working well. I think there was a problem at installation?
Before the reinstall i’ve made a snapshot of the virtual machine. But, what happened? After the rollback to the UCS with the old, not reinstalled Kopano, the same user, which had a problem with ActiveSync works now? Every mail, every contact, every calendar entry was synched.
I don’t believe in ghosts, until now. But there was only an update for the iOS Outlook app. I don’t have the exact update time, but the update was released 18 hours ago. I think the iphone have installed the update in the last 1-2 hours and MS fixed a bug in relation to ActiveSync. That’s my only explanation for the problem. That would explain the successful test with the testuser.
Thanks for the replys.
Robin