Exception |
Symfony\Component\Messenger\Exception\HandlerFailedException {#1651
#message: "Handling "Symfony\Component\Mailer\Messenger\SendEmailMessage" failed: Connection could not be established with host "ssl://darnell.nocdirect.com:465": stream_socket_client(): Unable to connect to ssl://darnell.nocdirect.com:465 (Connection timed out)"
#code: 0
#file: "/data/produccion/integral/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php"
#line: 128
-previous: Symfony\Component\Mailer\Exception\TransportException {#1687
#message: "Connection could not be established with host "ssl://darnell.nocdirect.com:465": stream_socket_client(): Unable to connect to ssl://darnell.nocdirect.com:465 (Connection timed out)"
#code: 0
#file: "/data/produccion/integral/vendor/symfony/mailer/Transport/Smtp/Stream/SocketStream.php"
#line: 154
-debug: ""
trace: {
/data/produccion/integral/vendor/symfony/mailer/Transport/Smtp/Stream/SocketStream.php:154 {
Symfony\Component\Mailer\Transport\Smtp\Stream\SocketStream->Symfony\Component\Mailer\Transport\Smtp\Stream\{closure} …
› set_error_handler(function ($type, $msg) {
› throw new TransportException(sprintf('Connection could not be established with host "%s": ', $this->url).$msg);
› });
}
Symfony\Component\Mailer\Transport\Smtp\Stream\SocketStream->Symfony\Component\Mailer\Transport\Smtp\Stream\{closure}() {}
/data/produccion/integral/vendor/symfony/mailer/Transport/Smtp/Stream/SocketStream.php:157 {
Symfony\Component\Mailer\Transport\Smtp\Stream\SocketStream->initialize(): void …
› try {
› $this->stream = stream_socket_client($this->url, $errno, $errstr, $timeout, \STREAM_CLIENT_CONNECT, $streamContext);
› } finally {
}
/data/produccion/integral/vendor/symfony/mailer/Transport/Smtp/SmtpTransport.php:253 {
Symfony\Component\Mailer\Transport\Smtp\SmtpTransport->start(): void …
›
› $this->stream->initialize();
› $this->assertResponseCode($this->getFullResponse(), [220]);
}
/data/produccion/integral/vendor/symfony/mailer/Transport/Smtp/SmtpTransport.php:192 {
Symfony\Component\Mailer\Transport\Smtp\SmtpTransport->doSend(SentMessage $message): void …
› if (!$this->started) {
› $this->start();
› }
}
/data/produccion/integral/vendor/symfony/mailer/Transport/AbstractTransport.php:68 {
Symfony\Component\Mailer\Transport\AbstractTransport->send(RawMessage $message, Envelope $envelope = null): SentMessage …
› $message = new SentMessage($message, $envelope);
› $this->doSend($message);
›
}
/data/produccion/integral/vendor/symfony/mailer/Transport/Smtp/SmtpTransport.php:136 {
Symfony\Component\Mailer\Transport\Smtp\SmtpTransport->send(RawMessage $message, Envelope $envelope = null): SentMessage …
› try {
› $message = parent::send($message, $envelope);
› } catch (TransportExceptionInterface $e) {
}
/data/produccion/integral/vendor/symfony/mailer/Transport/Transports.php:51 {
Symfony\Component\Mailer\Transport\Transports->send(RawMessage $message, Envelope $envelope = null): SentMessage …
› if (RawMessage::class === \get_class($message) || !$message->getHeaders()->has('X-Transport')) {
› return $this->default->send($message, $envelope);
› }
}
/data/produccion/integral/vendor/symfony/mailer/Messenger/MessageHandler.php:31 {
Symfony\Component\Mailer\Messenger\MessageHandler->__invoke(SendEmailMessage $message): SentMessage …
› {
› return $this->transport->send($message->getMessage(), $message->getEnvelope());
› }
}
/data/produccion/integral/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php:95 {
Symfony\Component\Messenger\Middleware\HandleMessageMiddleware->handle(Envelope $envelope, StackInterface $stack): Envelope …
› } else {
› $result = $handler($message);
› }
}
/data/produccion/integral/vendor/symfony/messenger/Middleware/SendMessageMiddleware.php:71 {
Symfony\Component\Messenger\Middleware\SendMessageMiddleware->handle(Envelope $envelope, StackInterface $stack): Envelope …
› if (null === $sender) {
› return $stack->next()->handle($envelope, $stack);
› }
}
/data/produccion/integral/vendor/symfony/messenger/Middleware/FailedMessageProcessingMiddleware.php:34 {
Symfony\Component\Messenger\Middleware\FailedMessageProcessingMiddleware->handle(Envelope $envelope, StackInterface $stack): Envelope …
›
› return $stack->next()->handle($envelope, $stack);
› }
}
/data/produccion/integral/vendor/symfony/messenger/Middleware/DispatchAfterCurrentBusMiddleware.php:68 {
Symfony\Component\Messenger\Middleware\DispatchAfterCurrentBusMiddleware->handle(Envelope $envelope, StackInterface $stack): Envelope …
› // Execute the whole middleware stack & message handling for main dispatch:
› $returnedEnvelope = $stack->next()->handle($envelope, $stack);
› } catch (\Throwable $exception) {
}
/data/produccion/integral/vendor/symfony/messenger/Middleware/RejectRedeliveredMessageMiddleware.php:41 {
Symfony\Component\Messenger\Middleware\RejectRedeliveredMessageMiddleware->handle(Envelope $envelope, StackInterface $stack): Envelope …
›
› return $stack->next()->handle($envelope, $stack);
› }
}
/data/produccion/integral/vendor/symfony/messenger/Middleware/AddBusNameStampMiddleware.php:37 {
Symfony\Component\Messenger\Middleware\AddBusNameStampMiddleware->handle(Envelope $envelope, StackInterface $stack): Envelope …
›
› return $stack->next()->handle($envelope, $stack);
› }
}
/data/produccion/integral/vendor/symfony/messenger/Middleware/TraceableMiddleware.php:43 {
Symfony\Component\Messenger\Middleware\TraceableMiddleware->handle(Envelope $envelope, StackInterface $stack): Envelope …
› try {
› return $stack->next()->handle($envelope, $stack);
› } finally {
}
/data/produccion/integral/vendor/symfony/messenger/MessageBus.php:73 {
Symfony\Component\Messenger\MessageBus->dispatch(object $message, array $stamps = []): Envelope …
›
› return $middlewareIterator->current()->handle($envelope, $stack);
› }
}
/data/produccion/integral/vendor/symfony/messenger/TraceableMessageBus.php:41 {
Symfony\Component\Messenger\TraceableMessageBus->dispatch(object $message, array $stamps = []): Envelope …
› try {
› return $envelope = $this->decoratedBus->dispatch($message, $stamps);
› } catch (\Throwable $e) {
}
/data/produccion/integral/vendor/symfony/mailer/Mailer.php:60 {
Symfony\Component\Mailer\Mailer->send(RawMessage $message, Envelope $envelope = null): void …
› try {
› $this->bus->dispatch(new SendEmailMessage($message, $envelope));
› } catch (HandlerFailedException $e) {
}
/data/produccion/integral/src/Controller/UsuarioController.php:406 {
App\Controller\UsuarioController->sendActivationCode(SeguridadUsuario $user, $configuracionSeguridad) …
› array('usuario' => $user, 'url' => $url))->getContent());\r
› $this->mailer->send($email); \r
› \r
}
/data/produccion/integral/src/Controller/UsuarioController.php:344 {
App\Controller\UsuarioController->resendActivationLink($user) …
› {\r
› if (!$this->sendActivationCode($user, $configuracionSeguridad))\r
› {\r
}
/data/produccion/integral/src/Controller/UsuarioController.php:368 {
App\Controller\UsuarioController->resendActivationLinkAction($userId) …
› $user = $this->em->getRepository(SeguridadUsuario::class)->find($userId);\r
› $texto = $this->resendActivationLink($user);\r
› \r
}
/data/produccion/integral/vendor/symfony/http-kernel/HttpKernel.php:153 {
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
› // call controller
› $response = $controller(...$arguments);
›
}
/data/produccion/integral/vendor/symfony/http-kernel/HttpKernel.php:75 {
Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/data/produccion/integral/vendor/symfony/http-kernel/Kernel.php:202 {
Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/data/produccion/integral/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
› {
› $response = $this->kernel->handle($this->request);
› $response->send();
}
/data/produccion/integral/vendor/autoload_runtime.php:29 {
require_once …
› ->getRunner($app)
› ->run()
› );
}
/data/produccion/integral/public/index.php:5 {
›
› require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
›
arguments: {
"/data/produccion/integral/vendor/autoload_runtime.php"
}
}
}
}
-exceptions: [
Symfony\Component\Mailer\Exception\TransportException {#1687}
]
-envelope: Symfony\Component\Messenger\Envelope {#1621
-stamps: [
"Symfony\Component\Messenger\Stamp\BusNameStamp" => [
Symfony\Component\Messenger\Stamp\BusNameStamp {#1620
-busName: "messenger.bus.default"
}
]
]
-message: Symfony\Component\Mailer\Messenger\SendEmailMessage {#1610
-message: Symfony\Component\Mime\Email {#1586
-message: null
-headers: Symfony\Component\Mime\Header\Headers {#1585
-headers: [
"from" => [
Symfony\Component\Mime\Header\MailboxListHeader {#1581
-name: "From"
-lineLength: 76
-lang: null
-charset: "utf-8"
-addresses: [
Symfony\Component\Mime\Address {#1584
-address: "noreply@dirmov.mil.ec"
-name: ""
}
]
}
]
"to" => [
Symfony\Component\Mime\Header\MailboxListHeader {#1580
-name: "To"
-lineLength: 76
-lang: null
-charset: "utf-8"
-addresses: [
Symfony\Component\Mime\Address {#1578
-address: "maria.moyano@saludzona5.gob.ec"
-name: ""
}
]
}
]
"subject" => [
Symfony\Component\Mime\Header\UnstructuredHeader {#1579
-name: "Subject"
-lineLength: 76
-lang: null
-charset: "utf-8"
-value: "Bienvenido - Nueva cuenta de usuario"
}
]
]
-lineLength: 76
}
-body: null
-text: null
-textCharset: null
-html: """
<html>\n
<head>\n
<meta charset="UTF-8" />\n
</head>\n
\n
<body>\t\n
<basefont size="2"> \n
<p>Estimado(a): Moyano Paz María José</p>\n
\n
<p>Se ha creado una cuenta de usuario a su nombre. Usted debe acceder a través del siguiente link para activar su cuenta.</p>\n
\n
<p>Link de acceso:</p>\n
<p><a target="_blank" href="https://integral.dirmov.mil.ec/es/security/activation/5530f7284a45d4a163dd6f52f2cb086c">https://integral.dirmov.mil.ec/es/security/activation/5530f7284a45d4a163dd6f52f2cb086c</a></p>\n
<br/>\n
<br/>\n
<!--p>\n
<h2>VIDEO TUTORIAL</h2>\n
<a target="_blank" href="https://youtu.be/1fc_OBnEYks">COMO ACTIVAR SU CUENTA DE USUARIO - INGRESE AQUÍ</a>\n
</p-->\n
\n
</body>\n
\n
</html>
"""
-htmlCharset: "utf-8"
-attachments: []
-cachedBody: null
}
-envelope: null
}
}
trace: {
/data/produccion/integral/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php:128 {
Symfony\Component\Messenger\Middleware\HandleMessageMiddleware->handle(Envelope $envelope, StackInterface $stack): Envelope …
› if (\count($exceptions)) {
› throw new HandlerFailedException($envelope, $exceptions);
› }
}
/data/produccion/integral/vendor/symfony/messenger/Middleware/SendMessageMiddleware.php:71 {
Symfony\Component\Messenger\Middleware\SendMessageMiddleware->handle(Envelope $envelope, StackInterface $stack): Envelope …
› if (null === $sender) {
› return $stack->next()->handle($envelope, $stack);
› }
}
/data/produccion/integral/vendor/symfony/messenger/Middleware/FailedMessageProcessingMiddleware.php:34 {
Symfony\Component\Messenger\Middleware\FailedMessageProcessingMiddleware->handle(Envelope $envelope, StackInterface $stack): Envelope …
›
› return $stack->next()->handle($envelope, $stack);
› }
}
/data/produccion/integral/vendor/symfony/messenger/Middleware/DispatchAfterCurrentBusMiddleware.php:68 {
Symfony\Component\Messenger\Middleware\DispatchAfterCurrentBusMiddleware->handle(Envelope $envelope, StackInterface $stack): Envelope …
› // Execute the whole middleware stack & message handling for main dispatch:
› $returnedEnvelope = $stack->next()->handle($envelope, $stack);
› } catch (\Throwable $exception) {
}
/data/produccion/integral/vendor/symfony/messenger/Middleware/RejectRedeliveredMessageMiddleware.php:41 {
Symfony\Component\Messenger\Middleware\RejectRedeliveredMessageMiddleware->handle(Envelope $envelope, StackInterface $stack): Envelope …
›
› return $stack->next()->handle($envelope, $stack);
› }
}
/data/produccion/integral/vendor/symfony/messenger/Middleware/AddBusNameStampMiddleware.php:37 {
Symfony\Component\Messenger\Middleware\AddBusNameStampMiddleware->handle(Envelope $envelope, StackInterface $stack): Envelope …
›
› return $stack->next()->handle($envelope, $stack);
› }
}
/data/produccion/integral/vendor/symfony/messenger/Middleware/TraceableMiddleware.php:43 {
Symfony\Component\Messenger\Middleware\TraceableMiddleware->handle(Envelope $envelope, StackInterface $stack): Envelope …
› try {
› return $stack->next()->handle($envelope, $stack);
› } finally {
}
/data/produccion/integral/vendor/symfony/messenger/MessageBus.php:73 {
Symfony\Component\Messenger\MessageBus->dispatch(object $message, array $stamps = []): Envelope …
›
› return $middlewareIterator->current()->handle($envelope, $stack);
› }
}
/data/produccion/integral/vendor/symfony/messenger/TraceableMessageBus.php:41 {
Symfony\Component\Messenger\TraceableMessageBus->dispatch(object $message, array $stamps = []): Envelope …
› try {
› return $envelope = $this->decoratedBus->dispatch($message, $stamps);
› } catch (\Throwable $e) {
}
/data/produccion/integral/vendor/symfony/mailer/Mailer.php:60 {
Symfony\Component\Mailer\Mailer->send(RawMessage $message, Envelope $envelope = null): void …
› try {
› $this->bus->dispatch(new SendEmailMessage($message, $envelope));
› } catch (HandlerFailedException $e) {
}
/data/produccion/integral/src/Controller/UsuarioController.php:406 {
App\Controller\UsuarioController->sendActivationCode(SeguridadUsuario $user, $configuracionSeguridad) …
› array('usuario' => $user, 'url' => $url))->getContent());\r
› $this->mailer->send($email); \r
› \r
}
/data/produccion/integral/src/Controller/UsuarioController.php:344 {
App\Controller\UsuarioController->resendActivationLink($user) …
› {\r
› if (!$this->sendActivationCode($user, $configuracionSeguridad))\r
› {\r
}
/data/produccion/integral/src/Controller/UsuarioController.php:368 {
App\Controller\UsuarioController->resendActivationLinkAction($userId) …
› $user = $this->em->getRepository(SeguridadUsuario::class)->find($userId);\r
› $texto = $this->resendActivationLink($user);\r
› \r
}
/data/produccion/integral/vendor/symfony/http-kernel/HttpKernel.php:153 {
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
› // call controller
› $response = $controller(...$arguments);
›
}
/data/produccion/integral/vendor/symfony/http-kernel/HttpKernel.php:75 {
Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/data/produccion/integral/vendor/symfony/http-kernel/Kernel.php:202 {
Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/data/produccion/integral/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
› {
› $response = $this->kernel->handle($this->request);
› $response->send();
}
/data/produccion/integral/vendor/autoload_runtime.php:29 {
require_once …
› ->getRunner($app)
› ->run()
› );
}
/data/produccion/integral/public/index.php:5 {
›
› require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
›
arguments: {
"/data/produccion/integral/vendor/autoload_runtime.php"
}
}
}
}
|