wcbutler Posted May 3, 2023 Share Posted May 3, 2023 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 case2023-05-01T07:09:00,369 ERRORSecureExceptionHandlerImpl,JasperServerScheduler_Worker-2:125 - There wasan error on the server. Try again or contact site administrators. (ErrorUID: xxxxxxxxxxxx). 454 4.7.0 Too many loginattempts, please try again later.v189-20020xxxxxxxxx.130 - gsmtporg.springframework.mail.MailAuthenticationException: Authenticationfailed; nested exception is javax.mail.AuthenticationFailedException: 4544.7.0 Too many login attempts, please try again later.v189-20020xxxxxxxxxx - gsmtpatorg.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:440)atorg.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:361)atorg.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:356)atcom.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJobMailNotificationImpl.sendMailNotification(ReportExecutionJobMailNotificationImpl.java:141)atcom.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.sendMailNotification(ReportExecutionJob.java:746)atcom.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.executeAndSendReport(ReportExecutionJob.java:526)atcom.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.execute(ReportExecutionJob.java:219)at org.quartz.core.JobRunShell.run(JobRunShell.java:202)atorg.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)Caused by: javax.mail.AuthenticationFailedException: 454 4.7.0 Too manylogin attempts, please try again later.v189-20020xxxxxxxxxx - gsmtpatcom.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:965)atcom.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:876)atcom.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:780)at javax.mail.Service.connect(Service.java:366)atorg.springframework.mail.javamail.JavaMailSenderImpl.connectTransport(JavaMailSenderImpl.java:518)atorg.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:437)... 8 more Link to comment Share on other sites More sharing options...
anish.rai Posted May 8, 2023 Share Posted May 8, 2023 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. Link to comment Share on other sites More sharing options...
Tirupathi Mangalarapu Posted May 9, 2023 Share Posted May 9, 2023 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-many-login-attempts-please-try-again-laterThis is something that you need to play/test as I don't have the same setup on my end. Link to comment Share on other sites More sharing options...
wcbutler Posted May 16, 2023 Author Share Posted May 16, 2023 I'll research doing this, if there is an article on the SMTP pooling that would be amazing.Another idea, is it possible to resend on SMTP failure? I see a set of commented out misfire policy settings in quartz.properties Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now