Today, our Redis cluster, which has been running smoothly for several weeks, suddenly ceased to function. In the logs, I found that it’s unable to reach one of the Redis servers. I’ve checked thoroughly and confirmed that there are no issues accessing this server.
I’m seeking assistance in understanding whether the Redis settings need adjustment. Since it’s a cluster, shouldn’t it attempt to connect to another part of the Redis cluster if it can’t reach the IP on port 7000?
The error logged in nextcloud.log is as follows:
“Could not boot workflowengine: read error on connection to 10.255.10.50:7000”,“exception”:{},“CustomMessage”:“Could not boot workflowengine: read error on connection to 10.255.10.50:7000”}}
My Redis configuration in nextcloud:
‘memcache.local’ => ‘\OC\Memcache\APCu’,
‘memcache.distributed’ => ‘\OC\Memcache\redis’,
‘memcache.locking’ => ‘\OC\Memcache\redis’,
‘redis.cluster’ =>
array (
‘seeds’ =>
array (
0 => ‘10.255.10.50:7000’,
1 => ‘10.255.10.50:7001’,
2 => ‘10.255.10.50:7002’,
3 => ‘10.255.10.51:7000’,
4 => ‘10.255.10.51:7001’,
5 => ‘10.255.10.51:7002’,
6 => ‘10.255.10.52:7000’,
7 => ‘10.255.10.52:7001’,
8 => ‘10.255.10.52:7002’,
),
‘failover_mode’ => 0,
‘timeout’ => 0,
‘read_timeout’ => 0,
‘password’ => ‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx’,
‘dbindex’ => 0,
),
I did try to switch the master over to one of the slaves, but the issue is still there. Cluster status in Redis:
cluster_state:ok
cluster_slots_assigned:16384
cluster_slots_ok:16384
cluster_slots_pfail:0
cluster_slots_fail:0
cluster_known_nodes:9
cluster_size:3
cluster_current_epoch:7
cluster_my_epoch:2
cluster_stats_messages_ping_sent:3916469
cluster_stats_messages_pong_sent:3629328
cluster_stats_messages_fail_sent:7
cluster_stats_messages_auth-ack_sent:4
cluster_stats_messages_sent:7545808
cluster_stats_messages_ping_received:3629328
cluster_stats_messages_pong_received:3916467
cluster_stats_messages_fail_received:5
cluster_stats_messages_auth-req_received:4
cluster_stats_messages_received:7545804
total_cluster_links_buffer_limit_exceeded:0
Let me know if you need any further information.