software
My Mautic version is: v3.0.2
My PHP version is: 7.3.22-1+ubuntu20.04.1+deb.sury.org+1
My problem is:
So, until yesterday my mautic was running perfectly (is about a month that I’m not having any kind of issue), everything was working really fine.
But today, when I tried to send a single e-mail through the contact field, I realized that stop working. The screen keeps loading forever, and the console of chrome shows an 500 (Internal Server Error) status.
I send e-mail almost every day through this feature .
These errors are showing in the log:
[2020-12-18 02:25:15] mautic.NOTICE: Doctrine\DBAL\Exception\ConnectionException: An exception occurred in driver: SQLSTATE[HY000] [2002] Connection refused (uncaught exception) at /var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 93 while running console command mautic:segments:update
[2020-12-18 02:25:15] mautic.NOTICE: Doctrine\DBAL\Exception\ConnectionException: An exception occurred in driver: SQLSTATE[HY000] [2002] Connection refused (uncaught exception) at /var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 93 while running console command mautic:campaigns:trigger
[2020-12-18 02:25:15] mautic.NOTICE: Doctrine\DBAL\Exception\ConnectionException: An exception occurred in driver: SQLSTATE[HY000] [2002] Connection refused (uncaught exception) at /var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 93 while running console command mautic:reports:scheduler
[2020-12-18 02:25:15] mautic.NOTICE: Doctrine\DBAL\Exception\ConnectionException: An exception occurred in driver: SQLSTATE[HY000] [2002] Connection refused (uncaught exception) at /var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 93 while running console command mautic:import
[2020-12-18 02:25:15] mautic.NOTICE: Doctrine\DBAL\Exception\ConnectionException: An exception occurred in driver: SQLSTATE[HY000] [2002] Connection refused (uncaught exception) at /var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 93 while running console command mautic:campaigns:rebuild
[2020-12-18 02:25:20] mautic.WARNING: Command mautic:campaigns:rebuild
exited with status code 1
[2020-12-18 02:25:20] mautic.WARNING: Command mautic:reports:scheduler
exited with status code 1
[2020-12-18 02:25:20] mautic.WARNING: Command mautic:campaigns:trigger
exited with status code 1
[2020-12-18 02:25:20] mautic.WARNING: Command mautic:segments:update
exited with status code 1
[2020-12-18 02:25:20] mautic.WARNING: Command mautic:import
exited with status code 1
[2020-12-18 17:15:08] mautic.NOTICE: Doctrine\DBAL\Exception\ConnectionException: An exception occurred in driver: SQLSTATE[HY000] [2002] Connection refused (uncaught exception) at /var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 93 while running console command mautic:reports:scheduler
[2020-12-18 17:15:08] mautic.WARNING: Command mautic:reports:scheduler
exited with status code 1
[2020-12-18 17:15:08] mautic.NOTICE: Doctrine\DBAL\Exception\ConnectionException: An exception occurred in driver: SQLSTATE[HY000] [2002] Connection refused (uncaught exception) at /var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 93 while running console command mautic:import
[2020-12-18 17:15:08] mautic.NOTICE: Doctrine\DBAL\Exception\ConnectionException: An exception occurred in driver: SQLSTATE[HY000] [2002] Connection refused (uncaught exception) at /var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 93 while running console command mautic:social:monitoring
[2020-12-18 17:15:08] mautic.WARNING: Command mautic:import
exited with status code 1
[2020-12-18 17:15:08] mautic.NOTICE: Doctrine\DBAL\Exception\ConnectionException: An exception occurred in driver: SQLSTATE[HY000] [2002] Connection refused (uncaught exception) at /var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 93 while running console command mautic:messages:send
[2020-12-18 17:15:08] mautic.WARNING: Command mautic:social:monitoring
exited with status code 1
[2020-12-18 17:15:08] mautic.WARNING: Command mautic:messages:send
exited with status code 1
[2020-12-18 17:15:08] mautic.NOTICE: Doctrine\DBAL\Exception\ConnectionException: An exception occurred in driver: SQLSTATE[HY000] [2002] Connection refused (uncaught exception) at /var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 93 while running console command mautic:broadcasts:send
[2020-12-18 17:15:08] mautic.WARNING: Command mautic:broadcasts:send
exited with status code 1
[2020-12-18 17:31:20] mautic.NOTICE: Doctrine\DBAL\Exception\ConnectionException: An exception occurred in driver: SQLSTATE[HY000] [2002] Connection refused (uncaught exception) at /var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 93 while running console command mautic:reports:scheduler
[2020-12-18 17:31:20] mautic.NOTICE: Doctrine\DBAL\Exception\ConnectionException: An exception occurred in driver: SQLSTATE[HY000] [2002] Connection refused (uncaught exception) at /var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 93 while running console command mautic:import
[2020-12-18 17:31:20] mautic.NOTICE: Doctrine\DBAL\Exception\ConnectionException: An exception occurred in driver: SQLSTATE[HY000] [2002] Connection refused (uncaught exception) at /var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 93 while running console command mautic:social:monitoring
[2020-12-18 17:31:20] mautic.WARNING: Command mautic:import
exited with status code 1
[2020-12-18 17:31:20] mautic.WARNING: Command mautic:social:monitoring
exited with status code 1
[2020-12-18 17:31:20] mautic.WARNING: Command mautic:reports:scheduler
exited with status code 1
[2020-12-18 17:31:20] mautic.NOTICE: Doctrine\DBAL\Exception\ConnectionException: An exception occurred in driver: SQLSTATE[HY000] [2002] Connection refused (uncaught exception) at /var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 93 while running console command mautic:messages:send
[2020-12-18 17:31:20] mautic.WARNING: Command mautic:messages:send
exited with status code 1
[2020-12-18 17:31:21] mautic.NOTICE: Doctrine\DBAL\Exception\ConnectionException: An exception occurred in driver: SQLSTATE[HY000] [2002] Connection refused (uncaught exception) at /var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 93 while running console command mautic:broadcasts:send
[2020-12-18 17:31:21] mautic.WARNING: Command mautic:broadcasts:send
exited with status code 1
Steps I have tried to fix the problem:
Since I didn’t make any changes (on my VPS or mautic configuration) I don’t know what to do.
I already clear the cache and restart my VPS through AWS.