# ERR\_CONNECTION\_TIMED\_OUT on login, and errors to upgrade

**URL:** <https://forum.mautic.org/t/err-connection-timed-out-on-login-and-errors-to-upgrade/24077>\
**Category:** Product Support\
**Created:** [May 12, 2022, 12:35pm UTC](https://forum.mautic.org/t/err-connection-timed-out-on-login-and-errors-to-upgrade/24077 "2022-05-12T12:35:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ojaneri](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ojaneri/32/1921_2.png) [@ojaneri](https://forum.mautic.org/u/ojaneri)\
**Post date:** [May 12, 2022, 12:35pm UTC](https://forum.mautic.org/t/err-connection-timed-out-on-login-and-errors-to-upgrade/24077/1 "2022-05-12T12:35:59Z")

</div>

**Your software**  
My Mautic version is: cant check  
My PHP version is: 7.4.6  
My Database type and version is: MariaDB

**Your problem**  
My problem is:  
When connecting to Mautic, I get a ERR\_CONNECTION\_TIMED\_OUT on login page and wont appears anything.

Tried to update using command , but got error  
php bin/console mautic:update:apply  
PHP Warning: Uncaught ReflectionException: Class “Swift\_Mime\_Message” not found while loading “MauticPlugin\AFMailgunBundle\Swiftmailer\Transport\MailgunTransport”. in /var/www/html/janeri/mautic/vendor/symfony/config/Resource/ClassExistenceResource.php:181  
Stack trace:  
#0 [internal function]: Symfony\Component\Config\Resource\ClassExistenceResource::throwOnRequiredClass()  
#1 /var/www/html/janeri/mautic/plugins/AFMailgunBundle/Swiftmailer/Transport/MailgunTransport.php(22): spl\_autoload\_call()  
#2 /var/www/html/janeri/mautic/vendor/composer/ClassLoader.php(571): include(’/var/www/html/j…’)  
#3 /var/www/html/janeri/mautic/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile()  
#4 [internal function]: Composer\Autoload\ClassLoader-\>loadClass()  
#5 [internal function]: spl\_autoload\_call()  
#6 /var/www/html/janeri/mautic/vendor/symfony/config/Resource/ClassExistenceResource.php(84): class\_exists()  
#7 /var/www/html/janeri/mautic/vendor/symfony/dependency-injection/ContainerBuilder.php(353): Symfony\Component\Config in /var/www/html/janeri/mautic/vendor/symfony/config/Resource/ClassExistenceResource.php on line 181  
PHP Fatal error: Could not check compatibility between MauticPlugin\AFMailgunBundle\Swiftmailer\Transport\MailgunTransport::send(Swift\_Mime\_Message $message, &$failedRecipients = NULL) and Swift\_Transport\_AbstractSmtpTransport::send(Swift\_Mime\_SimpleMessage $message, &$failedRecipients = NULL), because class Swift\_Mime\_Message is not available in /var/www/html/janeri/mautic/plugins/AFMailgunBundle/Swiftmailer/Transport/MailgunTransport.php on line 61

These errors are showing in the log:  
No error on /var/logs/

Steps I have tried to fix the problem:  
Removed from Cloudflare (direct to server now)  
Fixed permissions, and tried to update

Anyone can help me with these errors? Thanks!
