Closed hatati closed 2 years ago
From the dm.log
i can see that the system has registered the recipients:
2022/03/15 12:02:07 [6021] [0x7f1a4f5d0840] Adding recipient [<Nermin.Sehovic@keylane.com>]
2022/03/15 12:02:07 [6021] [0x7f1a4f5d0840] Adding recipient [<nermin.sehovic@keylane.com>]
2022/03/15 12:02:07 [6021] [0x7f1a4f5d0840] Adding recipient [<Obex-ba@keylane.com>]
2022/03/15 12:02:07 [6021] [0x7f1a4f5d0840] Removing temporary files
In your SMTP notifier object, add /tmp/smtp.log under the Logfile entry field and re-run the deployment. The /tmp/smtp.log file in the DeployHub container should have additional error messages from the SMTP server. Send us the /tmp/smtp.log file for us to review.
Heres the log:
deployhub$ cat /tmp/smtp.log
SetSMTPServer(SMTP.schantz.com)
SetLogin(schantzsystem@schantz.com)
SetSenderMail(schantzsystem@schantz.com)
SetReplyTo(schantzsystem@schantz.com)
SetSubject(Application Obex Platform;47_1_30 has been deployed successfully)
AddMsgLine(Application Obex Platform;47_1_30 has been deployed to environment platform-dev-environment by user admin.)
Error: Server has closed the connection
Message not okay - no recipients?
SetSMTPServer(SMTP.schantz.com)
SetLogin(schantzsystem@schantz.com)
SetSenderMail(schantzsystem@schantz.com)
SetReplyTo(schantzsystem@schantz.com)
SetSubject(Application Obex Platform;47_1_30 has been deployed successfully)
AddMsgLine(Application Obex Platform;47_1_30 has been deployed to environment platform-dev-environment by user admin.)
Error: Server has closed the connection
Message not okay - no recipients?
SetSMTPServer(SMTP.schantz.com)
SetLogin(schantzsystem@schantz.com)
SetSenderMail(schantzsystem@schantz.com)
SetReplyTo(schantzsystem@schantz.com)
SetSubject(Application Obex Platform;47_1_31 has been deployed successfully)
AddMsgLine(Application Obex Platform;47_1_31 has been deployed to environment platform-dev-environment by user admin.)
Error: Server has closed the connection
Message not okay - no recipients?
SetSMTPServer(SMTP.schantz.com)
SetLogin(schantzsystem@schantz.com)
SetSenderMail(schantzsystem@schantz.com)
SetReplyTo(schantzsystem@schantz.com)
SetSubject(Application Obex Platform;47_1_32 has been deployed successfully)
AddMsgLine(Application Obex Platform;47_1_32 has been deployed to environment platform-dev-environment by user admin.)
Error: Server has closed the connection
Message not okay - no recipients?
SetSMTPServer(SMTP.schantz.com)
SetLogin(schantzsystem@schantz.com)
SetSenderMail(schantzsystem@schantz.com)
SetReplyTo(schantzsystem@schantz.com)
SetSubject(Application Obex Platform;47_1_7 has been deployed successfully)
AddMsgLine(Application Obex Platform;47_1_7 has been deployed to environment platform-dev-environment by user admin.)
Error: Server has closed the connection
Message not okay - no recipients?
SetSMTPServer(SMTP.schantz.com)
SetLogin(schantzsystem@schantz.com)
SetSenderMail(schantzsystem@schantz.com)
SetReplyTo(schantzsystem@schantz.com)
SetSubject(Application Obex Platform;47_1_8 has been deployed successfully)
AddMsgLine(Application Obex Platform;47_1_8 has been deployed to environment platform-dev-environment by user admin.)
Error: Server has closed the connection
Message not okay - no recipients?
SetSMTPServer(SMTP.schantz.com)
SetLogin(schantzsystem@schantz.com)
SetSenderMail(schantzsystem@schantz.com)
SetReplyTo(schantzsystem@schantz.com)
SetSubject(Application Obex Platform;47_1_9 has been deployed successfully)
AddMsgLine(Application Obex Platform;47_1_9 has been deployed to environment platform-dev-environment by user admin.)
Error: Server has closed the connection
Message not okay - no recipients?
SetSMTPServer(SMTP.schantz.com)
SetLogin(schantzsystem@schantz.com)
SetSenderMail(schantzsystem@schantz.com)
SetReplyTo(schantzsystem@schantz.com)
SetSubject(Application Obex Platform;47_1_10 has been deployed successfully)
AddMsgLine(Application Obex Platform;47_1_10 has been deployed to environment platform-dev-environment by user admin.)
Error: Server has closed the connection
Message not okay - no recipients?
SetSMTPServer(SMTP.schantz.com)
SetLogin(schantzsystem@schantz.com)
SetSenderMail(schantzsystem@schantz.com)
SetReplyTo(schantzsystem@schantz.com)
SetSubject(Application Obex Platform;47_1_11 has been deployed successfully)
AddMsgLine(Application Obex Platform;47_1_11 has been deployed to environment platform-dev-environment by user admin.)
Error: Server has closed the connection
Message not okay - no recipients?
SetSMTPServer(SMTP.schantz.com)
SetLogin(schantzsystem@schantz.com)
SetSenderMail(schantzsystem@schantz.com)
SetReplyTo(schantzsystem@schantz.com)
SetSubject(Application Obex Platform;47_1_15 has been deployed successfully)
AddMsgLine(Application Obex Platform;47_1_15 has been deployed to environment platform-dev-environment by user admin.)
Error: Server has closed the connection
Message not okay - no recipients?
SetSMTPServer(SMTP.schantz.com)
SetLogin(schantzsystem@schantz.com)
SetSenderMail(schantzsystem@schantz.com)
SetReplyTo(schantzsystem@schantz.com)
SetSubject(Application Obex Platform;47_1_31 has been deployed successfully)
AddMsgLine(Application Obex Platform;47_1_31 has been deployed to environment platform-dev-environment by user admin.)
Error: Server has closed the connection
Message not okay - no recipients?
SetSMTPServer(SMTP.schantz.com)
SetLogin(schantzsystem@schantz.com)
SetSenderMail(schantzsystem@schantz.com)
SetReplyTo(schantzsystem@schantz.com)
SetSubject(Application Obex Platform;47_2_5 has been deployed successfully)
AddMsgLine(Application Obex Platform;47_2_5 has been deployed to environment platform-dev-environment by user admin.)
Error: Server has closed the connection
Message not okay - no recipients?
SetSMTPServer(SMTP.schantz.com)
SetLogin(schantzsystem@schantz.com)
SetSenderMail(schantzsystem@schantz.com)
SetReplyTo(schantzsystem@schantz.com)
SetSubject(Application Obex Platform;47_2_7 has been deployed successfully)
AddMsgLine(Application Obex Platform;47_2_7 has been deployed to environment platform-dev-environment by user admin.)
Error: Server has closed the connection
Message not okay - no recipients?
Is SMTP.schantz.com using SSL? Also, which port are you using? The Error: Server has closed the connection
is happening when trying to read the response from the SMTP server. Basically, 0 bytes are being returned.
New nodes on our cluster weren't configured properly network wise and they therefore didn't have access to the SMTP server. After adjusting the network configuration it now sends mails on deploy success.
When Deployhub successfully deploys an application version it doesn't send out emails to the recipients, claiming:
The DeploySuccess notifier template does have multiple recipients attached:
Image:
quay.io/deployhub/deployhub-pro:ui-skin-v9.0.0.3271-g1077e12