Intermittent redis connection issues
Getting about a dozen of these per day:
Error connecting to Redis on containers-us-west-41.railway.app:6553 (Redis::TimeoutError)
/usr/local/rvm/gems/ruby-3.1.2/gems/redis-4.8.0/lib/redis/client.rb:398:in `rescue in establish_connection'
Or:
Redis::TimeoutError
My project:
project/76e242e9-db08-4279-a677-6c0063fdb9ce
Is there something I should update to fix this?
16 Replies
Hey @honzasterba, are you still seeing this?
Hi I'm getting this error
quite worried as it's causing my app to seriously break
have not seen this in a couple of days
I’ve seen it infrequently but idk if it’s a problem with my app or railway
I switched over to another dedicated redis provider to see if it changes anything
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
I’ve switched to another Redis and the problem mostly went away
However, very occasionally it happens
I increased the network timeout and it is fine now
Probably the error is due to the redis getting over loaded
Yep, we noticed that its an issue with our proxy. One of our infra engineers is working on a long term fix, will take some time however.
Wow thanks for fast response angelo 🫶
It’s cool, I mean redis isn’t the reason why I’m using Railway anyway, love railway ALOT
if I see it! I respond
simple as
💪
👀
Just updating here that this is still happening.
Hey @honzasterba - yep, the team is still working on a long term fix. No ETA as of yet but working through it as we speak.
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Severe delays in this case. Its a little weird. Right now we are focusing on trying to reproduce this in a controlled manner so we can accurately debug the situation. For most people, its intermittent depending on load of the box it lands on.
Re: Proxy, the Postgres connection stuff is solved. However, people with high load on their boxes or with too many connections open might run into issues. More documentation to do from us there.
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
I'm using Railway Redis in my Staging environment, i frequently get this error. In production I'm using another cloud Redis, very rarely do I see the problem. It seems more likely an issue with Railway.