SOGo | BTS

View Issue Details Jump to Notes ] Related Changesets ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004422SOGoActiveSyncpublic2018-03-13 16:372018-03-15 16:02
Reportergregk@kgbconsulting.ca 
Assigned Toludovic 
PrioritynormalSeveritymajorReproducibilityrandom
StatusresolvedResolutionfixed 
Platform[Client] Outlook 2016OSWindowsOS Version
Product Versionnightly v3 
Target VersionFixed in Version4.0.1 
Summary0004422: Outlook 2016 does a full mailbox re-sync couple of times a day
DescriptionI have three user, all using Outlook 2016 that complain that it is happening 1 to 2 times a day. Does not seem to happen with Android or iPhone.

I verified that max_allowed_packet is set properly.

Most re-sync instances are preceeded by SOGo returning a 503 or 501. I've attached the SOGo log showing the 503 error. I have tcpdumps as well and I noticed that the same device ID had issued another request concurrent with the one that ended in 503 error.
Additional InformationUbuntu 16.04
SOGo 3.2.10.20180225-1
TagsNo tags attached.
Attached Fileslog file icon response_503_eas.log [^] (3,905 bytes) 2018-03-13 16:37

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0012703)
gregk@kgbconsulting.ca (reporter)
2018-03-15 04:17

Another re-sync preceeded by a "EAS - Discard response" and a 503 returned to Outlook. However, the same user got 5 more "503" responses today without a re-sync.

Mar 14 17:05:36 sogod [30661]: <0x0x55dbe6c1f290[SOGoActiveSyncDispatcher]> EAS - Discard response {FolderSyncKey = "activesync_domain_ca_6dc4_20597161_1"; PingCa
chedFolders = ("mail%2Fa5e29d19dc534459b772000010c902f0", "vevent%2Fpersonal", "vcard%2Fpersonal", "mail%2Ff132a012befb78590b34000010c902f0", "mail%2Fd78ddd07060f6559
4a1200002718208d", "vtodo%2Fpersonal", "mail%2Fa13fb733122f8e59ab6a000010c902f0"); PingHeartbeatInterval = 250; PingRequest = 32497; SyncRequest = 1521061418; "SyncRe
quest+mail/Shared" = 12111; "SyncRequest+mail/a13fb733122f8e59ab6a000010c902f0" = 25901; "SyncRequest+mail/a5e29d19dc534459b772000010c902f0" = 25901; "SyncRequest+mai
l/d78ddd07060f65594a1200002718208d" = 25901; "SyncRequest+mail/f132a012befb78590b34000010c902f0" = 25901; "SyncRequest+vcard/personal" = 25901; "SyncRequest+vevent/pe
rsonal" = 25901; "SyncRequest+vtodo/personal" = 25901; }
Mar 14 17:05:36 sogod [30661]: |SOGo| request took 0.851257 seconds to execute
Mar 14 17:05:36 sogod [30661]: 68.150.85.49 "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Sync&User=user@domain.com&DeviceId=30E987C782D04B7CAF0C0C6969E3EBE
7&DeviceType=WindowsOutlook15 HTTP/1.0" 503 0/618 0.852 - - 0
User avatar (0012709)
ludovic (administrator)
2018-03-15 11:36

I think I know what can cause this. I'll work on a fix so you can test a nightly build.

- Related Changesets
sogo: master 982cbed7
Timestamp: 2018-03-15 16:01:50
Author: ludovic
Details ] Diff ]
(fix) avoid potential cache update when breaking sync queries (fixes 0004422)
mod - ActiveSync/SOGoActiveSyncDispatcher+Sync.m Diff ] File ]
mod - NEWS Diff ] File ]

- Issue History
Date Modified Username Field Change
2018-03-13 16:37 gregk@kgbconsulting.ca New Issue
2018-03-13 16:37 gregk@kgbconsulting.ca File Added: response_503_eas.log
2018-03-15 04:17 gregk@kgbconsulting.ca Note Added: 0012703
2018-03-15 11:36 ludovic Note Added: 0012709
2018-03-15 16:02 ludovic Changeset attached => sogo master 982cbed7
2018-03-15 16:02 ludovic Assigned To => ludovic
2018-03-15 16:02 ludovic Resolution open => fixed
2018-03-15 16:02 ludovic Status new => resolved
2018-03-15 16:02 ludovic Fixed in Version => 4.0.1


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker