Re: [SOGo] Outlook getting Disconnected

2016-09-23 Thread Ludovic Marcotte

On 2016-09-23 12:37 PM, emilio.fons...@mav.com.br wrote:


So, it is already with a timeout big enough, right?

No, with:

SOGoMaximumPingInterval = 3540;
SOGoMaximumSyncInterval = 3540;
SOGoInternalSyncInterval = 60;

SOGo could up to 3600 seconds to return, so it needs to be higher and than.

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  http://inverse.ca
Inverse inc. :: Leaders behind SOGo (http://sogo.nu), PacketFence 
(http://packetfence.org) and Fingerbank (http://fingerbank.org)

--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Outlook getting Disconnected

2016-09-23 Thread emilio.fons...@mav.com.br
Em 2016-09-23 11:31, Ludovic Marcotte escreveu:

> On 2016-09-23 10:29 AM, emilio.fons...@mav.com.br (emilio.fons...@mav.com.br) 
> wrote:
> 
>> SOGoMaximumPingInterval = 3540;
>> SOGoMaximumSyncInterval = 3540;
> Your HTTP server proxying requests to SOGo is likely closing the connection 
> due to a timeout. Increase the timeout values to 1 hour.

Sorry, I forgot to say, here is my nginx configuration: 

location ^~ /Microsoft-Server-ActiveSync {
proxy_pass
http://sogo.service.consul:2/SOGo/Microsoft-Server-ActiveSync;
proxy_connect_timeout 3540;
proxy_send_timeout 3540;
proxy_read_timeout 3540;
proxy_buffers 64 256k;
} 

So, it is already with a timeout big enough, right?
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Outlook getting Disconnected

2016-09-23 Thread Ludovic Marcotte
On 2016-09-23 10:29 AM, emilio.fons...@mav.com.br 
(emilio.fons...@mav.com.br) wrote:



SOGoMaximumPingInterval = 3540;
SOGoMaximumSyncInterval = 3540;
Your HTTP server proxying requests to SOGo is likely closing the 
connection due to a timeout. Increase the timeout values to 1 hour.


--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  http://inverse.ca
Inverse inc. :: Leaders behind SOGo (http://sogo.nu), PacketFence 
(http://packetfence.org) and Fingerbank (http://fingerbank.org)

--
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] Outlook getting Disconnected

2016-09-23 Thread emilio.fons...@mav.com.br
Hello everyone,

With some accounts, I am getting a disconnected message in Outlook.
Looking into sogo.log, I see some errors like "client disconnected during 
delivery of response" that I suppose to be linked to the message in Outlook.
As example of the error message:

Sep 23 10:05:06 sogod [61]: [ERROR] <0x0x55ec8bec6760[WOHttpTransaction]> 
client disconnected during delivery of response for 
 (len=0): the socket 
was shutdown
Sep 23 10:05:06 sogod [61]: nginx-mail_1.mail "POST 
/SOGo/Microsoft-Server-ActiveSync?Cmd=SendMail&User=user@domain&DeviceId=C9E7F84151614479BB4F03C981A96B06&DeviceType=WindowsOutlook15
 HTTP/1.1" 200 0/29588 4.193 - - 3M
Sep 23 10:05:07 sogod [68]: [ERROR] <0x0x55ec8c1345c0[WOHttpTransaction]> 
client disconnected during delivery of response for 
 (len=0): the socket 
was shutdown


Because of this, I changed my EAS conf to:
SOGoMaximumSyncWindowSize = 1;
SOGoMaximumSyncResponseSize = 5172;
SOGoMaximumPingInterval = 3540;
SOGoMaximumSyncInterval = 3540;
SOGoInternalSyncInterval = 60;
WOWatchDogRequestTimeout = 50;

If I understood well, with SOGoMaximumSyncWindowSize = 1, EAS should sync only 
one item and, although it could be very slow, the client should never get 
disconnected.

Could anyone help me to know if the error message is really linked to the 
Outlook message and, if yes, am I correct when I think that the client should 
never get disconnected with these configurations?

Best regards, thanks you all.
--Emílio Fonseca
Development Analyst
Mav Tecnologia - (31) 3211-
-- 
users@sogo.nu
https://inverse.ca/sogo/lists