View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004217 | SOGo | ActiveSync | public | 2017-07-05 22:41 | 2017-07-10 11:26 |
Reporter | tom | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | Mobile client | OS | Google Android | OS Version | 5.1.x, 7.1.x |
Product Version | 3.2.9 | ||||
Summary | 0004217: EAS - Android contact sync | ||||
Description | We are using SOGo in iRedMail suite, but we have a problem that we cannot solve. We have a production and developing server, both have latest SOGo 3.X nightly installed. but the developing server has the latest dev iRedMail and we can test different settings there. But the problem is present in both servers as we imported a user into dev server and tested. | ||||
Steps To Reproduce | This happens to multiple users, but for example, we have 1 client that uses Android (tried on 5.1.x, 7.1.x) and Windows Outlook clients (works OK, can see all contacts) through EAS protocol. We want to sync Contacts to Android phone. We tried to set up Exchange account on Android, connect account to SOGo server address and sync only contacts. This client has more then 3000 contacts, but we can only see around 150 contacts (sometimes 0) in the phone. Also tried with different user, with around 400 contacts, same problem. We tried setting different timeout settings and some other settings in SOGo and Nginx (as reverse proxy), but no luck. | ||||
Additional Information | the following error (we think it's related, because there are no other errors) in sogo.log: We also figured, by putting SOGo in debug mode, that all contacts are pushed to the phone, but phone doesn't list them all. We tried to sync contacts on BlackBerry phone and it worked OK, all the contacts are visible. So we now eliminated other possible problems, and we narrowed it down to a point that the problem is just between SOGo and Android. Now we cannot get it working on 5+ different Android phones, so the problem is most possibly in SOGo. Any ideas what could be the problem? If more information is needed regarding this problem, please let me know. | ||||
Tags | No tags attached. | ||||
Please show your ActiveSync settings in sogo.conf and your reverse proxy (Apache or nginx). |
|
SOGo (anything else needed?): WOPort = 127.0.0.1:20000; WOWatchDogRequestTimeout = 60; Also tried with this tune: WOWatchDogRequestTimeout = 10; NGINX: Redirect /mail to /SOGo#location ~ ^/mail { rewrite ^ https://$host/SOGo; } For Mac OS X and iOS devices.rewrite ^/.well-known/caldav /SOGo/dav permanent; location ^~ /SOGo {
} location ^~ /Microsoft-Server-ActiveSync {
} location ^~ /SOGo/Microsoft-Server-ActiveSync {
} location /SOGo.woa/WebServerResources/ { |
|
Also tried to tune mysql with: And dovecot with: |
|
Try without SOGoMaximumSyncWindowSize in sogo.conf and recreate the account on a problem device. |
|
@tfu, thank you for suggestion, that actually works! Thank you very much! |
|
According to SOGo document: ######## Parameter used to overwrite the maximum number of items returned during a Sync operation. Defaults to 0, which means no overwrite is performed. Setting this parameter to a value greater than 512 will have unexpected behaviour with various ActiveSync clients. With "SOGoMaximumSyncWindowSize = 256;", Android OS 5/7 cannot sync contacts. It doesn't reach the "512" limit as mentioned in doc. So what's the recommended setting? Simply use default setting, or we need a tuning in some cases? |
|
AS you have set SOGoMaximumSyncResponseSize, you do not need to limit with SOGoMaximumSyncWindowSize too. |
|
So we'd better use either one for limit? And which one is better? ResponseSize or WindowSize? What's the "always working" setting? |
|
As object size is differing wildly (e.g. email with attachment versus one event). the ResponseSize is the restriction with better results. In my experience this works good, but I didn't test the other one as explicitly, so it probably works equally good. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2017-07-05 22:41 | tom | New Issue | |
2017-07-06 00:26 | ludovic | Priority | high => normal |
2017-07-06 00:26 | ludovic | Severity | major => minor |
2017-07-06 06:49 | Christian Mack | Note Added: 0012039 | |
2017-07-06 12:27 | tom | Note Added: 0012043 | |
2017-07-06 14:27 | tom | Note Added: 0012045 | |
2017-07-07 05:26 | tfu | Note Added: 0012054 | |
2017-07-07 13:28 | tom | Note Added: 0012062 | |
2017-07-09 13:57 | zhb | Note Added: 0012069 | |
2017-07-10 07:50 | Christian Mack | Note Added: 0012070 | |
2017-07-10 07:55 | zhb | Note Added: 0012071 | |
2017-07-10 11:26 | Christian Mack | Note Added: 0012072 |