I have Debian 7 with dovecot and I'm trying to use ActiveSync with SOGo 2.2.8 but I can't get it working (currently working with bugs via z-push).

When my (4.4.4 Android) phone tries to push a new calendar event it created, I get on the server:

Sep 12 12:33:21 sogod [24610]: [WARN] <0x0x7fef42e9c6c0[SOGoWebDAVAclManager]> entry '{DAV:}write' already exists in DAV permissions table Sep 12 12:33:21 sogod [24610]: [WARN] <0x0x7fef42e9c6c0[SOGoWebDAVAclManager]> entry '{DAV:}write-properties' already exists in DAV permissions table Sep 12 12:33:21 sogod [24610]: [WARN] <0x0x7fef42e9c6c0[SOGoWebDAVAclManager]> entry '{DAV:}write-content' already exists in DAV permissions table EXCEPTION: <NSException: 0x7fef42f55740> NAME:NSInvalidArgumentException REASON:GSCInlineString(instance) does not recognize objectForKey: INFO:(null) Sep 12 12:33:21 sogod [23118]: <0x0x7fef42a92250[WOWatchDogChild]> child 24610 exited Sep 12 12:33:21 sogod [23118]: <0x0x7fef42a92250[WOWatchDogChild]> (terminated due to signal 6) Sep 12 12:33:21 sogod [23118]: <0x0x7fef42a1bc40[WOWatchDog]> child spawned with pid 24646 Sep 12 12:33:21 sogod [24646]: <0x0x7fef42df6860[SOGoCache]> Cache cleanup interval set every 300.000000 seconds Sep 12 12:33:21 sogod [24646]: <0x0x7fef42df6860[SOGoCache]> Using host(s) 'localhost' as server(s)

The phone claims to successfully sync, but the event does not show up in webmail.

Additionally, I sometimes see when trying to sync:

Sep 12 11:14:22 sogod [2737]: [ERROR] <0x0x7fcff2e5bf60[NGImap4Connection]> could not sort contents of URL: imap://user2@localhost:143/%28null%29/ 2014-09-12 11:14:22.633 sogod[2737] Sleeping 10 seconds while detecting changes... Sep 12 11:14:32 sogod [2737]: <0x0x7fcff2e4db10[NGImap4Client]> Note: no key found for sorting, using 'DATE': (null) Sep 12 11:14:32 sogod [2737]: [ERROR] <0x0x7fcff2e5bf60[NGImap4Connection]> could not sort contents of URL: imap://user2@localhost:143/%28null%29/ 2014-09-12 11:14:32.901 sogod[2737] Sleeping 10 seconds while detecting changes... <0x0x7fcff2bcc450[WOHttpTransaction]> client disconnected during delivery of response for <WORequest[0x0x7fcff2d90f40]: method=POST uri=/SOGo/Microsoft-Server-ActiveSync?Cmd=Sync&User=user2&DeviceId=EFGH&DeviceType=Android app=SOGo rqKey=Microsoft-Server-ActiveSync rqPath=(null)> (len=74): the socket was shutdown localhost - - [12/Sep/2014:11:14:42 GMT] "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Sync&User=user2&DeviceId=EFGH&DeviceType=Android HTTP/1.0" 200 74/101 92.805 - - 1M 2014-09-12 11:15:18.314 sogod[2737] ERROR(-[NGBundleManager bundleWithPath:]): could not create bundle for path: '/usr/share/GNUstep/Libraries/gnustep-base/Versions/1.22/Resources/SSL.bundle'
2014-09-12 11:15:18.397 sogod[2737] WOCompoundElement: pool embedding is on.
2014-09-12 11:15:18.397 sogod[2737] WOCompoundElement: id logging is on.



I've been told this is normal, but reading the logs is very hard because the logs are flooded with this once a second (from a stock Galaxy S3 phone):

localhost - - [12/Sep/2014:12:33:14 GMT] "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Ping&User=user1&DeviceId=ABCD&DeviceType=SAMSUNGSGHT999 HTTP/1.0" 200 13/0 0.511 - - 0 2014-09-12 12:33:15.283 sogod[24610] -[WEClientCapabilities initWithRequest:]: Unknown WebClient: user-agent='SAMSUNG-SGH-T999/100.40102' localhost - - [12/Sep/2014:12:33:15 GMT] "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Ping&User=user1&DeviceId=ABCD&DeviceType=SAMSUNGSGHT999 HTTP/1.0" 200 13/0 0.509 - - 0 2014-09-12 12:33:16.014 sogod[24610] -[WEClientCapabilities initWithRequest:]: Unknown WebClient: user-agent='SAMSUNG-SGH-T999/100.40102' localhost - - [12/Sep/2014:12:33:16 GMT] "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Ping&User=user1&DeviceId=ABCD&DeviceType=SAMSUNGSGHT999 HTTP/1.0" 200 13/0 0.506 - - 0 2014-09-12 12:33:16.787 sogod[24610] -[WEClientCapabilities initWithRequest:]: Unknown WebClient: user-agent='SAMSUNG-SGH-T999/100.40102' localhost - - [12/Sep/2014:12:33:17 GMT] "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Ping&User=user1&DeviceId=ABCD&DeviceType=SAMSUNGSGHT999 HTTP/1.0" 200 13/0 0.505 - - 0 2014-09-12 12:33:17.523 sogod[24610] -[WEClientCapabilities initWithRequest:]: Unknown WebClient: user-agent='SAMSUNG-SGH-T999/100.40102' localhost - - [12/Sep/2014:12:33:18 GMT] "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Ping&User=user1&DeviceId=ABCD&DeviceType=SAMSUNGSGHT999 HTTP/1.0" 200 13/0 0.513 - - 0 2014-09-12 12:33:18.322 sogod[24610] -[WEClientCapabilities initWithRequest:]: Unknown WebClient: user-agent='SAMSUNG-SGH-T999/100.40102' localhost - - [12/Sep/2014:12:33:18 GMT] "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Ping&User=user1&DeviceId=ABCD&DeviceType=SAMSUNGSGHT999 HTTP/1.0" 200 13/0 0.510 - - 0 2014-09-12 12:33:19.163 sogod[24610] -[WEClientCapabilities initWithRequest:]: Unknown WebClient: user-agent='SAMSUNG-SGH-T999/100.40102'


I'm using nginx and my config is pretty simple:

location ^~ /Microsoft-Server-ActiveSync {
proxy_pass http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync; proxy_redirect http://127.0.0.1:20000/Microsoft-Server-ActiveSync /;
     }


Any ideas on how to troubleshoot? Are other people having issues with ActiveSync? I don't think I'm doing anything weird with my configuration, but maybe something about nginx proxying?

Thanks,

Ben



--
[email protected]
https://inverse.ca/sogo/lists

Reply via email to