Skip to content
Private networking: backend can't reach Redis (redis.railway.internal:6379 connect timeouts) since Nov 28
leonardbasag
OP

6 days ago

Hi Railway team,

Since Nov 28, 2026 (at least from 18:13 UTC) my backend service cannot open TCP connections to my Redis service over private networking. Both services are in the same project and environment (production, EU West).

What I see:

  • From the backend console, redis.railway.internal resolves (IPv6 fd12:... and IPv4 10.136.233.37), but socket.create_connection to port 6379 times out after 5 s.
  • The app logs show "Timeout connecting to server" / "Timeout reading from socket" for Redis every ~10 s.
  • Redis itself looks healthy: redis-cli latency ~0.12 ms, 4 connected clients, 0 rejected connections, logs normal. One RDB save at 18:57 UTC took ~10 s instead of the usual ~70 ms.
  • Postgres in the same project is reachable from the backend normally.
  • I restarted Redis (19:02 UTC) and the backend (19:04 UTC). The backend still cannot connect, so it is now running with an in-memory fallback.

Could you please check the private network path / host for the Redis service?

Thank you!

Awaiting User Response

2 Replies

Status changed to Awaiting Railway Response Railway • 6 days ago


Your Redis deployment and its volume both show as healthy on our side, with plenty of free space on the volume, so the timeouts are not coming from Redis running out of disk or failing to start.

To narrow down where the connection stalls, please share the output of two separate connection attempts from the backend console, one to the IPv6 address and one to the IPv4 address that redis.railway.internal resolves to (port 6379), with the exact error text and the UTC time of each attempt. Please also include a redacted excerpt of the backend's Redis connection settings showing the host and port it uses (no passwords), and the UTC time of the last successful Redis connection you saw before 18:13 UTC on Nov 28.


Status changed to Awaiting User Response angelo-railway • 5 days ago


an hour ago

Hey, we’ve escalated the private connection timeouts between your backend and Redis to our Platform team. The detail that the Redis hostname resolved while connections still timed out was helpful.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...