Attempting to connect to: rabbitmq:5672
[portal.log] [2024-10-08 15:10:19,907] [WARN ] [c.r.c.i.ForgivingExceptionHandler] [AMQP Connection xxxxxxxxx:5672] [|] [|||] An unexpected connection driver error occured (Exception message: Socket closed)
[devportalext-portal.log] [2024-10-08 15:10:19,907] [ERROR] [c.l.p.s.d.i.h.EntityAuditListener] [http-nio-8080-exec-11] [3781fec83371478da91b23477d14ddae|365658359bf018ee] [devportalext|Portal API|PostmanRuntime/7.32.3|portal-data-58cff9f9bd-cktjr$1740] Error while sending save message to RabbitMQ Message Topic com.rabbitmq.client.AuthenticationFailureException: ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile.
[portal.log] [2024-10-08 15:10:19,913] [ERROR] [o.a.c.c.C.[.[.[.[dispatcherServlet]] [http-nio-8080-exec-11] [|] [|||] Servlet.service() for servlet [dispatcherServlet] in context with path [/portal-data] threw exception [Request processing failed; nested exception is org.springframework.transaction.TransactionSystemException: Could not commit JPA transaction; nested exception is javax.persistence.RollbackException: Error while committing the transaction] with root cause
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:364)
5.2.2
This is likely because the RMQ PVCs were created in a previous failed attempt and now the passwords are out of sync.
If you don't set the RMQ credentials, they are auto-generated when the Portal Helm Chart is installed, the PVC persists after the Chart is uninstalled and will need to be removed manually.
Do a clean install and then the following .
Env command in the pod’s terminal to get rabbitmq username and password
Then command rabbitmqctl change_password <USERNAME> <NEWPASSWORD>
Everything started working after that