Peux tu détailler les étapes que tu as faite pour avoir ce message d’erreur ? Je n’arrive pas à reproduire ton erreur
Oups erreur de copier coller :
May 10 20:23:27 php8.4[486796]: {"message":"User Deprecated: Not enabling raw field value access for the Criteria matching API in Doctrine\\Common\\Collections\\Criteria is deprecated. Raw field access will be the only supported method in 3.0 (Criteria.php:76 called by Ticket.php:444, https://github.com/doctrine/collections/pull/472, package doctrine/collections)","context":{"exception":{"class":"ErrorException","message":"User Deprecated: Not enabling raw field value access for the Criteria matching API in Doctrine\\Common\\Collections\\Criteria is deprecated. Raw field access will be the only supported method in 3.0 (Criteria.php:76 called by Ticket.php:444, https://github.com/doctrine/collections/pull/472, package doctrine/collections)","code":0,"file":"/var/www/bileto/vendor/doctrine/deprecations/src/Deprecation.php:208"}},"level":200,"level_name":"INFO","channel":"deprecation","datetime":"2026-05-10T20:23:27.450130+00:00","extra":{}}
May 10 20:23:27 php8.4[486796]: 20:23:27 WARNING [messenger] Error thrown while handling message App\Message\SendMessageEmail. Sending for retry #1 using 913 ms delay. Error: "Handling "App\Message\SendMessageEmail" failed: Unable to connect with STARTTLS: stream_socket_enable_crypto(): Peer certificate CN=`dupn.fr' did not match expected CN=`localhost'" ["class" => "App\Message\SendMessageEmail","message_id" => 98,"retryCount" => 1,"delay" => 913,"error" => "Handling "App\Message\SendMessageEmail" failed: Unable to connect with STARTTLS: stream_socket_enable_crypto(): Peer certificate CN=`dupn.fr' did not match expected CN=`localhost'","exception" => Symfony\Component\Messenger\Exception\HandlerFailedException { …}]
May 10 20:23:27 php8.4[486796]: 20:23:27 WARNING [messenger] Error thrown while handling message App\Message\SendMessageEmail. Sending for retry #2 using 2036 ms delay. Error: "Handling "App\Message\SendMessageEmail" failed: Unable to connect with STARTTLS: stream_socket_enable_crypto(): Peer certificate CN=`dupn.fr' did not match expected CN=`localhost'" ["class" => "App\Message\SendMessageEmail","message_id" => 99,"retryCount" => 2,"delay" => 2036,"error" => "Handling "App\Message\SendMessageEmail" failed: Unable to connect with STARTTLS: stream_socket_enable_crypto(): Peer certificate CN=`dupn.fr' did not match expected CN=`localhost'","exception" => Symfony\Component\Messenger\Exception\HandlerFailedException { …}]
May 10 20:23:29 php8.4[486796]: 20:23:29 WARNING [messenger] Error thrown while handling message App\Message\SendMessageEmail. Sending for retry #3 using 4177 ms delay. Error: "Handling "App\Message\SendMessageEmail" failed: Unable to connect with STARTTLS: stream_socket_enable_crypto(): Peer certificate CN=`dupn.fr' did not match expected CN=`localhost'" ["class" => "App\Message\SendMessageEmail","message_id" => 100,"retryCount" => 3,"delay" => 4177,"error" => "Handling "App\Message\SendMessageEmail" failed: Unable to connect with STARTTLS: stream_socket_enable_crypto(): Peer certificate CN=`dupn.fr' did not match expected CN=`localhost'","exception" => Symfony\Component\Messenger\Exception\HandlerFailedException { …}]
May 10 20:23:33 php8.4[486796]: {"message":"Received message App\\Message\\SendMessageEmail","context":{"class":"App\\Message\\SendMessageEmail"},"level":200,"level_name":"INFO","channel":"messenger","datetime":"2026-05-10T20:23:33.759623+00:00","extra":{}}
May 10 20:23:33 php8.4[486796]: {"message":"Email transport \"Symfony\\Component\\Mailer\\Transport\\Smtp\\SmtpTransport\" starting","context":{},"level":100,"level_name":"DEBUG","channel":"mailer","datetime":"2026-05-10T20:23:33.765494+00:00","extra":{}}
May 10 20:23:33 php8.4[486796]: {"message":"Error thrown while handling message App\\Message\\SendMessageEmail. Removing from transport after 3 retries. Error: \"Handling \"App\\Message\\SendMessageEmail\" failed: Unable to connect with STARTTLS: stream_socket_enable_crypto(): Peer certificate CN=`dupn.fr' did not match expected CN=`localhost'\"","context":{"class":"App\\Message\\SendMessageEmail","message_id":101,"retryCount":3,"error":"Handling \"App\\Message\\SendMessageEmail\" failed: Unable to connect with STARTTLS: stream_socket_enable_crypto(): Peer certificate CN=`dupn.fr' did not match expected CN=`localhost'","exception":{"class":"Symfony\\Component\\Messenger\\Exception\\HandlerFailedException","message":"Handling \"App\\Message\\SendMessageEmail\" failed: Unable to connect with STARTTLS: stream_socket_enable_crypto(): Peer certificate CN=`dupn.fr' did not match expected CN=`localhost'","code":0,"file":"/var/www/bileto/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php:124","previous":{"class":"Symfony\\Component\\Mailer\\Exception\\TransportException","message":"Unable to connect with STARTTLS: stream_socket_enable_crypto(): Peer certificate CN=`dupn.fr' did not match expected CN=`localhost'","code":0,"file":"/var/www/bileto/vendor/symfony/mailer/Transport/Smtp/Stream/SocketStream.php:171"}}},"level":500,"level_name":"CRITICAL","channel":"messenger","datetime":"2026-05-10T20:23:33.814391+00:00","extra":{}}
May 10 20:23:33 php8.4[486796]: 20:23:33 CRITICAL [messenger] Error thrown while handling message App\Message\SendMessageEmail. Removing from transport after 3 retries. Error: "Handling "App\Message\SendMessageEmail" failed: Unable to connect with STARTTLS: stream_socket_enable_crypto(): Peer certificate CN=`dupn.fr' did not match expected CN=`localhost'" ["class" => "App\Message\SendMessageEmail","message_id" => 101,"retryCount" => 3,"error" => "Handling "App\Message\SendMessageEmail" failed: Unable to connect with STARTTLS: stream_socket_enable_crypto(): Peer certificate CN=`dupn.fr' did not match expected CN=`localhost'","exception" => Symfony\Component\Messenger\Exception\HandlerFailedException { …}]
Peux-tu remontrer ton fichier .env, avec les variables MAILER_DSN et MAILER_FROM ?
En fait, le fichier “.env” ne doit pas être modifié.
Le fichier contenant les variables est “.env.local”.
J’ai déjà poussé une mise à jour pour l’application
Bonjour,
Voici les variables :
Est-que je peux envisager une désinstallation et réinstaller l’application ?
Merci à vous 2 pour votre aide
C’est le .env correspondant à ta configuration qu’il faudrait. Sinon, oui, autant réinstaller si tu n’as pas encore de données.
J’ai réinstaller mais j’ai une nouvelle erreur :
May 13 18:59:56 php8.4[677748]: {"message":"User Deprecated: Not enabling raw field value access for the Criteria matching API in Doctrine\\Common\\Collections\\Criteria is deprecated. Raw field access will be the only supported method in 3.0 (Criteria.php:76 called by Ticket.php:444, https://github.com/doctrine/collections/pull/472, package doctrine/collections)","context":{"exception":{"class":"ErrorException","message":"User Deprecated: Not enabling raw field value access for the Criteria matching API in Doctrine\\Common\\Collections\\Criteria is deprecated. Raw field access will be the only supported method in 3.0 (Criteria.php:76 called by Ticket.php:444, https://github.com/doctrine/collections/pull/472, package doctrine/collections)","code":0,"file":"/var/www/bileto/vendor/doctrine/deprecations/src/Deprecation.php:208"}},"level":200,"level_name":"INFO","channel":"deprecation","datetime":"2026-05-13T18:59:56.252850+00:00","ext
J’ai un décalage horaire d’une heure dans les logs 18h59 mais c’est 19h59
Je suppose un problème de fuseau horaire….
C’est un warning, rien de grave.
Mais est ce que ton problème d’envoi mail est résolu ?
Je reçois le mail via un autre nom de domaine mais je reçois rien avec gmail rien dans le spam ni dans la boite de réception.
Peux-tu regarder la sortie de mailq ?
Voici le retour de la commande : Mail queue is empty
et toujours rien reçu sur Gmail
C’est un problème de configuration de ton serveur.
Vérifie ce que dit le diagnostic et vérifie ton serveur mail avec mailtester.
Je marque comme résolu parce que le problème initial est bien résolu.
Il serait mieux d’ouvrir un nouveau post pour le problème de réception
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
