Hi Daniel

Am 06.08.2015 um 00:39 schrieb Daniel Bareiro:
> On 05/08/15 17:05, Andreas Hainke wrote:
>
>> Hi Daniel
> Hi, Andreas.
>
>> Have a look at /etc/default/sogo, PREFORK=xyz overrides the setting of
>> WOWorkersCount. But this setting is only relevant if sogo logs messages like
>> Aug 05 08:00:38 sogod [720]: [ERROR] <0x0x7f1ce01f7000[WOWatchDog]> No
>> child available to handle incoming request!
> Thanks for the observation. Just today I've noticed a lot of lines of
> this type when sync with Android and ActiveSync (few minutes ago I sent
> an email with some tests I made with Android without any problem). In
> Debian the PREFORK line (PREFORK=3) was commented. So I added a line
> with PREFORK=20. After that, so far I have not seen lines with "No child
> available to handle incoming request!"
Is Android working properly in your case with ActiveSync? E-mail works
fine for me but I can't see any calender, tasks or contacts. If I force
the synchronization it takes ages to complete and I see no data at all.
Which version of Android are you using? I'm using 5.1.1

While synching with Android a whole bunch of messages are logged like these:
[...]
Aug 05 11:24:24 sogod [1154]: 10.10.10.112 "POST
/SOGo/Microsoft-Server-ActiveSync?Cmd=Sync&User=test1%40piraten.lan&DeviceId=android1422999340364&DeviceType=Android
HTTP/1.1" 200 1947/102 1.395 - - -60K
Aug 05 11:24:26 sogod [1154]:
<0x0x7f1e059c9ef0[SOGoActiveSyncDispatcher]> Change detected, we push
the content.
Aug 05 11:24:26 sogod [1154]: 10.10.10.112 "POST
/SOGo/Microsoft-Server-ActiveSync?Cmd=Sync&User=test1%40piraten.lan&DeviceId=android1422999340364&DeviceType=Android
HTTP/1.1" 200 73/58 0.521 - - 0
Aug 05 11:24:27 sogod [1154]: <0x0x7f1e059d2960[NGImap4Client]> Note: no
key found for sorting, using 'DATE': (null)
Aug 05 11:24:28 sogod [1154]:
<0x0x7f1e060b4e30[SOGoActiveSyncDispatcher]> Change detected, we push
the content.
Aug 05 11:24:28 sogod [1154]: 10.10.10.112 "POST
/SOGo/Microsoft-Server-ActiveSync?Cmd=Sync&User=test1%40piraten.lan&DeviceId=android1422999340364&DeviceType=Android
HTTP/1.1" 200 4018/97 1.289 - - 536K
Aug 05 11:24:29 sogod [1154]:
<0x0x7f1e05f6c5d0[SOGoActiveSyncDispatcher]> Change detected, we push
the content.
Aug 05 11:24:29 sogod [1154]: 10.10.10.112 "POST
/SOGo/Microsoft-Server-ActiveSync?Cmd=Sync&User=test1%40piraten.lan&DeviceId=android1422999340364&DeviceType=Android
HTTP/1.1" 200 53/121 0.011 - - 0
Aug 05 11:24:29 sogod [1154]:
<0x0x7f1e0602e6e0[SOGoActiveSyncDispatcher]> Change detected, we push
the content.
Aug 05 11:24:29 sogod [1154]: 10.10.10.112 "POST
/SOGo/Microsoft-Server-ActiveSync?Cmd=Sync&User=test1%40piraten.lan&DeviceId=android1422999340364&DeviceType=Android
HTTP/1.1" 200 298/65 0.079 - - 0
[...]


>
>>> What strikes me is that I don't see on /var/log/apache2/access.log any
>>> access to /Microsoft-Server-ActiveSync from the virtual machine where
>>> I'm doing tests with Windows. Do you see any entry in your Apache from
>>> the Outlook IP to access /Microsoft-Server-ActiveSync?
>> Yes I have quite a lot of entries in the access log like this:
>>
>> 10.10.10.190 - - [05/Aug/2015:10:52:41 +0200] "POST
>> /Microsoft-Server-ActiveSync?Cmd=Ping&User=te...@piraten.lan&DeviceId=C199A908AC31425381AA3BCA7BDA590E&Dev
>> iceType=WindowsOutlook15 HTTP/1.1" 502 793 "-" "Outlook/15.0
>> (15.0.4737.1000; C2R; x86)"
> Perfect! Thank you for the confirmation!
>
>>> I also see that the documentation says on page 50: "Outlook 2013 does
>>> not search the GAL. One possible alternative solution is to configure
>>> Outlook to use LDAP server (over SSL) with authentication".
>>>
>>> Are you using Outlook with LDAP? Currently I'm using a MySQL database
>>> for authenticating the users of SOGo, not LDAP. Nor am I using Apache
>>> SSL connections. Could this affect the connection issue? Anyway, I guess
>>> I would have to see at least some entry on the Apache log.
>> I'm using LDAP, but only for SOGo user authentication. I haven't changed
>> anything for the global address list. GAL is not available in my setup.
> Good. Thank you for the confirmation.
>
>> I traced it down, like you suggested, not using SSL could be the
>> problem. I tried to setup Outlook 2013 with plain http and get an error
>> while account configuration dialog. I captured the traffic with
>> wireshark. Outlook 2013 only tries to connect to port 443 in my case
>> even if I supply the server address including port. That seems to be the
>> problem. Try to enable SSL.
>>
>> Surprisingly using Windows Mail (shipped with Windows 10) and ActiveSync
>> works with plain http.
> Interesting. With this I can say that I see some light at the end of the
> tunnel :-) I also appreciate that you've taken the time to make a
> Wireshark capture. It was something that today crossed my mind (I was
> running out my choices).
>
> I'll do a test configuring the access to SOGo with https and I'll let
> you know the results. Have you had any problems in Outlook using
> self-signed certificates?
>
>
> Thank you very much for your time.
>
>
> Best regards,
> Daniel
>
>
Kind regards,
Andreas

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to