Acceptance environment unresponsive — DB pool 10/10 in use, idle 0
0
Hi all, In my acceptance, I got a 5-6 min loading for a short flow, when I checked the log, got Message: "Connection attempt timed out.", retrying...(1/4),2,3,4/4 and error Caused by: com.mendix.basis.connectionbus.ConnectionBusException: Exception occurred while retrieving data Caused by: org.postgresql.util.PSQLException: Connection attempt timed out. 2025-08-20T14:44:19.522722 [runtime-container/xzgzl] INFO - ConnectionBus: Successfully reconnected to database. 2025-08-20T14:44:19.523067 [runtime-container/xzgzl] ERROR - M2EE: Could not get response writer in order to close it.org.eclipse.jetty.io.EofException: null Caused by: java.io.IOException: Broken pipe 2025-08-20T14:44:34.045140 [runtime-container/xzgzl] ERROR - ConnectionBus: Opening JDBC connection to jdbc:postgresql://db86t6bhxvkv1ngio.cxvzx2u2mypo.sa-east-1.rds.amazonaws.com:5432/db86t6bhxvkv1ngio?tcpKeepAlive=true&sslmode=verify-full&sslrootcert=%2Flayers%2Fmendix_runtime%2Fruntime%2Famazon-rds-ca.pem failed with SQLState: 08001 Error code: 0 Message: "Connection attempt timed out.", retrying...(1/4) Something like, retrying to connect to DB and failing and connecting again and again retrying broken pipe... This happens for that 10mins and now it is working fine. But, Can someone tell me 1) How can I make sure this will not happen again. 2) What is the root cause of this issue?
asked
Rishi Sundar
1 answers
0
Hey Rishi,
I think the best to do in this situation is to contact Mendix Support.
They can provide you more detailed information about your enviroment and database in specific.