Status changes to Not Connected after few hours

Hello there,

The Redis plugin shows that the connection to the server is disconnected every few hours after restarting. Once Redis is restarted from the server side, the status is changed to Connected again. I had to restart Redis whenever I saw the Status as Not connected.

I have installed Redis on Plesk using Docker. This is the diagnostic from the plugin:

Status: Not connected
Client: PhpRedis (v5.3.7)
Drop-in: Valid
Disabled: No
Ping: 1
Errors: [
    "READONLY You can't write against a read only replica."
]
PhpRedis: 5.3.7
Relay: Not loaded
Predis: Not loaded
Credis: Not loaded
PHP Version: 7.4.32
Plugin Version: 2.2.1
Redis Version: 7.0.5
Multisite: No
Metrics: Disabled
Metrics recorded: 0
Filesystem: Working
Global Prefix: "m7NqiXg6Y_"
Blog Prefix: "m7NqiXg6Y_"
Global Groups: [
    "blog-details",
    "blog-id-cache",
    "blog-lookup",
    "global-posts",
    "networks",
    "rss",
    "sites",
    "site-details",
    "site-lookup",
    "site-options",
    "site-transient",
    "users",
    "useremail",
    "userlogins",
    "usermeta",
    "user_meta",
    "userslugs",
    "redis-cache",
    "blog_meta"
]
Ignored Groups: [
    "counts",
    "plugins",
    "themes",
    "blog-details",
    "blog-id-cache",
    "blog-lookup",
    "global-posts",
    "networks",
    "rss",
    "sites",
    "site-details",
    "site-lookup",
    "site-options",
    "site-transient",
    "users",
    "useremail",
    "userlogins",
    "usermeta",
    "user_meta",
    "userslugs",
    "redis-cache",
    "blog_meta"
]
Unflushable Groups: []
Groups Types: {
    "blog-details": "ignored",
    "blog-id-cache": "ignored",
    "blog-lookup": "ignored",
    "global-posts": "ignored",
    "networks": "ignored",
    "rss": "ignored",
    "sites": "ignored",
    "site-details": "ignored",
    "site-lookup": "ignored",
    "site-options": "ignored",
    "site-transient": "ignored",
    "users": "ignored",
    "useremail": "ignored",
    "userlogins": "ignored",
    "usermeta": "ignored",
    "user_meta": "ignored",
    "userslugs": "ignored",
    "redis-cache": "ignored",
    "counts": "ignored",
    "plugins": "ignored",
    "themes": "ignored",
    "blog_meta": "ignored"
}
Drop-ins: [
    "advanced-cache.php v by ",
    "maintenance.php v by ",
    "Redis Object Cache Drop-In v2.2.1 by Till Krüss"
]

Your help will be highly appreciated. Thank you!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer