Hello all, long time Jaspersoft Studio/server user for my job.
My boss has a big push to have reports sent to all liaisons on my campus. As we have stacked up a lot of emails on 7am and 8am on the first of the month we are hitting the Google SMTP relay with a ton of auth requests and losing reports.
The team handling the gsuite said we can pay for an alt SMTP process that costs per email. Obviously I could also set up multiple Jasper servers or stagger the delivery time.
Is there any way I can have the server auth once for SMTP delivery for a stack of emails?
I'm on Server 8.0.0,
Here is the error, I sanitized some GUIDS just in case
2023-05-01T07:09:00,369 ERROR
SecureExceptionHandlerImpl,JasperServerScheduler_Worker-2:125 - There was
an error on the server. Try again or contact site administrators. (Error
UID: xxxxxxxxxxxx). 454 4.7.0 Too many login
attempts, please try again later.
v189-20020xxxxxxxxx.130 - gsmtp
org.springframework.mail.MailAuthenticationException: Authentication
failed; nested exception is javax.mail.AuthenticationFailedException: 454
4.7.0 Too many login attempts, please try again later.
v189-20020xxxxxxxxxx - gsmtp
at
org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:440)
at
org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:361)
at
org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:356)
at
com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJobMailNotificationImpl.sendMailNotification(ReportExecutionJobMailNotificationImpl.java:141)
at
com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.sendMailNotification(ReportExecutionJob.java:746)
at
com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.executeAndSendReport(ReportExecutionJob.java:526)
at
com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.execute(ReportExecutionJob.java:219)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by: javax.mail.AuthenticationFailedException: 454 4.7.0 Too many
login attempts, please try again later.
v189-20020xxxxxxxxxx - gsmtp
at
com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:965)
at
com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:876)
at
com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:780)
at javax.mail.Service.connect(Service.java:366)
at
org.springframework.mail.javamail.JavaMailSenderImpl.connectTransport(JavaMailSenderImpl.java:518)
at
org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:437)
... 8 more
2 Answers:
Can you try setting up the SMTP Pooling mechanism? or try other suggestions in the link posted below:
https://stackoverflow.com/questions/40550149/smtp-error-454-4-7-0-too-ma...
This is something that you need to play/test as I don't have the same setup on my end.
Thank you for posting to the Jaspersoft Community. Our team of experts has read your question and we are working to get you an answer as quickly as we can. If you have a Jaspersoft Professional Subscription plan, please visit https://support.tibco.com/s/ for direct access to our technical support teams offering guaranteed response times.