Roundcube Community Forum


Intermittent DB connection issues

Started by reibuehl, March 13, 2024, 07:54:11 AM

Previous topic - Next topic


Hi all,

since upgrading my Roundcube Container install to 1.6.6 I get intermittent DB connection errors.

In the logs I see errors like these:

roundcube  | errors: <2673cee4> DB Error: SQLSTATE[HY000] [2002] Connection timed out in /var/www/html/program/lib/Roundcube/rcube_db.php on line 201
roundcube  | errors: <2673cee4> DB Error: SQLSTATE[HY000] [2002] No route to host in /var/www/html/program/lib/Roundcube/rcube_db.php on line 201

These result in messages not being shown in the UI or session expired messages. As these errors are only intermittent and after a refresh of the web page everything seems again working correct for some minutes, I am lost.

The DB is a MariaDB 10.6 container.