Onlyoffice 9.10 whit haproxy, redisClient error Error: Socket closed unexpectedly

Hello
i’ve 3 node whit
nginx-1.28.0-1.el8.ngx.x86_64
onlyoffice-documentserver-ee-9.1.0-168.el7.x86_64
erlang-26.2.5.4-1.el8.x86_64
redis-8.2.2-3.module_redis.8.2.el8.remi.x86_64
haproxy-1.8.27-5.el8_10.1.x86_64

the redis has confiugured whi 2 slave and 1 master, haproxy loadbalancer. before patching to 7.2 to 9.10 no error messages after that:

Nov 05 08:58:28 lcmdsonlyoff02 sh[106469]: [2025-11-05T08:58:28.829] [ERROR] [localhost] [docId] [userId] nodeJS - redisClient error Error: Socket closed unexpectedly
Nov 05 08:58:28 lcmdsonlyoff02 sh[106469]: at Socket. (/snapshot/server/DocService/node_modules/@redis/client/dist/lib/client/socket.js:194:118)
Nov 05 08:58:28 lcmdsonlyoff02 sh[106469]: at Object.onceWrapper (node:events:642:26)
Nov 05 08:58:28 lcmdsonlyoff02 sh[106469]: at Socket.emit (node:events:527:28)
Nov 05 08:58:28 lcmdsonlyoff02 sh[106469]: at TCP. (node:net:709:12)

haproxy.cfg

#---------------------------------------------------------------------
# Example configuration for a possible web application.  See the
# full configuration options online.
#
#   https://www.haproxy.org/download/1.8/doc/configuration.txt
#
#---------------------------------------------------------------------

#---------------------------------------------------------------------
# Global settings
#---------------------------------------------------------------------
global
    log         127.0.0.1 local2
    chroot      /var/lib/haproxy
    pidfile     /var/run/haproxy.pid
    maxconn     4000
    user        haproxy
    group       haproxy
    daemon
    stats socket /var/lib/haproxy/stats
    ssl-default-bind-ciphers PROFILE=SYSTEM
    ssl-default-server-ciphers PROFILE=SYSTEM

#---------------------------------------------------------------------
# common defaults that all the 'listen' and 'backend' sections will
# use if not designated in their block
#---------------------------------------------------------------------
defaults
    mode                    http
    log                     global
    option                  httplog
    option                  dontlognull
    option http-server-close
    option forwardfor       except 127.0.0.0/8
    option                  redispatch
    retries                 3
    timeout http-request    10s
    timeout queue           1m
    timeout connect         10s
    timeout client          1m
    timeout server          1m
    timeout http-keep-alive 10s
    timeout check           10s
    maxconn                 3000

#---------------------------------------------------------------------
# main frontend which proxys to the backends
#---------------------------------------------------------------------
frontend main
    bind *:5000
    acl url_static       path_beg       -i /static /images /javascript /stylesheets
    acl url_static       path_end       -i .jpg .gif .png .css .js
    use_backend static          if url_static
    default_backend             app

#---------------------------------------------------------------------
# static backend for serving up images, stylesheets and such
#---------------------------------------------------------------------
backend static
    balance     roundrobin
    server      static 127.0.0.1:4331 check

#---------------------------------------------------------------------
# round robin balancing between the various backends
#---------------------------------------------------------------------
backend app
    balance     roundrobin
    server  app1 127.0.0.1:5001 check
    server  app2 127.0.0.1:5002 check
    server  app3 127.0.0.1:5003 check
    server  app4 127.0.0.1:5004 check

# Config custom per OnlyOffice
# rif:
#   GPT22C22_MdS_documento_architetturale_installazione_opensource.pdf
defaults REDIS
    mode tcp
    timeout connect 10s
    timeout server 3600s
    timeout client 3600s
    timeout tunnel 3600s
    timeout check 5s
frontend f_redis
    bind *:6379 name redis
    default_backend bk_redis

backend bk_redis
    balance first
    option tcp-check
    tcp-check connect
    tcp-check send PING\r\n
    tcp-check expect string +PONG
    tcp-check send info\ replication\r\n
    tcp-check expect string role:master
    tcp-check send QUIT\r\n
    tcp-check expect string +OK
    server R1 10.175.0.80:6380 check inter 5s fall 3 rise 2
    server R2 10.175.0.81:6380 check inter 5s fall 3 rise 2
    server R3 10.175.0.82:6380 check inter 5s fall 3 rise 2

local.jason

{
“services”: {
“CoAuthoring”: {
“sql”: {
“dbHost”: “127.0.0.1”,
“dbName”: “onlyoffice”,
“dbUser”: “onlyoffice”,
“dbPass”: “test123”,
“type”: “mysql”,
“dbPort”: “6446”
},
“redis”: {
“host”: “127.0.0.1”,
“port”: “6379”
},
“token”: {
“enable”: {
“request”: {
“inbox”: true,
“outbox”: true
},
“browser”: true
},
“inbox”: {
“header”: “Authorization”
},
“outbox”: {
“header”: “Authorization”
}
},
“secret”: {
“inbox”: {
“string”: “test123”
},
“outbox”: {
“string”: “test123”
},
“session”: {
“string”: “test123”
},
“browser”: {
“string”: “test123”
}
}
}
},
“queue”: {
“type”: “rabbitmq”
},
“rabbitmq”: {
“url”: “amqp://guest:guest@127.0.0.1”
},
“storage”: {
“fs”: {
“secretString”: “BZCKaBOwgNxMJ456NnOX”
}
},
“wopi”: {
“enable”: false,
etc etccccc
}
}

Hello @Mistake

Did you try to reproduce it with integrated test example? If so, please check out logs of converter and docservice services for more information.

By the way, is it DEB/RPM package installation?