I dont know where to put in nginx, but you shoulld have a timeout in nginx for active sync. Like:ProxyPass /Microsoft-Server-ActiveSync \http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync \retry=60 connectiontimeout=5 timeout=3600
Am Mittwoch, November 16, 2016 13:34 CET, "Andreas" ([email protected]) <[email protected]> schrieb: Here is the nginx config for SOGo: location ^~/SOGo { proxy_pass http://127.0.0.1:20000; proxy_redirect http://127.0.0.1:20000 default; # forward user's IP address proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $host; proxy_set_header x-webobjects-server-protocol HTTP/1.0; proxy_set_header x-webobjects-remote-host 127.0.0.1; proxy_set_header x-webobjects-server-name $server_name; proxy_set_header x-webobjects-server-url $scheme://$host; proxy_set_header x-webobjects-server-port $server_port; proxy_connect_timeout 90; proxy_send_timeout 90; proxy_read_timeout 90; proxy_buffer_size 4k; proxy_buffers 4 32k; proxy_busy_buffers_size 64k; proxy_temp_file_write_size 64k; break; } Am Mi, 16. Nov 2016, um 08:44, schrieb martin:How long does you nginx keeps the connection open?Could you post your nginx conf for sogo? Am Dienstag, November 15, 2016 21:57 CET, "Andreas" ([email protected]) <[email protected]> schrieb: Hi, I am facing issues with ActiveSync while only having one client (1device) on the server. My logs say: mail1 sogo.log: Nov 15 21:45:36 sogod [17252]: [ERROR]<0x0x56309eb3b0a0[WOHttpTransaction]> client disconnected duringdelivery of response for <WORequest[0x0x56309eaf74e0]: method=POSTuri=/SOGo/[email protected]&DeviceId=F3SIOJ32FH08BACH0U077OOA64&DeviceType=iPhone&Cmd=Pingapp=SOGo rqKey=Microsoft-Server-ActiveSync rqPath=(null)> (len=13): thesocket was shutdown Sometimes even my nginx crashes. This is my configuration in nginx:location ^~ /Microsoft-Server-ActiveSync {proxy_passhttp://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync;proxy_redirect http://127.0.0.1:20000/Microsoft-Server-ActiveSync/;}location ^~ /SOGo/Microsoft-Server-ActiveSync {proxy_passhttp://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync;proxy_redirecthttp://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync /;} This is my config in sogo.conf WOWorkersCount = 15;SOGoMaximumPingInterval = 3540;SOGoMaximumSyncInterval = 3540;SOGoInternalSyncInterval = 30; What could be the reason for the crashes? SOGo web interface is workingpretty good ... Thanks, [email protected]https://inverse.ca/sogo/lists [email protected]https://inverse.ca/sogo/lists -- [email protected] https://inverse.ca/sogo/lists -- [email protected] https://inverse.ca/sogo/lists
