Open ghost opened 8 years ago
What RecoveryPolicy settings do you use?
I'm also having problems with the Recovery. I use three RabbitMQ servers and they get restarted one after another with a couple of minutes in-between.
According to the logfile, lyra notices the connection loss and recovers all channels, however the communication doesn't work after the recovery.
@fkbsi , @neuhaus - are you using a TLS connection? I found out I also have a problem with reconnecting, but what's interesting it only happens, when using secured connection. Autorecovery works OK without encrypted connection.
I no longer use this software. It‘s only selling point was faulty...
I put together a minimal example project illustrating this issue, see the attached zip file. The issue was observed on Windows (running a Docker Host inside a Virtual Box VM) and on Ubuntu.
Steps to reproduce:
mvn clean install
docker-compose up -d
in the project's root directory, where the docker-compose.yml file residesjava -jar target/lyra-minimal-0.0.0-SNAPSHOT-jar-with-dependencies.jar
docker-compose kill rabbitmq
Observe that the application seems to start connection recovery:
docker-compose up -d rabbitmq