lucee.runtime.exp.DatabaseException: Communications link failure

Hi All,

We are just starting our journey with Lucee migrating our apps from OpenBD and Adobe CF 2016 and are coming across a few issues which we can update the code to handle, however, this is one that is a bit weird.

Pages that connect through our AWS EC2 instances to our Aurora DB servers sometimes return this error “lucee.runtime.exp.DatabaseException: Communications link failure” with additional info such as “The last packet successfully received from the server was 2 milliseconds ago. The last packet sent successfully to the server was 2 milliseconds ago.”

I can refresh the page and it loads and so appears to be an intermittent issue and affects pretty much every page going to the DB.

The DB is not under heavy load and this box is also not under heavy load but such short 2ms failures seem to be plaguing the system.

Welcome any ideas, have already amended things like time out, connection limit etc to no avail.

Thanks in advance.

Kind Regards,