Not a bug SSL operation failed with code 1. OpenSSL Error messages: error:1408F10B:SSL routines:ssl3_get_record:wrong version number src/vendor/symfony/mailer/T

Status
Not open for further replies.

GameNet

Active member
Affected version
2.3.0 Release Candidate 2
Hi

I am receiving numerous number of errors in my adminCP

error code:

Code:
Symfony\Component\Mailer\Exception\TransportException: Email to from failed: Connection could not be established with host "ssl://mail.cities-mods.com:465": stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:1408F10B:SSL routines:ssl3_get_record:wrong version number src/vendor/symfony/mailer/Transport/Smtp/Stream/SocketStream.php:154
Generated by: NICK97 Jun 14, 2024 at 12:28 PM
Stack trace
#0 [internal function]: Symfony\Component\Mailer\Transport\Smtp\Stream\SocketStream->Symfony\Component\Mailer\Transport\Smtp\Stream\{closure}(2, 'stream_socket_c...', '/home/citiesmod...', 157)
#1 src/vendor/symfony/mailer/Transport/Smtp/Stream/SocketStream.php(157): stream_socket_client('ssl://mail.citi...', 0, '', 60, 4, Resource id #4)
#2 src/vendor/symfony/mailer/Transport/Smtp/SmtpTransport.php(251): Symfony\Component\Mailer\Transport\Smtp\Stream\SocketStream->initialize()
#3 src/vendor/symfony/mailer/Transport/Smtp/SmtpTransport.php(194): Symfony\Component\Mailer\Transport\Smtp\SmtpTransport->start()
#4 src/vendor/symfony/mailer/Transport/AbstractTransport.php(72): Symfony\Component\Mailer\Transport\Smtp\SmtpTransport->doSend(Object(Symfony\Component\Mailer\SentMessage))
#5 src/vendor/symfony/mailer/Transport/Smtp/SmtpTransport.php(136): Symfony\Component\Mailer\Transport\AbstractTransport->send(Object(Symfony\Component\Mailer\SentMessage), Object(Symfony\Component\Mailer\DelayedEnvelope))
#6 src/XF/Mail/Mailer.php(305): Symfony\Component\Mailer\Transport\Smtp\SmtpTransport->send(Object(Symfony\Component\Mime\Email))
#7 src/XF/Mail/Mail.php(571): XF\Mail\Mailer->send(Object(Symfony\Component\Mime\Email), Object(Symfony\Component\Mailer\Transport\Smtp\EsmtpTransport))
#8 src/XF/Admin/Controller/Tools.php(288): XF\Mail\Mail->send(Object(Symfony\Component\Mailer\Transport\Smtp\EsmtpTransport), false)
#9 src/XF/Mvc/Dispatcher.php(352): XF\Admin\Controller\Tools->actionTestEmail(Object(XF\Mvc\ParameterBag))
#10 src/XF/Mvc/Dispatcher.php(258): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'TestEmail', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#11 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#12 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#13 src/XF/App.php(2607): XF\Mvc\Dispatcher->run()
#14 src/XF.php(533): XF\App->run()
#15 admin.php(13): XF::runApp('XF\\Admin\\App')
#16 {main}
Request state
array(4) {
  ["url"] => string(27) "/admin.php?tools/test-email"
  ["referrer"] => string(50) "https://cities-mods.com/admin.php?tools/test-email"
  ["_GET"] => array(1) {
    ["tools/test-email"] => string(0) ""
  }
  ["_POST"] => array(2) {
    ["_xfToken"] => string(8) "********"
    ["email"] => string(24) "bol...@gmail.com"
  }
}
 
Have you upgraded to Release Candidate 3 yet. As long as it isn't a configuration issue, this is likely fixed.

Please try and let us know :)
 
Are you using port 465? If your mail server doesn't support SSL/TLS, try a different port (like 587) and ensure you don't have SSL/TLS enabled in your mail settings.
 
Are you using port 465? If your mail server doesn't support SSL/TLS, try a different port (like 587) and ensure you don't have SSL/TLS enabled in your mail settings.
I have just remembered that’s I have change cpanel password few weeks ago and I have forgotten about that

Thank you for your help and you can closed this thread
 
Good day. There were often problems with the mail, there were constant periodic errors indicating that the mail was not working. I decided to delete the mail and set up again. But now the error was intermittent and constant. Already changed the certificates, but to no avail. I'm asking for help because I don't know where to look next. The error that occurs:
++ Starting XF\Mail\SmtpTransport
!! Connection could not be established with host mail.lodzinfo.online :stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
error:1408F10B:SSL routines:ssl3_get_record:wrong version number (code: 0)



 
If you need support please associate your forum account with your license and post in the customer forums.
 
Status
Not open for further replies.
Back
Top Bottom