Hello,
Our users are having problems logging on to SAS FS environments from Forecast Studio 4.1. The following error/message comes up. Please let me know what this is about and how to resolve. Thank you.
com.sas.analytics.forecasting.client.api.exceptions.ForecastingException: com.sas.analytics.forecasting.util.MutatedException: (org.springframework.mail.MailSendException) Failed messages: com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.1 Client was not authenticated
at com.sas.analytics.forecasting.client.api.ForecastingSessionFactory.createForecastingSession(ForecastingSessionFactory.java:280)
at com.sas.analytics.forecasting.swing.fstudio.application.LogOn.processPackage(LogOn.java:173)
at com.sas.analytics.forecasting.swing.fstudio.application.LogOn.commit(LogOn.java:329)
at com.sas.swing.login.visual.SwingEnvironmentLogonManager$2.commit(SwingEnvironmentLogonManager.java:173)
at com.sas.swing.login.visual.SwingLogon.okButtonPressed(SwingLogon.java:842)
at com.sas.swing.login.visual.SwingLogon.access$400(SwingLogon.java:116)
at com.sas.swing.login.visual.SwingLogon$3.actionPerformed(SwingLogon.java:403)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: com.sas.analytics.forecasting.client.api.ForecastingSessionException: Unable to create Forecasting session
at com.sas.analytics.forecasting.client.api.ForecastingSessionFactory.createForecastingSession(ForecastingSessionFactory.java:234)
... 59 more
Caused by: com.sas.analytics.forecasting.client.api.ForecastingSessionException: Unable to create Forecasting session
at com.sas.analytics.forecasting.client.impl.ForecastingSessionImpl.<init>(ForecastingSessionImpl.java:217)
at com.sas.analytics.forecasting.client.api.ForecastingSessionFactory.createForecastingSession(ForecastingSessionFactory.java:232)
... 59 more
Caused by: com.sas.analytics.forecasting.util.CheckedExceptionWrapper: com.sas.analytics.forecasting.util.MutatedException: (org.springframework.mail.MailSendException) Failed messages: com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.1 Client was not authenticated
Not sure if this is the case in this situation but I've experienced similar cases where the root cause was that the Forecast Server license needed to be upgraded.
Since the metadata layer is involved, please make sure that any software update is done using the SAS Deployment Wizard.
Thanks,
Snurre
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.
Find more tutorials on the SAS Users YouTube channel.