Skip to content
Rabbitmq is disconnection issue
ajit-jain
OP

a year ago

We are seeing very frequent rabbitmq connection issue from the past few days with services. Could you please investigate ?

Deployment name: junction.proxy.rlwy.net

$20 Bounty

4 Replies

Railway
BOT

a year ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


a year ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open brody • about 1 year ago


irazvan2745

a year ago

Have you checked the logs?


ajit-jain
OP

a year ago

I just checked the logs and it looks like the issue might be related to Redis. Our service connects to both Redis and RabbitMQ. I’ve included the relevant log entries below. Please let me know if you need any additional details.

{"message":"[ioredis] Unhandled error event: Error: read ECONNRESET","attributes":{"level":"error"},"timestamp":"2025-09-07T22:39:35.672182405Z"}
{"message":"RabbitMQ connection error: Error: read ECONNRESET","attributes":{"level":"error"},"timestamp":"2025-09-07T22:44:38.285775962Z"}


colinrm000

a year ago

It's probably a connection keepalive/idle/limit issue, add heartbeats and robust reconnects, co‑locate services, and avoid public proxies.

Broker limits and usage

  • RabbitMQ: one connection per service, multiple channels; check connection/channel limits and heartbeat in the mgmt UI. Set heartbeat=30.
  • Redis: avoid per‑request clients; reuse singleton; consider a pool if needed.

Welcome!

Sign in to your Railway account to join the conversation.

Loading...