Eatdoku
Eatdoku

Reputation: 6951

RabbitMQ connection dropped automatically after long idle time

I am using the .net client for connecting to RabbitMQ server running HA mode, and all queues are with the following configuration.

Queue are with the following configuration

I am seeing this behaviour that after the process is idled for a long time say 10 mins ish, the connection started to drop hence the queue gets deleted automatically.

Is there an idle setting or timeout setting? or what are the possible reason for the connection to close automatically in RabbitMQ .net client.

Upvotes: 4

Views: 4839

Answers (1)

Eatdoku
Eatdoku

Reputation: 6951

it was caused by the load balancer dropping idle connection after 5 mins. Use RequestedHeartbeat to keep the connection alive

Upvotes: 7

Related Questions