[horde] Active sync ping error

R.J.Baart at Prompt.nl R.J.Baart at Prompt.nl
Wed Feb 25 11:15:31 UTC 2026


I think I found the solution. I added the following line in the nginx 
configuration:

       location ^~ /horde/rpc/ {

         ...
          fastcgi_keep_conn on;

         ....
       }

Problem solved.


Op 2026-02-18 om 14:34 schreef Ruud Baart:
> Horde 6, Debian trixie, php 8.4, nginx 1.26
>
> There is an error that I just can't seem to resolve. As far as I can 
> see, the ActiveSync clients are working fine. In the log files, I see 
> that only the ActiveSync ping (Cmd=Ping) commands are not working. I 
> don't really understand what is going wrong. The sync (Cmd=Sync) 
> commands are working fine. Perhaps it is a configuration error, but I 
> don't know what I should change. I also don't know what the 
> consequences of this error are.
>
> I don't think it is a rewrite problem in the nginx configuration. 
> Also, I don't expect the time out error
>
>     (110: Connection timed out) while reading response header from 
> upstream ....
>
> is due to server side problems because this is the only site and only 
> message of this type on the server.  It seems strange to me that the 
> time out is coming very fast, even before nginx logs the rewrite.
>
> Perhaps I did something wrong in horde conf.php:
>
> $conf['activesync']['ping']['heartbeatmin'] = 60;
> $conf['activesync']['ping']['heartbeatmax'] = 2700;
> $conf['activesync']['ping']['heartbeatdefault'] = 480;
> $conf['activesync']['ping']['deviceping'] = true;
> $conf['activesync']['ping']['waitinterval'] = 15;
> $conf['activesync']['ping']['maximumwindowsize'] = 0;
> $conf['activesync']['ping']['maximumrequestwindowsize'] = 0;
>
> The error and the rewrite log from nginx:
>
> 2026/02/18 13:59:56 [error] 1217449#1217449: *158695 upstream timed 
> out (110: Connection timed out) while reading response header from 
> upstream, client: 37.66.52.174, server: abc.def.fr, request: "POST 
> /Microsoft-Server-ActiveSync?Cmd=Ping&User=name%40def.fr&DeviceId=androidc588464893&DeviceType=Android 
> HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.4-fpm.sock", host: 
> "abc.def.fr"
>
> 2026/02/18 13:59:57 [notice] 1217449#1217449: *158695 rewritten data: 
> "/horde/rpc.php", args: 
> "Cmd=Ping&User=name%40def.fr&DeviceId=androidc588464893&DeviceType=Android", 
> client: 37.66.52.174, server: abc.def.fr, request: "POST 
> /Microsoft-Server-ActiveSync?Cmd=Ping&User=name%40def.fr&DeviceId=androidc588464893&DeviceType=Android 
> HTTP/1.1", host: "abc.def.fr"
>
> in php8.4-fpm.log no errors or warnings
>
-- 

Cordialement,

*

R.J. Baart

*


More information about the horde mailing list