SMTP sends blank password

I've configured email notifications with port 25 with a username and password. Test email sends out fine, but we do not receive any notifications. Went to check the logs, and Upsource is not sending the password for regular SMTP requests! Help?

I'm using version Build 1.2.281 [31-03-2016 18:52]

Here is the log(I replaced the values with 'obfuscated'):

java.lang.RuntimeException: Failed to send an email to obfuscated using settings:
SMTPSettings {Enabled=true, Protocol='SMTP', Host='smtp.mailgun.org', Port=25, Login='obfuscated', Password='', FromAddress='upsource@obfuscateddomain.com', LogSmtpOperations=false}
at com.jetbrains.upsource.backend.server.mail.MailSender.sendMail(MailSender.java:79)
at com.jetbrains.upsource.backend.server.mail.MailProcessor.sendToEmail(MailProcessor.java:372)
at com.jetbrains.upsource.backend.server.mail.MailProcessor.b(MailProcessor.java:465)
at com.jetbrains.upsource.backend.server.mail.MailProcessor.a(MailProcessor.java:389)
at com.jetbrains.upsource.backend.server.mail.MailProcessor.a(MailProcessor.java:444)
at java.lang.Iterable.forEach(Iterable.java:75)
at com.jetbrains.upsource.backend.server.mail.MailProcessor.a(MailProcessor.java:444)
at com.jetbrains.upsource.backend.server.mail.MailProcessor.b(MailProcessor.java:382)
at com.jetbrains.upsource.backend.server.mail.MailProcessor.a(MailProcessor.java:146)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at com.jetbrains.upsource.util.NamedDaemonThreadFactory.a(NamedDaemonThreadFactory.java:34)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.mailgun.org:25
at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1410)
at org.apache.commons.mail.Email.send(Email.java:1437)
at com.jetbrains.upsource.backend.server.mail.MailSender.sendMail(MailSender.java:76)

1 comment
Comment actions Permalink

Actually Upsource just doesn't put a password to the log file..

Are there any other warning/errors in monitoring logs?

0

Please sign in to leave a comment.