Question

Operation timed out on Managed Redis Database

I occasionally get an operation timed out message when pinging Redis. I’m utilizing DO’s Managed Redis Database. When I was in charge of my own Redis database, I never encountered these errors.

Errors:

• Operation timed out • Error while reading line from the server.

Laravel Config:

'default' => [
   'scheme' => env('REDIS_SCHEME', 'tls'),
   'host' => env('REDIS_HOST', '127.0.0.1'),
   'password' => env('REDIS_PASSWORD', null),
   'port' => env('REDIS_PORT', 6379),
   'database' => env('REDIS_DB', 1),
// 'read_write_timeout' => 0,
],

I’ve been looking at community Q/A and they say that phpredis should work with DO Redis.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hey @dragonfire1119,

What I could suggest is making sure that you have enough resources for your managed cluster:

https://docs.digitalocean.com/products/databases/mongodb/how-to/monitor-clusters/

If you have enough resources and you are still seeing those timeout errors, please reach out to our amazing support team who will be more than happy to assist you with your issue! :)

https://www.digitalocean.com/support/

Best,

- Bobby.