Good day
I have a droplet for which I recently introduced a firewall and I have a hosted redis server on digital ocean.
Lately I started getting and error: No connection is available to service this operation: EVAL; It was not possible to connect to the redis server(s)
My first thought might be that its the firewall but to be honest, I actually had a the firewall for a while before this error occurred but might be related. I did however try and set the outbound port to that of my redis server without it doing anything.
After I started seeing this error, I set the eviction policy to allkeys-lru on my redis server and also added security so only my droplet and home(dev) pc can connect.
Locally in my Dev env I am not getting any errors. only from my two .Net apps on my droplet.
I am not sure what might be causing this?
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!
Hello,
As you had the Firewall in place long before you were seeing the problem, it could be that the Redis instance is having some issues and might be crashing.
I could suggest checking your server logs to see if this is the case. Also, you could take a look at the monitoring graphs via your DigitalOcean control panel and see if there are any spikes during the times when you see the timeouts.
Another thing you could check is the Redis service itself and check if it has been restarted around the time of your last timeout:
systemctl status redis
Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.