20 days ago
Hi Railway Team,
I deployed some changes 3 days ago in my app (mono repo), during those 3 days I can confirm that everything was running well with no issues. Suddenly today I get an email of deployment crash - even due no new code or any change in the code base took place.
Also no infra or new deployment happened during this time.
I really don't think it's something on my side, I had to redeploy it and then everything was back in place.
Is this related to metal performances? I believe it's a bug on Railway side, could someone please take a look? This time the downtime was 1-2 hours, next time it could be much worse.
I'll add here screenshots for context.
Also, I'm adding Raul & Echohack here:
rahul@railway.com
echohack@railway.com
Attachments
4 Replies
20 days ago
Hello,
It looks like your application crashed because it was unable to communicate with Redis over the public network. Please switch it to the private network.
Status changed to Awaiting User Response Railway • 20 days ago
19 days ago
Hi again,
Thanks for your response @brody.
I’m seeing Private Networking DNS issues for Redis in a single project/environment.
Setup:
- Environment: Production
- Region: Amsterdam (both services)
- Services: Next.js app + Railway Redis
- Postgres internal DNS works: postgres.railway.internal resolves and connects.
- Redis internal DNS does NOT resolve from the app container.
What I tried:
- Using REDIS_URL with internal host shown in Redis → Settings → Networking → Private Networking:
redis://default:<pass>@redis.railway.internal:6379
- Also tried host "redis" (service name) and "redis.railway.internal" directly.
Result:
- App logs: getaddrinfo ENOTFOUND redis.railway.internal (or ENOTFOUND redis)
- Redis is online and reachable via public TCP proxy domain.
- Both services are in same project + same env + same region.
Question:
Is there any known limitation/setting for Redis private DNS on hobby plan, or any required naming convention?
Can you confirm whether redis.railway.internal should resolve from other services in the same project/environment, and if not, what the correct internal hostname should be?
I don't know why but look like the driver networking DNS isn't solvable with just changing it to "redis.railway.internal" so that's why we stay with the public domain.
Thanks!
Status changed to Awaiting Railway Response Railway • 19 days ago
19 days ago
Have a look at this - https://docs.railway.com/networking/private-networking/library-configuration#ioredis
Status changed to Awaiting User Response Railway • 19 days ago
17 days ago
solved - thanks a lot!
Status changed to Awaiting Railway Response Railway • 17 days ago
Status changed to Solved brody • 17 days ago