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
angelo
angelo2y ago
Hey @honzasterba, are you still seeing this?
macwilko
macwilko2y ago
Hi I'm getting this error quite worried as it's causing my app to seriously break
honzasterba
honzasterba2y ago
have not seen this in a couple of days
macwilko
macwilko2y ago
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
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
macwilko
macwilko2y ago
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
angelo
angelo2y ago
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.
macwilko
macwilko2y ago
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
angelo
angelo2y ago
if I see it! I respond simple as
macwilko
macwilko2y ago
💪 👀
honzasterba
honzasterba2y ago
Just updating here that this is still happening.
angelo
angelo2y ago
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
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
angelo
angelo2y ago
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
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
macwilko
macwilko2y ago
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.