1.java.net.socketexception:socket closed
The official documentation has indicated that the new user and guest accounts are not remotely logged in and need to be authorized for login accounts
Workaround:
Rabbitmqctl set_permissions-p/${user_name} '.* '. *' '. *'
2.
An unexpected connection driver error occured error is as follows
[AMQP Connection 192.168.71.111:5672] WARN Com.rabbitmq.client.impl.ForgivingExceptionHandler-An unexpected connection driver error occured (Exception message:connection reset) Exception in thread"Main" Com.rabbitmq.client.AuthenticationFailureException:ACCESS_REFUSED-Login was refused using authentication mechanism PLAIN. For details see the broker logfile. At Com.rabbitmq.client.impl.AMQConnection.start (Amqconnection.java:342) at Com.rabbitmq.client.impl.recovery.RecoveryAwareAMQConnectionFactory.newConnection ( Recoveryawareamqconnectionfactory.java:62) at Com.rabbitmq.client.impl.recovery.AutorecoveringConnection.init (Autorecoveringconnection.java:99) at Com.rabbitmq.client.ConnectionFactory.newConnection (Connectionfactory.java:900) at Com.rabbitmq.client.ConnectionFactory.newConnection (Connectionfactory.java:859) at Com.rabbitmq.client.ConnectionFactory.newConnection (Connectionfactory.java:817) at Com.rabbitmq.client.ConnectionFactory.newConnection (Connectionfactory.java:954)
This is because the queue in rabbit is not annotated @rabbitlistener (queues = "Namedqueue") queues instances
Workaround:
Add the queues name of the listener and save the restart. Ok
Spring-boot Integrated RABBITMQ step over the pit