You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The automatic recovery function is triggered only once if the RabbitMQ server is stopped.
For playback, I use "rabbitmq:3-management" docker image as a server and this simple code:
using RabbitMQ.Client;
namespace RabbitMQTest
{
internal class Program
{
static async Task Main(string[] args)
{
var factory = new ConnectionFactory()
{
HostName = "xxx.xxx.xxx.xxx",
VirtualHost = "vh_1",
UserName = "guest",
Password = "guest",
AutomaticRecoveryEnabled = true,
TopologyRecoveryEnabled = true
};
using (var connection = await factory.CreateConnectionAsync())
{
var channel = await connection.CreateChannelAsync();
Console.ReadKey();
}
}
}
}
The connection and channel are restored if the docker container has been stopped and started.
But the connection and the channel are not restored if you do it again.
In case of loss of the Ethernet connection, this problem does not arise. There is also no such problem for the client version 6.8.1
The text was updated successfully, but these errors were encountered:
Describe the bug
Reported here:
https://groups.google.com/g/rabbitmq-users/c/E9sJOOEwFEs
Reproduction steps
As reported by the user:
The automatic recovery function is triggered only once if the RabbitMQ server is stopped.
For playback, I use "rabbitmq:3-management" docker image as a server and this simple code:
The connection and channel are restored if the docker container has been stopped and started.
But the connection and the channel are not restored if you do it again.
In case of loss of the Ethernet connection, this problem does not arise. There is also no such problem for the client version 6.8.1
The text was updated successfully, but these errors were encountered: