1 (edited by buggy09 2020-03-30 18:31:07)

Topic: SOGO : Parsing of XML Document Failed

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.8
- Deployed with iRedMail Easy or the downloadable installer? Installer
- Linux/BSD distribution name and version: Ubuntu 18.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

After last sogo update (27.03.2020 nightly build) Outlook 2016 (EAS client) can't sync for several users any more, with the error Parsing of XML Document Failed. CPU consumption raises significantly.

sogod [21294]: [ERROR] <0x0x55b672dde9a0[NSDataMalloc]> xml2wbxmlFromContent: failed: Parsing of XML Document Failed

I tried to reset EAS cache resetdevice and resetfolder with sogo-tool multiple times, but it didn't help.
Also tried to decrease SOGoMaximumSyncResponseSize to 512 (from 2048), and SOGoMaximumSyncWindowSize to 99 (from commented/default) with no success.

I'm not sure, but it seems that it fails to download somewhat bigger mai messages with lot of replies.
I tried to xmllint problematic xml, and it shows some formatting errors (I've got xmls in question in /tmp folder, when turned on DebugEAS)

This is part of sogo.log:

Mar 28 11:51:37 sogod [21294]: <0x0x55b672a4aea0[SOGoActiveSyncDispatcher]> Change detected during Sync, we push the content.
Mar 28 11:51:37 sogod [21294]: [ERROR] <0x0x55b672dde9a0[NSDataMalloc]> xml2wbxmlFromContent: failed: Parsing of XML Document Failed

Mar 28 11:51:37 sogod [21294]: mx.domain.com "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Sync&User=user.name@domain.com&DeviceId=986A653E6807473281FE6534B0532160&DeviceType=WindowsOutlook15 HTTP/1.0" 200 0/1088 1.711 - - 0
Mar 28 11:51:38 sogod [21294]: <0x0x55b67231cce0[SOGoActiveSyncDispatcher]> Change detected using Ping, we let the EAS client know to send a Sync.
Mar 28 11:51:38 sogod [21294]: mx.domain.com "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Ping&User=user.name@domain.com&DeviceId=986A653E6807473281FE6534B0532160&DeviceType=WindowsOutlook15 HTTP/1.0" 200 101/604 0.922 - - 0
Mar 28 11:51:39 sogod [21294]: <0x0x55b6729d50a0[SOGoActiveSyncDispatcher]> Cache cleanup needed for device 986A653E6807473281FE6534B0532160 - user: user.name@domain.com syncKey: 235-43 cache: 21-64
Mar 28 11:51:39 sogod [21294]: <0x0x55b672fd4040[NGImap4Client]> Note: no key found for sorting, using 'DATE': (null)
Mar 28 11:51:39 sogod [21294]: <0x0x55b6729d50a0[SOGoActiveSyncDispatcher]> Change detected during Sync, we push the content.
Mar 28 11:51:39 sogod [21294]: mx.domain.com "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Sync&User=user.name@domain.com&DeviceId=986A653E6807473281FE6534B0532160&DeviceType=WindowsOutlook15 HTTP/1.0" 200 582830/1088 0.922 - - 0
Mar 28 11:51:40 sogod [21294]: <0x0x55b672aa5490[NGImap4Client]> Note: no key found for sorting, using 'DATE': (null)

I am aware this is purely SOGO issue, but if someone have any idea please help. This is production server.
Is it possible to downgrade only sogo to some previous version ?

I already submit a bug to sogo https://sogo.nu/bugs/view.php?id=4995, but still didn't get any reply.

I will really appreciate any advice.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: SOGO : Parsing of XML Document Failed

buggy09 wrote:

I already submit a bug to sogo https://sogo.nu/bugs/view.php?id=4995, but still didn't get any reply.

Seems fixed in latest nightly build.