No Contacts via Activesync on Blackberry

NethServer Version: 7.6.1810
Module: Sogo 4.0.5

Last weekend we upgraded from Neth6 to Neth7.
After some problems most modules ok, but activsync from sogo >> blackberry only syncing mails - no contacts !
In sogo there are 470 contacts - lesser then 512 - I read about special problems >512 contacts.
We set SOGoMaximumSyncWindowSize = 500
The old neth6 is just existing, and there is no problem with the same device !
With iPad also no problems …
There are our sogo.conf and sogo.log:

####### /etc/sogo/sogo.conf ##############

/* 70 Active Sync options and tuning */

SOGoMaximumPingInterval = 3540;

SOGoMaximumSyncInterval = 3540;

SOGoInternalSyncInterval = 30;

SOGoMaximumSyncResponseSize = 2048;

SOGoMaximumSyncWindowSize = 500;

WOWatchDogRequestTimeout = 60;

WOWorkersCount = 30;

/* 75 enable cal- and carddav */

SOGoAddressBookDAVAccessEnabled = YES;

SOGoCalendarDAVAccessEnabled = YES;

/* 80 Debug */

//SOGoDebugRequests = YES;

###### sogo.log #######

Feb 13 08:15:26 sogod [21169]: 80.187.99.21 "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Sync&User=user01&DeviceId=androidc2110625610&DeviceType=BlackBerry HTTP/1.1" 200 0/338 0.706 - - 0

Feb 13 08:15:28 sogod [25671]: <0x0x56304d26e380[SOGoActiveSyncDispatcher]> Sleeping 30 seconds while detecting changes for user user06 in Ping…

Feb 13 08:15:51 sogod [4364]: [WARN] <0x0x56304c8004c0[WOWatchDogChild]> pid 4003 has been hanging in the same request for 1 minutes

Feb 13 08:15:52 sogod [4003]: <0x0x56304ccb86b0[SOGoActiveSyncDispatcher]> Sleeping 30 seconds while detecting changes for user user01 in Ping…

Feb 13 08:15:55 sogod [4364]: [WARN] <0x0x56304c7ff870[WOWatchDogChild]> pid 25671 has been hanging in the same request for 7 minutes

Feb 13 08:15:58 sogod [25671]: <0x0x56304d26e380[SOGoActiveSyncDispatcher]> Sleeping 30 seconds while detecting changes for user user06 in Ping…

Feb 13 08:16:22 sogod [4003]: <0x0x56304ccb86b0[SOGoActiveSyncDispatcher]> Sleeping 30 seconds while detecting changes for user user01 in Ping…

Feb 13 08:16:28 sogod [25671]: <0x0x56304d26e380[SOGoActiveSyncDispatcher]> Sleeping 30 seconds while detecting changes for user user06 in Ping…

Feb 13 08:16:51 sogod [4364]: [WARN] <0x0x56304c8004c0[WOWatchDogChild]> pid 4003 has been hanging in the same request for 2 minutes

Feb 13 08:16:53 sogod [4003]: <0x0x56304ccb86b0[SOGoActiveSyncDispatcher]> Sleeping 30 seconds while detecting changes for user user01 in Ping…

Feb 13 08:16:55 sogod [4364]: [WARN] <0x0x56304c7ff870[WOWatchDogChild]> pid 25671 has been hanging in the same request for 8 minutes

Feb 13 08:16:58 sogod [25671]: <0x0x56304d26e380[SOGoActiveSyncDispatcher]> Sleeping 30 seconds while detecting changes for user user06 in Ping…

Feb 13 08:17:23 sogod [4003]: <0x0x56304ccb86b0[SOGoActiveSyncDispatcher]> Sleeping 30 seconds while detecting changes for user user01 in Ping…

Feb 13 08:17:29 sogod [25671]: <0x0x56304d26e380[SOGoActiveSyncDispatcher]> Sleeping 30 seconds while detecting changes for user user06 in Ping…

Feb 13 08:17:51 sogod [4364]: [WARN] <0x0x56304c8004c0[WOWatchDogChild]> pid 4003 has been hanging in the same request for 3 minutes

Feb 13 08:17:53 sogod [4003]: <0x0x56304ccb86b0[SOGoActiveSyncDispatcher]> Sleeping 30 seconds while detecting changes for user user01 in Ping…

Feb 13 08:17:55 sogod [4364]: [WARN] <0x0x56304c7ff870[WOWatchDogChild]> pid 25671 has been hanging in the same request for 9 minutes

Feb 13 08:17:59 sogod [25671]: <0x0x56304d26e380[SOGoActiveSyncDispatcher]> Sleeping 30 seconds while detecting changes for user user06 in Ping…

Feb 13 08:18:23 sogod [4003]: <0x0x56304ccb86b0[SOGoActiveSyncDispatcher]> Sleeping 30 seconds while detecting changes for user user01 in Ping…

Feb 13 08:18:29 sogod [25671]: <0x0x56304d26e380[SOGoActiveSyncDispatcher]> Sleeping 30 seconds while detecting changes for user user06 in Ping…

Feb 13 08:18:42 sogod [21169]: <0x0x56304c935780[SOGoActiveSyncDispatcher]> Sleeping 30 seconds while detecting changes for user user06 in Ping…

Feb 13 08:18:51 sogod [4364]: [WARN] <0x0x56304c8004c0[WOWatchDogChild]> pid 4003 has been hanging in the same request for 4 minutes

Feb 13 08:18:53 sogod [1214]: 80.187.113.68 "POST /SOGo/Microsoft-Server-ActiveSync?User=user06&DeviceId=IKBSNHQF19091C1QTH7NSCAGLG&DeviceType=iPhone&Cmd=Sync HTTP/1.1" 200 0/104 0.498 - - 0

Is there any idea, what is wrong ?
Thank you !

Hi, Blackberry has at least two or three generations of devices therefore: which model of Blackberry are you using?
The latest Android-based TCL phones?

1 Like

Yes, the latest with android !

Shame on me, i could read better the logs
Feb 13 08:15:26 sogod [21169]: 80.187.99.21 "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Sync&amp;User=user01&amp;DeviceId=androidc2110625610&amp;DeviceType=BlackBerry HTTP/1.1" 200 0/338 0.706 - - 0
Any other android device has been tested?

Hallo,
sorry for late answer - but we had to do other things too.

Yesterday in the evening we tried two devices - both the same failure - no sync of contacts on:

  • Blackberry with android 6.0.1
  • Blackberry with android 8.1.0
    Now we will try to get a SAMSUNG or so to check this …

Hallo,
we have a problem to find someone with “normal” smartphone, who allowed us to test activesync…
We tested with iPhones and iPad >> all OK, emails and contacts are synchronise.
What could this meaning ?

This could mean that the setup with Android maybe is not the correct one.

I have a spare S3 with a custom ROM installed, you could try to add an test account with some address book entries, and provide me with credentials only for test.
Also you could try to install a different email client: with webtop and ActiveSync I used VMware boxer; imho this is not the best option with Blackberry devices, they have an interesting software like the BlackBerry Hub, and use this seems me more interesting. But it’s troubleshooting… Try to work around the issue :wink:

Hallo pike,
thank you very much, for your helpfulness, but we will find at monday a “private” solution for android-smartphone …
btw… we have a second building site:
Now we use a self-signed certificate … could this be the troublemaker ?
Perhaps Blackberry don’t accept this !
We tried to generate without success a LetsEncrypt certificate, but this should be another topic …

I do not have an Blackberry Phone, so i can’t answer you.
Anyway, use Let’s Encrypt needs only http published (80 port) and a public hostname verified from your installation. Therefore it’s fully automatic.

Hallo pike;
we have found a way:

  • if you put only a few contacts - they sync with no problems between the devices
    the same with deleting contacts
  • only the acquisition of the base (470 contacts) of sogo to the BlackBerry is NOT working
  • are only 30 contacts in sogo available, the takeover works to Blackberry!

we think that there is a problem from a certain number of contacts. The critical value of 512 mentioned in the documents is not correct - it is lower!

In the meantime, we’ve gotten different way:

  • Create an account6 ​​on Blackberry with access to Neth6 --> All 470 contacts will be transfered
  • Create an account7 on Blackberry with access to Neth7
  • Transfer to Blackberry Contacts from Account6 ​​to Account7 --> All contacts will be transfered
  • also in sogo the transfer is observed: the number of contacts grows in portions to 25 contacts, until all 470 are transfered

Our problem is solved for the time being, but the cause has not been eliminated !!
Now let’s tackle the next problem - LetsEncrypt - but this will be a new topic

1 Like

Hope that this case can ring a bell for the fabulous @stephdl

I tried activesync with microsoft mobile, I recalled a lot of attempts with some certificates issues, maybe it is your problems, but at the end I succeeded to get it in work. With an Iphone8+, it was a complete fail :smiley:

I suppose that the log or error messages could be found on the remote client, and not on the server