From 3035c25982b5bff020cff43fba31bb0cc4cc617c Mon Sep 17 00:00:00 2001 From: Damien Arrachequesne Date: Tue, 20 Jun 2023 23:57:46 +0200 Subject: [PATCH] docs(examples): increase httpd ProxyTimeout value With a value that is too small, the HTTP long-polling request receives an HTTP 502 response code and the connection gets closed. --- examples/cluster-httpd/httpd.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/cluster-httpd/httpd.conf b/examples/cluster-httpd/httpd.conf index aa1f2b16..f8ef57bd 100644 --- a/examples/cluster-httpd/httpd.conf +++ b/examples/cluster-httpd/httpd.conf @@ -51,4 +51,4 @@ RewriteRule /(.*) balancer://nodes_ws/$1 [P,L] RewriteCond %{HTTP:Upgrade} !=websocket [NC] RewriteRule /(.*) balancer://nodes_polling/$1 [P,L] -ProxyTimeout 3 +ProxyTimeout 60 # must be bigger than pingInterval (25s by default) + pingTimeout (20s by default)