A Scheduled Update file fails to load with an error message "X failed attempts so far, The Scheduled Updates user is not configured correctly." seen in the activity tab under Scheduling & Routing.
book
Article ID: KB0079766
calendar_today
Updated On:
Products
Versions
Spotfire Web Player
7.5 and higher
Description
A Scheduled Updates file update fails with an error message "X failed attempts so far, The Scheduled Updates user is not configured correctly." seen in the "Scheduling & Routing" > "Activity" tab. Refer below example screenshot:
Issue/Introduction
A Scheduled Update file fails to load with an error message "X failed attempts so far, The Scheduled Updates user is not configured correctly." seen in the activity tab under Scheduling & Routing.
Environment
OS: All Supported Operation System
Resolution
This error is generally returned if you run scheduled updates as a specific Windows account (using option useKerberos="true") when delegated Kerberos is enabled in the environment and the scheduled update user is not set correctly.
- On the Spotfire Server machine, launch a command prompt as an Administrator. - Browse to \tomcat\bin folder and export the Web Player Configuration using the "export-service-config" command. - Example command follows. --------- C:\tibco\tss\7.11.0\tomcat\bin>config export-service-config --deployment-area="Production" --capability=WEB_PLAYER --------- - The exported configuration files will be saved under the \tomcat\bin\config\root folder. - Open the Spotfire.Dxp.Worker.Web.config file in a text editor and update the <scheduled updates> section with the useKerberos="true" and KerberosIdentity parameters as shown below: -------------- <scheduledUpdates concurrentUpdates="2" updateIntervalSeconds="60" useKerberos="true"> <kerberosIdentity userName="domain\<service account name>" password="password" /> </scheduledUpdates> --------------- - Save the file. - Import the modified configuration using "import-service-config" command. - Enter the "config-name" value relevant to the changes made. This is the configuration that needs to be used for Web Player service. Example command follows. --------- C:\tibco\tss\7.11.0\tomcat\bin>config import-service-config --config-name="Updated usekerberos to true" --------- - Launch the Spotfire Admin UI and browse to "Nodes & Services". - Edit the Web Player Service to use to the updated configuration. - Look for the "config-name" value that you entered while importing the service configuration and update the service with configuration.
After making above changes in Spotfire.Dxp.Worker.Web.config file, ensure below mentioned points:
Provide required library permissions to this Windows account(domain\<service account name> ) as follows: - Grant Browse+ Access permissions on folder(s) where analysis file(s) are saved that needs to add in scheduled update. - Grant permission to access folder(s) that saved information link(s) for these analysis file(s). - Grant permission to access folder(s) that saved Data source(s) for these analysis file(s).